Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(protocol): change the A6 config so higher tier has larger bonds #15587

Merged
merged 2 commits into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions packages/protocol/contracts/L1/tiers/TaikoA6TierProvider.sol
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ contract TaikoA6TierProvider is EssentialContract, ITierProvider {
if (tierId == LibTiers.TIER_OPTIMISTIC) {
return ITierProvider.Tier({
verifierName: "tier_optimistic",
validityBond: 1000 ether, // TKO
contestBond: 1000 ether, // TKO
validityBond: 250 ether, // TKO
contestBond: 500 ether, // TKO
dantaik marked this conversation as resolved.
Show resolved Hide resolved
cooldownWindow: 24 hours,
provingWindow: 2 hours,
maxBlocksToVerify: 10
Expand All @@ -49,7 +49,7 @@ contract TaikoA6TierProvider is EssentialContract, ITierProvider {
return ITierProvider.Tier({
verifierName: "tier_sgx",
validityBond: 500 ether, // TKO
contestBond: 500 ether, // TKO
contestBond: 1000 ether, // TKO
cooldownWindow: 24 hours,
provingWindow: 4 hours,
maxBlocksToVerify: 8
Expand All @@ -59,8 +59,8 @@ contract TaikoA6TierProvider is EssentialContract, ITierProvider {
if (tierId == LibTiers.TIER_SGX_AND_PSE_ZKEVM) {
return ITierProvider.Tier({
verifierName: "tier_sgx_and_pse_zkevm",
validityBond: 250 ether, // TKO
contestBond: 250 ether, // TKO
validityBond: 1000 ether, // TKO
contestBond: 2000 ether, // TKO
dantaik marked this conversation as resolved.
Show resolved Hide resolved
cooldownWindow: 24 hours,
provingWindow: 6 hours,
maxBlocksToVerify: 6
Expand All @@ -70,8 +70,8 @@ contract TaikoA6TierProvider is EssentialContract, ITierProvider {
if (tierId == LibTiers.TIER_GUARDIAN) {
return ITierProvider.Tier({
verifierName: "tier_guardian",
validityBond: 0,
contestBond: 0, // not contestable
validityBond: 0, // must be 0 for top tier
contestBond: 0, // must be 0 for top tier
cooldownWindow: 24 hours,
provingWindow: 8 hours,
maxBlocksToVerify: 4
Expand Down
Loading