From 089d4d2cb6121ca60d430eef50078e987a6b6584 Mon Sep 17 00:00:00 2001 From: Matt Solomon Date: Mon, 11 Sep 2023 07:32:22 -0700 Subject: [PATCH] chore: better create2 warning --- crates/evm/src/executor/backend/error.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/evm/src/executor/backend/error.rs b/crates/evm/src/executor/backend/error.rs index eb3a595b10c2d..d40dc06fb6481 100644 --- a/crates/evm/src/executor/backend/error.rs +++ b/crates/evm/src/executor/backend/error.rs @@ -38,7 +38,7 @@ pub enum DatabaseError { #[error("Transaction {0:?} not found")] TransactionNotFound(H256), #[error( - "CREATE2 Deployer not present on this chain. [0x4e59b44847b379578588920ca78fbf26c0b4956c]" + "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." )] MissingCreate2Deployer, #[error(transparent)]