Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth_getTransactionReceipt discrepancy in l1 fields b/t reth and base geth #14214

Open
1 task done
kunal365roy opened this issue Feb 4, 2025 · 2 comments
Open
1 task done
Assignees
Labels
A-op-reth Related to Optimism and op-reth A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior
Milestone

Comments

@kunal365roy
Copy link

Describe the bug

Different values in transactionreceipt for l1GasUsed and l1Fee values used between op- base node (ghcr.io/base-org/node:v0.11.1) and op-reth (v1.1.5)

Steps to reproduce

Replay the request to find the two responses here.

{
"networkName": "BASE_MAINNET",
"appId": 0,
"request": "{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x6495a6de9399d2c54a33e3aa7438651c9c891c3d9e738b0e0ad3aca5ac6b213e"],"id":23}",
"responses": [
shadow_reth: {"jsonrpc":"2.0","id":23,"result":{"type":"0x2","status":"0x1","cumulativeGasUsed":"0x19bad7d","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactionHash":"0x6495a6de9399d2c54a33e3aa7438651c9c891c3d9e738b0e0ad3aca5ac6b213e","transactionIndex":"0xaf","blockHash":"0x720d9d9af2f961a4705c671ed8087953b05605fcf72a0bfe204d6dfa4e4fd1c9","blockNumber":"0x163e78b","gasUsed":"0x5208","effectiveGasPrice":"0x4bc772b","from":"0x863337528d0e51f0d607b11a5288df1c4ea29e1f","to":"0x7e9c4c37f4290f07fb99575d9ccad770f07a97c6","contractAddress":null,"l1GasPrice":"0x8fe186bf4","l1GasUsed":"0x720","l1Fee":"0x253794b7b8","l1FeeScalar":"0.002269","l1BaseFeeScalar":"0x8dd","l1BlobBaseFee":"0xcaa0f9d0","l1BlobBaseFeeScalar":"0x101c12"}}],"singleResponse":{"jsonrpc":"2.0","id":23,"result":{"type":"0x2","status":"0x1","cumulativeGasUsed":"0x19bad7d","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","transactionHash":"0x6495a6de9399d2c54a33e3aa7438651c9c891c3d9e738b0e0ad3aca5ac6b213e","transactionIndex":"0xaf","blockHash":"0x720d9d9af2f961a4705c671ed8087953b05605fcf72a0bfe204d6dfa4e4fd1c9","blockNumber":"0x163e78b","gasUsed":"0x5208","effectiveGasPrice":"0x4bc772b","from":"0x863337528d0e51f0d607b11a5288df1c4ea29e1f","to":"0x7e9c4c37f4290f07fb99575d9ccad770f07a97c6","contractAddress":null,"l1GasPrice":"0x8fe186bf4","l1GasUsed":"0x720","l1Fee":"0x253794b7b8","l1FeeScalar":"0.002269","l1BaseFeeScalar":"0x8dd","l1BlobBaseFee":"0xcaa0f9d0","l1BlobBaseFeeScalar":"0x101c12"}}",

  control: {"jsonrpc":"2.0","id":23,"result":{"blockHash":"0x720d9d9af2f961a4705c671ed8087953b05605fcf72a0bfe204d6dfa4e4fd1c9","blockNumber":"0x163e78b","contractAddress":null,"cumulativeGasUsed":"0x19bad7d","effectiveGasPrice":"0x4bc772b","from":"0x863337528d0e51f0d607b11a5288df1c4ea29e1f","gasUsed":"0x5208","l1BaseFeeScalar":"0x8dd","l1BlobBaseFee":"0xcaa0f9d0","l1BlobBaseFeeScalar":"0x101c12","l1Fee":"0x74364e9dbb","l1GasPrice":"0x8fe186bf4","l1GasUsed":"0x640","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x7e9c4c37f4290f07fb99575d9ccad770f07a97c6","transactionHash":"0x6495a6de9399d2c54a33e3aa7438651c9c891c3d9e738b0e0ad3aca5ac6b213e","transactionIndex":"0xaf","type":"0x2"}}],"singleResponse":{"jsonrpc":"2.0","id":23,"result":{"blockHash":"0x720d9d9af2f961a4705c671ed8087953b05605fcf72a0bfe204d6dfa4e4fd1c9","blockNumber":"0x163e78b","contractAddress":null,"cumulativeGasUsed":"0x19bad7d","effectiveGasPrice":"0x4bc772b","from":"0x863337528d0e51f0d607b11a5288df1c4ea29e1f","gasUsed":"0x5208","l1BaseFeeScalar":"0x8dd","l1BlobBaseFee":"0xcaa0f9d0","l1BlobBaseFeeScalar":"0x101c12","l1Fee":"0x74364e9dbb","l1GasPrice":"0x8fe186bf4","l1GasUsed":"0x640","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x7e9c4c37f4290f07fb99575d9ccad770f07a97c6","transactionHash":"0x6495a6de9399d2c54a33e3aa7438651c9c891c3d9e738b0e0ad3aca5ac6b213e","transactionIndex":"0xaf","type":"0x2"}}"
]

}

Node logs


Platform(s)

Linux (x86)

Container Type

Not running in a container

What version/commit are you on?

v1.1.5

What database version are you on?

N/A can provide upon further request

Which chain / network are you on?

Base Mainnet

What type of node are you running?

Archive (default)

What prune config do you use, if any?

No response

If you've built Reth from source, provide the full command you used

ExecStart=/usr/local/bin/op-reth node \ --ws --ws.port=8546 --ws.addr=0.0.0.0 --ws.origins="" \ --http --http.port=8545 --http.addr=0.0.0.0 \ --http.corsdomain="" \ --authrpc.addr=0.0.0.0 \ --authrpc.jwtsecret=/data/secret.jwt \ --authrpc.port=8551 \ --datadir=/data/ \ --rollup.sequencer-http=https://mainnet-sequencer.base.org \ --http.api=admin,debug,eth,net,trace,web3,rpc,reth,ots,txpool \ --ws.api=admin,debug,eth,net,trace,web3,rpc,reth,ots,txpool \ --metrics 0.0.0.0:6060 \ --chain base \ --rpc.gascap=1100000000 \ --rpc.max-connections 429496729 \ --rpc.max-logs-per-response 0 \ --rpc.max-subscriptions-per-connection 10000 \ --rollup.disable-tx-pool-gossip \ --rpc.eth-proof-window=100000

Code of Conduct

  • I agree to follow the Code of Conduct
@kunal365roy kunal365roy added C-bug An unexpected or incorrect behavior S-needs-triage This issue needs to be labelled labels Feb 4, 2025
@mattsse
Copy link
Collaborator

mattsse commented Feb 4, 2025

these fields are driving me insane 🙃

@mattsse mattsse self-assigned this Feb 4, 2025
@mattsse mattsse added A-rpc Related to the RPC implementation A-op-reth Related to Optimism and op-reth and removed S-needs-triage This issue needs to be labelled labels Feb 4, 2025
@mattsse
Copy link
Collaborator

mattsse commented Feb 4, 2025

can you elaborate on what these control responses are, why are there two, what's the difference

@mattsse mattsse added this to the Release 1.2.0 milestone Feb 5, 2025
@mattsse mattsse moved this from Todo to In Progress in Reth Tracker Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-op-reth Related to Optimism and op-reth A-rpc Related to the RPC implementation C-bug An unexpected or incorrect behavior
Projects
Status: In Progress
Development

No branches or pull requests

2 participants