From e0b445835eeca809f0e6bc22bada33c3360f3eea Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Thu, 26 Oct 2023 13:40:33 +0200 Subject: [PATCH 1/4] Add base goerli benchmark option --- .github/workflows/automation-benchmark-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/automation-benchmark-tests.yml b/.github/workflows/automation-benchmark-tests.yml index 45491af0264..c7c270ae761 100644 --- a/.github/workflows/automation-benchmark-tests.yml +++ b/.github/workflows/automation-benchmark-tests.yml @@ -24,6 +24,7 @@ on: - OPTIMISM_GOERLI - MUMBAI - SEPOLIA + - BASE_GOERLI TestInputs: description: TestInputs required: false From 77fc30c4e837bcae133b1d85a67ee2205a8c16b3 Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Thu, 26 Oct 2023 14:44:39 +0200 Subject: [PATCH 2/4] Add config --- integration-tests/benchmark/keeper_test.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integration-tests/benchmark/keeper_test.go b/integration-tests/benchmark/keeper_test.go index 7178ab854ea..fc804bc4dcc 100644 --- a/integration-tests/benchmark/keeper_test.go +++ b/integration-tests/benchmark/keeper_test.go @@ -283,6 +283,12 @@ var networkConfig = map[string]NetworkConfig{ deltaStage: time.Duration(0), funding: big.NewFloat(ChainlinkNodeFunding), }, + "BaseGoerli": { + upkeepSLA: int64(60), + blockTime: 2 * time.Second, + deltaStage: 20 * time.Second, + funding: big.NewFloat(ChainlinkNodeFunding), + }, } func getEnv(key, fallback string) string { From 9ec961777721705b2df567de67f54dfbec64aa7d Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Thu, 26 Oct 2023 15:27:14 +0200 Subject: [PATCH 3/4] Add to op stack deployer --- integration-tests/contracts/contract_deployer.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-tests/contracts/contract_deployer.go b/integration-tests/contracts/contract_deployer.go index bdf63d19195..178a261b9d4 100644 --- a/integration-tests/contracts/contract_deployer.go +++ b/integration-tests/contracts/contract_deployer.go @@ -877,6 +877,8 @@ func (e *EthereumContractDeployer) DeployKeeperRegistry( //Optimism payment model case big.NewInt(420): mode = uint8(2) + case big.NewInt(84531): + mode = uint8(2) default: mode = uint8(0) } From e78d5d4c70f5a82dd88b96af18d788b278590d4a Mon Sep 17 00:00:00 2001 From: davidcauchi Date: Fri, 27 Oct 2023 17:28:06 +0200 Subject: [PATCH 4/4] Add FlatFeeMicroLink --- integration-tests/benchmark/keeper_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/integration-tests/benchmark/keeper_test.go b/integration-tests/benchmark/keeper_test.go index fc804bc4dcc..727eece583f 100644 --- a/integration-tests/benchmark/keeper_test.go +++ b/integration-tests/benchmark/keeper_test.go @@ -162,6 +162,7 @@ func TestAutomationBenchmark(t *testing.T) { RegistryVersions: registryVersions, KeeperRegistrySettings: &contracts.KeeperRegistrySettings{ PaymentPremiumPPB: uint32(0), + FlatFeeMicroLINK: uint32(40000), BlockCountPerTurn: big.NewInt(100), CheckGasLimit: uint32(45_000_000), //45M StalenessSeconds: big.NewInt(90_000),