Skip to content

Commit

Permalink
feat(protocol): add PAUSE_TAIKO_L1 config to DeployOnL1 script (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Apr 29, 2024
1 parent f1c6b41 commit d8c189f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/protocol/script/DeployOnL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,13 @@ contract DeployOnL1 is DeployCapability {
name: "taiko",
impl: address(new TaikoL1()),
data: abi.encodeCall(
TaikoL1.init, (timelock, rollupAddressManager, vm.envBytes32("L2_GENESIS_HASH"), true)
TaikoL1.init,
(
timelock,
rollupAddressManager,
vm.envBytes32("L2_GENESIS_HASH"),
vm.envBool("PAUSE_TAIKO_L1")
)
),
registerTo: rollupAddressManager
});
Expand Down
1 change: 1 addition & 0 deletions packages/protocol/script/test_deploy_on_l1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ TAIKO_TOKEN_NAME="Taiko Token Katla" \
TAIKO_TOKEN_SYMBOL=TTKOk \
SHARED_ADDRESS_MANAGER=0x0000000000000000000000000000000000000000 \
L2_GENESIS_HASH=0xee1950562d42f0da28bd4550d88886bc90894c77c9c9eaefef775d4c8223f259 \
PAUSE_TAIKO_L1=true \
TIER_PROVIDER="devnet" \
forge script script/DeployOnL1.s.sol:DeployOnL1 \
--fork-url http://localhost:8545 \
Expand Down

0 comments on commit d8c189f

Please sign in to comment.