Skip to content

Commit

Permalink
Fix Sepolia chain ID: 11155111
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeevab committed Dec 16, 2024
1 parent dd3151a commit 3978ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/base/deploy-base.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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)));
}
}

Expand Down

0 comments on commit 3978ea0

Please sign in to comment.