From 3978ea00e3782c1024891011411dbc0f7768821a Mon Sep 17 00:00:00 2001 From: Alexander Fadeev Date: Tue, 17 Dec 2024 00:41:07 +0200 Subject: [PATCH] Fix Sepolia chain ID: 11155111 --- script/base/deploy-base.s.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/base/deploy-base.s.sol b/script/base/deploy-base.s.sol index 71b5a6b16..65cd6f6cb 100644 --- a/script/base/deploy-base.s.sol +++ b/script/base/deploy-base.s.sol @@ -41,7 +41,7 @@ contract DeployBaseScript is Script { return "LOCAL"; } else if (chainId == 1) { return "MAINNET"; - } else if (chainId == 42) { + } else if (chainId == 11_155_111) { return "SEPOLIA"; } else if (chainId == 17_000) { return "HOLESKY"; @@ -66,7 +66,7 @@ contract DeployBaseScript is Script { } else if (chainId == 84_532) { return "BASE SEPOLIA"; } else { - revert("Error: Chain ID not recognized"); + revert(string.concat("Error: Chain ID not recognized: ", vm.toString(chainId))); } }