Skip to content

Commit

Permalink
fix(protocol): fix deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
vikinatora committed Jan 21, 2025
1 parent 785bdb7 commit 5b630e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/protocol/script/layer1/DeployProtocolOnL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -303,9 +303,7 @@ contract DeployProtocolOnL1 is DeployCapability {
TaikoL1 taikoL1;
if (keccak256(abi.encode(vm.envString("TIER_ROUTER"))) == keccak256(abi.encode("devnet"))) {
taikoL1 = TaikoL1(address(new DevnetTaikoL1()));
} else if (
keccak256(abi.encode(vm.envString("TIER_PROVIDER"))) == keccak256(abi.encode("testnet"))
) {
} else if (keccak256(abi.encode(vm.envString("TIER_ROUTER"))) == keccak256(abi.encode("testnet"))) {
taikoL1 = TaikoL1(address(new TestnetUniFiL1()));
} else {
taikoL1 = TaikoL1(address(new TaikoL1()));
Expand Down

0 comments on commit 5b630e3

Please sign in to comment.