Skip to content

Commit

Permalink
feat(protocol): update Alpha-4 network configs (#14169)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaikocha authored Jul 14, 2023
1 parent 77649c5 commit b782050
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions packages/protocol/contracts/L1/TaikoConfig.sol
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ library TaikoConfig {
function getConfig() internal pure returns (TaikoData.Config memory) {
return TaikoData.Config({
// Group 1: general configs
chainId: 167,
chainId: 167_006,
relaySignalRoot: false,
// Group 2: block level configs
// Two weeks if avg block time is 10 seconds
blockMaxProposals: 120_960,
blockRingBufferSize: 120_960 + 10,
// Two weeks if avg block time is 3 seconds
blockMaxProposals: 403_200,
blockRingBufferSize: 403_200 + 10,
// Each time one more block is verified, there will be ~20k
// more gas cost.
blockMaxVerificationsPerTx: 10,
Expand Down Expand Up @@ -48,7 +48,7 @@ library TaikoConfig {
ethDepositMaxFee: 1 ether / 10,
// Group 5: tokenomics
rewardOpenMultipler: 200, // percentage
rewardOpenMaxCount: 2000
});
rewardOpenMaxCount: 201_600 // blockMaxProposals / 2
});
}
}
4 changes: 2 additions & 2 deletions packages/protocol/script/DeployOnL1.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ contract DeployOnL1 is Script {
taikoToken.init.selector,
abi.encode(
addressManagerProxy,
"Taiko Token",
"TKO",
"Taiko Token Eldfell",
"TTKOe",
taikoTokenPremintRecipients,
taikoTokenPremintAmounts
)
Expand Down

0 comments on commit b782050

Please sign in to comment.