diff --git a/crates/handler/src/frame.rs b/crates/handler/src/frame.rs index 739cb27ef9..eee0d81917 100644 --- a/crates/handler/src/frame.rs +++ b/crates/handler/src/frame.rs @@ -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)?; @@ -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)?;