refactor: replace AccessList with alloy version#1552
Conversation
mattsse
left a comment
There was a problem hiding this comment.
this would be great and would get rid of a bunch of allocs in reth
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
DaniPopes
left a comment
There was a problem hiding this comment.
Thanks, we resolved our disputes internally and decided to include this, one last nit for the test changes
I see your point w.r.t the SLOAD/SSTORE instructions popping a
I'm also happy to move the The intent of this PR is to avoid the conversion Especially in combination with the Instead we can directly use Please let me know which changes are reasonable to get this PR across the finish line - if at all possible. |
Perfect. That voids the need for my previous message 😁 |
This reverts commit bb0a121.
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
|
I am still of the stance that AccessList should be inside this repo, and But having it in one or other repo is a maintenance problem, the user problem is having two different types and is something that would be good to solve. As I said internally I am okay to step back and include alloy/eips. |
|
Failed tests not related to this PR |
The replaces the custom
AccessListItemdefinition with thealloyversion. The alloy version uses aB256instead of aU256, which is conform the Ethereum spec.This avoids type conversions from when interacting with revm, where currently
B256storage indices need to be converted toU256values using big-Endian conversion.I think it's worth considering changing the account storage to match this.