chain id needs to be a U64 so it turns to hex

This commit is contained in:
Bryan Stitt 2022-12-15 14:20:58 -08:00
parent c49782a6ba
commit 1d438527e6

@ -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)