File tree 3 files changed +7495
-9466
lines changed
3 files changed +7495
-9466
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,8 @@ import { P256Verifier } from "p256-verifier/src/P256Verifier.sol";
34
34
/// @notice This script deploys the core Taiko protocol smart contract on L1,
35
35
/// initializing the rollup.
36
36
contract DeployOnL1 is DeployCapability {
37
- uint256 public constant NUM_MIN_MAJORITY_GUARDIANS = 7 ;
38
- uint256 public constant NUM_MIN_MINORITY_GUARDIANS = 2 ;
37
+ uint256 public NUM_MIN_MAJORITY_GUARDIANS = vm. envUint ( " NUM_MIN_MAJORITY_GUARDIANS " ) ;
38
+ uint256 public NUM_MIN_MINORITY_GUARDIANS = vm. envUint ( " NUM_MIN_MINORITY_GUARDIANS " ) ;
39
39
40
40
address public constant MAINNET_CONTRACT_OWNER = 0x9CBeE534B5D8a6280e01a14844Ee8aF350399C7F ; // admin.taiko.eth
41
41
Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ SHARED_ADDRESS_MANAGER=0x0000000000000000000000000000000000000000 \
18
18
L2_GENESIS_HASH=0xee1950562d42f0da28bd4550d88886bc90894c77c9c9eaefef775d4c8223f259 \
19
19
PAUSE_TAIKO_L1=true \
20
20
PAUSE_BRIDGE=true \
21
+ NUM_MIN_MAJORITY_GUARDIANS=7 \
22
+ NUM_MIN_MINORITY_GUARDIANS=2 \
21
23
TIER_PROVIDER=" devnet" \
22
24
forge script script/DeployOnL1.s.sol:DeployOnL1 \
23
25
--fork-url http://localhost:8545 \
You can’t perform that action at this time.
0 commit comments