Skip to content

Commit

Permalink
Merge branch 'implement-acp-77-warp-signing' into implement-acp-77-in…
Browse files Browse the repository at this point in the history
…crease-balance-tx
  • Loading branch information
StephenButtolph authored Oct 8, 2024
2 parents 1592d2c + d816a39 commit b6a6969
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 b6a6969

Please sign in to comment.