From 88f5c30bbb162e9519617c4e4a968aad9ea509c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Garamv=C3=B6lgyi?= Date: Wed, 10 Sep 2025 19:29:01 +0200 Subject: [PATCH] feat: return 0 gas price --- src/proxy/server.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/proxy/server.rs b/src/proxy/server.rs index 89457b7..ce7ccb0 100644 --- a/src/proxy/server.rs +++ b/src/proxy/server.rs @@ -227,11 +227,11 @@ impl EthRpcProxyServer for RpcProxyImpl { } async fn gas_price(&self, _ext: &Extensions) -> RpcResult { - proxy_call!(self.client, gas_price) + Ok(U256::ZERO) // gas is free } async fn max_priority_fee_per_gas(&self, _ext: &Extensions) -> RpcResult { - proxy_call!(self.client, max_priority_fee_per_gas) + Ok(U256::ZERO) // gas is free } async fn fee_history(