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: move next block cfg and env to configureevm #10962

Merged
merged 1 commit into from
Sep 17, 2024

Conversation

mattsse
Copy link
Collaborator

@mattsse mattsse commented Sep 17, 2024

closes #10950

this moves next block cfg handling to configureevm trait.

because the parent header is not enough to configure the block env, this requires a helper type that contains attributes that the CL provides.

for OP, I think we could extract the impl of fn next_cfg_and_block_env so it becomes reusable for other configure evm impls (alphabet) but defer to @onbjerg here

@github-actions github-actions bot added A-block-building Related to block building C-enhancement New feature or request labels Sep 17, 2024
@mattsse mattsse added A-execution Related to the Execution and EVM and removed C-enhancement New feature or request A-block-building Related to block building labels Sep 17, 2024
Copy link
Member

@onbjerg onbjerg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@onbjerg onbjerg added this pull request to the merge queue Sep 17, 2024
Merged via the queue into main with commit cd10cbf Sep 17, 2024
37 checks passed
@onbjerg onbjerg deleted the matt/add-next-cfg-block-env branch September 17, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-execution Related to the Execution and EVM
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add helper function to ConfigureEvmEnv for the next block
2 participants