Skip to content

Commit

Permalink
add draft config
Browse files Browse the repository at this point in the history
  • Loading branch information
friedemannf committed Feb 27, 2024
1 parent 02abf2e commit 556e735
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions integration-tests/benchmark/keeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func TestAutomationBenchmark(t *testing.T) {
PaymentPremiumPPB: uint32(0),
FlatFeeMicroLINK: uint32(40000),
BlockCountPerTurn: big.NewInt(100),
CheckGasLimit: uint32(45_000_000), //45M
CheckGasLimit: uint32(45_000_000), // 45M
StalenessSeconds: big.NewInt(90_000),
GasCeilingMultiplier: uint16(2),
MaxPerformGas: uint32(*config.Keeper.Common.MaxPerformGas),
Expand Down Expand Up @@ -251,13 +251,13 @@ func getNetworkConfig(networkName string, config *tc.TestConfig) NetworkConfig {

var networkConfig = map[string]NetworkConfig{
"SimulatedGeth": {
upkeepSLA: int64(120), //2 minutes
upkeepSLA: int64(120), // 2 minutes
blockTime: time.Second,
deltaStage: 30 * time.Second,
funding: big.NewFloat(100_000),
},
"geth": {
upkeepSLA: int64(120), //2 minutes
upkeepSLA: int64(120), // 2 minutes
blockTime: time.Second,
deltaStage: 30 * time.Second,
funding: big.NewFloat(100_000),
Expand Down Expand Up @@ -302,6 +302,11 @@ var networkConfig = map[string]NetworkConfig{
blockTime: time.Second,
deltaStage: 20 * time.Second,
},
"Quorum": {
upkeepSLA: int64(20),
blockTime: 12 * time.Second,
deltaStage: 30 * time.Second,
},
}

func SetupAutomationBenchmarkEnv(t *testing.T, keeperTestConfig types.KeeperBenchmarkTestConfig) (*environment.Environment, blockchain.EVMNetwork) {
Expand Down

0 comments on commit 556e735

Please sign in to comment.