op-reth outputs bad data for "eth_getTransactionByBlockHashAndIndex" method #10463
Labels
A-op-reth
Related to Optimism and op-reth
C-bug
An unexpected or incorrect behavior
S-needs-design
This issue requires design work to think about how it would best be accomplished
Describe the bug
I've been testing the op-reth client on base mainnet and found a big difference when comparing the results from the node running on op-reth to the ones from a node running op-geth.
for simplicity, the main differences are for the following params:
nonce
- differint values and for the following params they are existent in one response and nonexistent in the othergasPrice/yParity/isSystemTx/mint/depositReceiptVersion
Steps to reproduce
payload for that request:
{ "jsonrpc":"2.0", "method":"eth_getTransactionByBlockHashAndIndex", "params": "0xa7f29213cecdb3d3f2f861d02156c128724f96f4b7a0c32fee15584325184301", "0x0"], "id":1}
op-reth service file flags/description:
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=/node/data/secret.jwt \ --authrpc.port=8551 \ --datadir=/node/data/reth/ \ --rollup.sequencer-http=https://mainnet-sequencer.base.org \ --http.api=admin,debug,eth,net,trace,web3,rpc,reth,ots,eth-call-bundle \ --ws.api=admin,debug,eth,net,trace,web3,rpc,reth,ots,eth-call-bundle \ --metrics 0.0.0.0:6060 \ --chain base \ --rpc.gascap 18446744073709551615 \ --rpc.max-connections 429496729 \ --rpc.max-logs-per-response 0 \ --rpc.max-subscriptions-per-connection 10000 \ --rollup.disable-tx-pool-gossip
Node logs
Platform(s)
Linux (x86)
What version/commit are you on?
op-reth --version reth Version: 1.0.3 Commit SHA: 390f30a Build Timestamp: 2024-08-05T23:59:17.371843433Z Build Features: jemalloc,optimism Build Profile: maxperf
What database version are you on?
op-reth db version
2024-08-22T18:23:51.766359Z INFO Initialized tracing, debug log directory: /root/.cache/reth/logs/optimism
Error: Datadir does not exist: "/root/.local/share/reth/optimism"
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
source "$HOME/.cargo/env" && RUSTFLAGS="-C target-cpu=native" cargo build --profile maxperf --features jemalloc,asm-keccak,optimism --bin op-reth
Code of Conduct
The text was updated successfully, but these errors were encountered: