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

Correct the shortcut for ommershash verification post Shanghai #1756

Merged
merged 2 commits into from
Sep 18, 2023

Conversation

kdeme
Copy link
Contributor

@kdeme kdeme commented Sep 18, 2023

There was a faulty length check being done in the assumption that the uncles field was already the list. However it is still the RLP encoded data at that point, hence we check directly for the RLP encoded value for empty list.

@kdeme kdeme force-pushed the fix-uncles-check-post-shanghai branch from 8d8b43c to e4f59fb Compare September 18, 2023 09:27
There was a faulty length check being done in the assumption that
the uncles field was already the list. However it is still the
RLP encoded data at that point, hence we check directly for the
RLP encoded value for empty list.
@kdeme kdeme force-pushed the fix-uncles-check-post-shanghai branch from e4f59fb to be2b1e0 Compare September 18, 2023 10:01
And print out the hashes in txs root and withdrawal root
verification
@kdeme kdeme merged commit 18b3ff3 into master Sep 18, 2023
1 of 8 checks passed
@kdeme kdeme deleted the fix-uncles-check-post-shanghai branch September 18, 2023 12:50
@kdeme
Copy link
Contributor Author

kdeme commented Sep 18, 2023

Merging this without CI as the CI issues are unrelated and this changes has been tested well locally + in portal-hive.
Need this change on the fluffy fleet.

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.

1 participant