-
Notifications
You must be signed in to change notification settings - Fork 555
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
refactor: replace AccessList with alloy version #1552
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Failed tests not related to this PR |
The replaces the custom
AccessListItem
definition with thealloy
version. The alloy version uses aB256
instead of aU256
, which is conform the Ethereum spec.This avoids type conversions from when interacting with revm, where currently
B256
storage indices need to be converted toU256
values using big-Endian conversion.I think it's worth considering changing the account storage to match this.