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

Should getBlockByNumber error on missing required fields? #171

Open
fgribben opened this issue Oct 13, 2022 · 1 comment
Open

Should getBlockByNumber error on missing required fields? #171

fgribben opened this issue Oct 13, 2022 · 1 comment

Comments

@fgribben
Copy link

fgribben commented Oct 13, 2022

Right now if I use the Arbitrum geth client to fetch a block, for certain blocks, I get this error:

missing required field 'EffectiveGasPrice' in transaction

The error seems to be coming from this line: https://github.com/OffchainLabs/go-ethereum/blob/master/core/types/transaction_marshalling.go#L408

I think this behaviour is a little surprising; why isn't EffectiveGasPrice allowed to be nil? Especially when the non-nil requirement is preventing me from fetching certain blocks, e.g. block 22207815?

Copy link

stale bot commented Feb 10, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant