chore: update reth to 1.6.0 #682
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Summary
Updated reth latest stable v1.6.0 and fixed all compilation issues arising from the migration. I build it on top of my other PR #681.
alloy-primitives
, with 1.4.2 it seems to break#[allow(clippy::large_enum_variant)]
attributes instead of boxing. Can not tell if it give a performance advantage but did not liked to make the PR to large by introduce box everywhere.U256
format (did not included the migration script cause it is a one off task)imports_granularity
cause it is only available in nightly, andmake lint
would fail.💡 Motivation and Context
Stay current with the latest reth improvements and I decided to migrate the test files for
eth-sparse-mpt
to not have some custom deserialization. I took some inspiration for the migration from reth for handling the nibbles correct. Maybe there is some more room to tweak things with more inline, etc.The nibbles format changed (when serialized to json):
There is also a cool talk about Nibbles here: https://youtu.be/LOxkZcASH0s?t=2447
✅ I have completed the following steps:
make lint
make test