Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Sep 18, 2024

Why this should be merged

Makes params.ChainConfig available to a stateful precompile.

How this works

New method on PrecompileEnvironment, following the same approach as plumbing other values.

How this was tested

Confirm plumbing of ChainID through existing integration test. To allow this, a new ethtest.EVMOption is added to allow setting of the ChainConfig.

@ARR4N ARR4N merged commit 81e109a into libevm Sep 18, 2024
3 checks passed
@ARR4N ARR4N deleted the arr4n/precompile-environment-chainconfig branch September 18, 2024 16:29
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.

2 participants