Skip to content

Commit

Permalink
Merge branch 'implement-acp-77-register-subnet-validator-tx' into imp…
Browse files Browse the repository at this point in the history
…lement-acp-77--set-subnet-validator-weight-tx
  • Loading branch information
StephenButtolph authored Oct 8, 2024
2 parents ae5c712 + fcdce8c commit 96ac986
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
14 changes: 9 additions & 5 deletions genesis/genesis_fuji.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ var (
gas.DBWrite: 1,
gas.Compute: 1,
},
MaxCapacity: 1_000_000,
MaxPerSecond: 1_000,
TargetPerSecond: 500,
MinPrice: 1,
ExcessConversionConstant: 5_000,
MaxCapacity: 1_000_000, // Max block size ~1MB
MaxPerSecond: 250_000,
TargetPerSecond: 125_000, // Target block size ~125KB
MinPrice: 1,
// ExcessConversionConstant = (Capacity - Target) * NumberOfSecondsPerDoubling / ln(2)
//
// ln(2) is a float and the result is consensus critical, so we
// hardcode the result.
ExcessConversionConstant: 5_410_106, // Double every 30s
},
ValidatorFeeCapacity: 20_000,
ValidatorFeeConfig: validatorfee.Config{
Expand Down
14 changes: 9 additions & 5 deletions genesis/genesis_local.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,15 @@ var (
gas.DBWrite: 1,
gas.Compute: 1,
},
MaxCapacity: 1_000_000,
MaxPerSecond: 250_000,
TargetPerSecond: 100_000,
MinPrice: 1,
ExcessConversionConstant: 1_000_000,
MaxCapacity: 1_000_000, // Max block size ~1MB
MaxPerSecond: 250_000,
TargetPerSecond: 125_000, // Target block size ~125KB
MinPrice: 1,
// ExcessConversionConstant = (Capacity - Target) * NumberOfSecondsPerDoubling / ln(2)
//
// ln(2) is a float and the result is consensus critical, so we
// hardcode the result.
ExcessConversionConstant: 5_410_106, // Double every 30s
},
ValidatorFeeCapacity: 20_000,
ValidatorFeeConfig: validatorfee.Config{
Expand Down
14 changes: 9 additions & 5 deletions genesis/genesis_mainnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,15 @@ var (
gas.DBWrite: 1,
gas.Compute: 1,
},
MaxCapacity: 1_000_000,
MaxPerSecond: 1_000,
TargetPerSecond: 500,
MinPrice: 1,
ExcessConversionConstant: 5_000,
MaxCapacity: 1_000_000, // Max block size ~1MB
MaxPerSecond: 250_000,
TargetPerSecond: 125_000, // Target block size ~125KB
MinPrice: 1,
// ExcessConversionConstant = (Capacity - Target) * NumberOfSecondsPerDoubling / ln(2)
//
// ln(2) is a float and the result is consensus critical, so we
// hardcode the result.
ExcessConversionConstant: 5_410_106, // Double every 30s
},
ValidatorFeeCapacity: 20_000,
ValidatorFeeConfig: validatorfee.Config{
Expand Down

0 comments on commit 96ac986

Please sign in to comment.