We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
op-geth version 1.101308.2-stable-0402d543
The response to eth_getBlockReceipts and eth_getTransactionReceipt should be identical regardless of sync method.
eth_getBlockReceipts
eth_getTransactionReceipt
Snap sync nodes return null for l1 data and are missing the field l1FeeScalar entirely for historical blocks
null
l1FeeScalar
Query:
{"jsonrpc":"2.0","id":1,"method":"eth_getBlockReceipts","params":["0x1234"]}
Result:
❯ diff <(jq --sort-keys . ~/tmp/snap.json) <(jq --sort-keys . ~/tmp/full.json) 13,15c13,16 < "l1Fee": null, < "l1GasPrice": null, < "l1GasUsed": null, --- > "l1Fee": "0x4d0d1b312dc7a", > "l1FeeScalar": "1.5", > "l1GasPrice": "0x2b61b593ee", > "l1GasUsed": "0x12f2",
So the full sync full nodes have l1Fee and l1Gas data, but the snap sync node does not.
relevant op-geth flags:
--op-network=op-mainnet --state.scheme=path --history.transactions=0 --syncmode=snap --gcmode=full
The text was updated successfully, but these errors were encountered:
No branches or pull requests
System information
op-geth version 1.101308.2-stable-0402d543
Expected behaviour
The response to
eth_getBlockReceipts
andeth_getTransactionReceipt
should be identical regardless of sync method.Actual behaviour
Snap sync nodes return
null
for l1 data and are missing the fieldl1FeeScalar
entirely for historical blocksSteps to reproduce the behaviour
Query:
Result:
So the full sync full nodes have l1Fee and l1Gas data, but the snap sync node does not.
relevant op-geth flags:
The text was updated successfully, but these errors were encountered: