Skip to content
Merged
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
11 changes: 0 additions & 11 deletions crates/handler/src/frame.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,6 @@ where
}
};

// created address is not allowed to be a precompile.
// TODO add precompile check
if precompile.contains(&created_address) {
return return_error(InstructionResult::CreateCollision);
}

// warm load account.
context.journal().load_account(created_address)?;

Expand Down Expand Up @@ -392,11 +386,6 @@ where

let created_address = created_address.unwrap_or_else(|| inputs.caller.create(old_nonce));

// created address is not allowed to be a precompile.
if precompile.contains(&created_address) {
return return_error(InstructionResult::CreateCollision);
}

// Load account so it needs to be marked as warm for access list.
context.journal().load_account(created_address)?;

Expand Down
Loading