Skip to content

Commit 8cc001a

Browse files
mds1mikelodder7
authored andcommitted
chore: better create2 warning (foundry-rs#5814)
1 parent ba2de65 commit 8cc001a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/evm/src/executor/backend/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pub enum DatabaseError {
3838
#[error("Transaction {0:?} not found")]
3939
TransactionNotFound(H256),
4040
#[error(
41-
"CREATE2 Deployer not present on this chain. [0x4e59b44847b379578588920ca78fbf26c0b4956c]"
41+
"CREATE2 Deployer (0x4e59b44847b379578588920ca78fbf26c0b4956c) not present on this chain.\n\nFor a production environment, you can deploy it using the pre-signed transaction from https://github.com/Arachnid/deterministic-deployment-proxy.\n\nFor a test environment, you can use vm.etch to place the required bytecode at that address."
4242
)]
4343
MissingCreate2Deployer,
4444
#[error(transparent)]

0 commit comments

Comments
 (0)