chore: use a newer reth
patch from sp1-patches
#32
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.
Currently, RSP uses a bunch of patches for
reth
,revm
, andalloy
crates, making it difficult to use latest bug fixes and improvements from upstreams.This PR uses a new (minimal) patch for
reth
living undersp1-patches
based on a more recent base commit. It also gets to eliminate the need forrevm
andalloy
patches completely. Hopefully the remaining patches forreth
will be upstreamed soon so that this fork can be removed too.In terms of performance, unfortunately, when tested against block
20600000
for 5 runs, this PR increases cycle count from762,127,033
on currentmain
(a43182d) to763,527,496
, for around 1.4M cycles, or 0.18%. The increase is insignificant but also not negligible.