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

fix(executor): Removes EIP-7002 and EIP-7251 Pre-block Calls #990

Merged
merged 1 commit into from
Feb 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 1 addition & 20 deletions crates/executor/src/executor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use crate::{
errors::TrieDBError,
syscalls::{
ensure_create2_deployer_canyon, pre_block_beacon_root_contract_call,
pre_block_block_hash_contract_call, pre_block_consolidation_requests_contract_call,
pre_block_withdrawals_request_contract_call,
pre_block_block_hash_contract_call,
},
ExecutorError, ExecutorResult, TrieDBProvider,
};
Expand Down Expand Up @@ -164,24 +163,6 @@ where
&payload,
)?;

// Apply the pre-block EIP-7002 contract call.
pre_block_withdrawals_request_contract_call(
&mut state,
self.config,
&initialized_cfg,
&initialized_block_env,
&payload,
)?;

// Apply the pre-block EIP-7251 contract call.
pre_block_consolidation_requests_contract_call(
&mut state,
self.config,
&initialized_cfg,
&initialized_block_env,
&payload,
)?;

// Ensure that the create2 contract is deployed upon transition to the Canyon hardfork.
ensure_create2_deployer_canyon(
&mut state,
Expand Down
92 changes: 0 additions & 92 deletions crates/executor/src/syscalls/eip7002.rs

This file was deleted.

91 changes: 0 additions & 91 deletions crates/executor/src/syscalls/eip7251.rs

This file was deleted.

6 changes: 0 additions & 6 deletions crates/executor/src/syscalls/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
mod eip2935;
pub(crate) use eip2935::pre_block_block_hash_contract_call;

mod eip7002;
pub(crate) use eip7002::pre_block_withdrawals_request_contract_call;

mod eip7251;
pub(crate) use eip7251::pre_block_consolidation_requests_contract_call;

mod eip4788;
pub(crate) use eip4788::pre_block_beacon_root_contract_call;

Expand Down