Return exact gasUsed for eth_createAccessList #10416
Labels
A-rpc
Related to the RPC implementation
C-bug
An unexpected or incorrect behavior
D-good-first-issue
Nice and easy! A great choice to get started
Describe the feature
currently we're failing eth_getTransactionReceipt/get-access-list:
https://hivetests2.ethdevops.io/suite.html?suiteid=1724234283-97d383360f6fb3acb2dcc0e447b02aca.json&suitename=rpc-compat#test-22
due to a gasUsed mismatch
the issue is likely this estimate call:
reth/crates/rpc/rpc-eth-api/src/helpers/call.rs
Lines 283 to 284 in 1f5fb90
which isn't
gasUsed
but estimatesgas
TODO
accessList
of the txEnv after tracing, similar to:reth/crates/rpc/rpc-eth-api/src/helpers/call.rs
Line 262 in 1f5fb90
but with
self.transact
after settingenv.txEnv.accessList
Additional context
No response
The text was updated successfully, but these errors were encountered: