From 1d438527e6a7513e61d93b9d477211472f79d256 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 15 Dec 2022 14:20:58 -0800 Subject: [PATCH] chain id needs to be a U64 so it turns to hex --- web3_proxy/src/app/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/app/mod.rs b/web3_proxy/src/app/mod.rs index 0ccb7e67..528d4376 100644 --- a/web3_proxy/src/app/mod.rs +++ b/web3_proxy/src/app/mod.rs @@ -804,7 +804,7 @@ impl Web3ProxyApp { } } "eth_chainId" => { - json!(self.config.chain_id) + json!(U64::from(self.config.chain_id)) } // TODO: eth_callBundle (https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint#eth_callbundle) // TODO: eth_cancelPrivateTransaction (https://docs.flashbots.net/flashbots-auction/searchers/advanced/rpc-endpoint#eth_cancelprivatetransaction, but maybe just reject)