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

feat!: params.RulesHooks.CanExecuteTransaction() receives EIP-2930 access list #5

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Sep 9, 2024

Why this should be merged

Adds support for predicate validation.

How this works

The CanExecuteTransaction hook is updated to accept an access list. This necessitated the introduction of libevm.AccessList and libevm.AccessTuple mirrors of the geth equivalents in core/types; a type-conversion package is therefore included too.

How this was tested

The existing integration test was updated to demonstrate plumbing of the AccessList.

@ARR4N ARR4N added the DO NOT MERGE This PR is not meant to be merged in its current state label Sep 9, 2024
@ARR4N ARR4N removed the DO NOT MERGE This PR is not meant to be merged in its current state label Sep 9, 2024
@ARR4N ARR4N marked this pull request as ready for review September 9, 2024 15:39
Base automatically changed from arr4n/libevm-stateful-precompiles to arr4n/libevm September 10, 2024 16:03
@ARR4N ARR4N marked this pull request as draft September 10, 2024 17:56
Base automatically changed from arr4n/libevm to libevm September 10, 2024 18:20
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