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

feat(anvil): pretty print withdrawalsRoot #5145

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

Evalir
Copy link
Member

@Evalir Evalir commented Jun 12, 2023

Closes #5142.

withdrawalsRoot was missing from the pretty print formatting.

@Evalir Evalir requested a review from mattsse June 12, 2023 17:22
Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@mattsse mattsse merged commit 19881cf into master Jun 12, 2023
@mattsse mattsse deleted the evalir/add-withdrawalsRoot branch June 12, 2023 17:54
@jonwalch
Copy link

jonwalch commented Jul 4, 2023

did this fix the issue? I just pulled the latest version of foundry but I dont see withdrawalsRoot when I call:

cast rpc eth_getBlockByNumber $BLOCK_NUMBER false --rpc-url http://localhost:8545

It does show up for mainnet

@Evalir
Copy link
Member Author

Evalir commented Jul 4, 2023

It did—it's just not always set as the local chain won't have a withdrawals root set.

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

Successfully merging this pull request may close these issues.

anvil: no withdrawalsRoot returned in block data
3 participants