Repository: bluealloy/revm (language: rust)

Issue:
Remove create address collision check with precompile address
Rm this: https://github.com/bluealloy/revm/blob/ca85e67d1fd6122551bb52f8d2e4c6b8d2deadf1/crates/handler/src/frame.rs#L272
And this: https://github.com/bluealloy/revm/blob/ca85e67d1fd6122551bb52f8d2e4c6b8d2deadf1/crates/handler/src/frame.rs#L396


Discussion / hints:
Hello. Can I work on this one?

Fix patch:
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)?;
 


Test patch: