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: support "size" in eth_getBlockBy* #1542

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

morph-dev
Copy link
Collaborator

@morph-dev morph-dev commented Oct 20, 2024

What was wrong?

The eth_getBlockBy* JSON rpc calls didn't return size field.

How was it fixed?

The #1541 added support for calculating size field easily, so we are using it here.

Tested it locally by trying dozens of blocks (both recent and pre-merge) and comparing size field with the ones returned by: https://sandbox.alchemy.com/?method=eth_getBlockByNumber

To-Do

@morph-dev morph-dev self-assigned this Oct 20, 2024
Copy link
Member

@KolbyML KolbyML left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Collaborator

@carver carver left a comment

Choose a reason for hiding this comment

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

🚢

@morph-dev morph-dev merged commit 68ac212 into ethereum:master Oct 21, 2024
9 checks passed
@morph-dev morph-dev deleted the block_size branch October 21, 2024 08:20
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.

3 participants