mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-26 07:38:59 -05:00
fix: add missing historical RPC endpoints for Optimism pre-bedrock (#16976)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -114,10 +114,12 @@ where
|
||||
parse_block_id_from_params(&req.params(), 0)
|
||||
}
|
||||
"eth_getBalance" |
|
||||
"eth_getStorageAt" |
|
||||
"eth_getCode" |
|
||||
"eth_getTransactionCount" |
|
||||
"eth_call" => parse_block_id_from_params(&req.params(), 1),
|
||||
"eth_call" |
|
||||
"eth_estimateGas" |
|
||||
"eth_createAccessList" => parse_block_id_from_params(&req.params(), 1),
|
||||
"eth_getStorageAt" | "eth_getProof" => parse_block_id_from_params(&req.params(), 2),
|
||||
_ => None,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user