From bb5bcedd12286c8141822ed8c5274b1429536bce Mon Sep 17 00:00:00 2001 From: Matthew Romage Date: Fri, 14 Feb 2025 14:05:54 -0500 Subject: [PATCH] push ocr configs --- .../ocr2/overrides/apechain_mainnet.toml | 33 ++++++++ .../ocr2/overrides/cronos_testnet.toml | 33 ++++++++ .../ocr2/overrides/hemi_testnet.toml | 83 +++++++++++++++++++ 3 files changed, 149 insertions(+) create mode 100644 integration-tests/testconfig/ocr2/overrides/apechain_mainnet.toml create mode 100644 integration-tests/testconfig/ocr2/overrides/cronos_testnet.toml create mode 100644 integration-tests/testconfig/ocr2/overrides/hemi_testnet.toml diff --git a/integration-tests/testconfig/ocr2/overrides/apechain_mainnet.toml b/integration-tests/testconfig/ocr2/overrides/apechain_mainnet.toml new file mode 100644 index 00000000000..072c16e8ea6 --- /dev/null +++ b/integration-tests/testconfig/ocr2/overrides/apechain_mainnet.toml @@ -0,0 +1,33 @@ +# if you want to use APECHAIN_MAINNET +[Network] +selected_networks = ["APECHAIN_MAINNET"] +# soak test specific configuration +[Soak.Common] +chainlink_node_funding = 10 # Funding per node +# Note this is for when you are running OCR2 tests +# To run OCR1 tests use [Soak.OCR] instead +[Soak.OCR2] +# To run OCR1 tests use [Soak.OCR.Common] instead +[Soak.OCR2.Common] +test_duration = "24h" # Full duration the test will run 1440 - 1 day, 7200 - 5 days +# To run OCR1 tests use [Soak.OCR.Soak] instead +[Soak.OCR2.Soak] +time_between_rounds = "5m" # Default 5 mins for a 1 day, 10 mins for a 5 day +[OCR2.Common] +number_of_contracts = 2 +[Seth] +experiments_enabled = ["slow_funds_return"] +# Recommended: Remove this table if you would like SETH to use the DEFAULT config or if the chain +# is already added to CTF and you do not need to override any values. +# If the chain has already been added to CTF you can use this table to override any of the keys. +# If the chain has NOT been added to CTF you can use this table to pass the chain details to CTF. +[Network.EVMNetworks.APECHAIN_MAINNET] +evm_name = "APECHAIN_MAINNET" +evm_chain_id = 33139 +client_implementation = "Ethereum" +evm_simulated = false +evm_chainlink_transaction_limit = 5000 +evm_minimum_confirmations = 1 +evm_gas_estimation_buffer = 10000 +evm_supports_eip1559 = true +evm_default_gas_limit = 6000000 \ No newline at end of file diff --git a/integration-tests/testconfig/ocr2/overrides/cronos_testnet.toml b/integration-tests/testconfig/ocr2/overrides/cronos_testnet.toml new file mode 100644 index 00000000000..061b71d4d2f --- /dev/null +++ b/integration-tests/testconfig/ocr2/overrides/cronos_testnet.toml @@ -0,0 +1,33 @@ +# if you want to use CRONOS_TESTNET +[Network] +selected_networks = ["CRONOS_TESTNET"] +# soak test specific configuration +[Soak.Common] +chainlink_node_funding = 10 # Funding per node +# Note this is for when you are running OCR2 tests +# To run OCR1 tests use [Soak.OCR] instead +[Soak.OCR2] +# To run OCR1 tests use [Soak.OCR.Common] instead +[Soak.OCR2.Common] +test_duration = "24h" # Full duration the test will run 1440 - 1 day, 7200 - 5 days +# To run OCR1 tests use [Soak.OCR.Soak] instead +[Soak.OCR2.Soak] +time_between_rounds = "5m" # Default 5 mins for a 1 day, 10 mins for a 5 day +[OCR2.Common] +number_of_contracts = 2 +[Seth] +experiments_enabled = ["slow_funds_return"] +# Recommended: Remove this table if you would like SETH to use the DEFAULT config or if the chain +# is already added to CTF and you do not need to override any values. +# If the chain has already been added to CTF you can use this table to override any of the keys. +# If the chain has NOT been added to CTF you can use this table to pass the chain details to CTF. +[Network.EVMNetworks.CRONOS_TESTNET] +evm_name = "CRONOS_TESTNET" +evm_chain_id = 338 +client_implementation = "Ethereum" +evm_simulated = false +evm_chainlink_transaction_limit = 5000 +evm_minimum_confirmations = 1 +evm_gas_estimation_buffer = 10000 +evm_supports_eip1559 = true +evm_default_gas_limit = 6000000 \ No newline at end of file diff --git a/integration-tests/testconfig/ocr2/overrides/hemi_testnet.toml b/integration-tests/testconfig/ocr2/overrides/hemi_testnet.toml new file mode 100644 index 00000000000..cf34e4b3f8f --- /dev/null +++ b/integration-tests/testconfig/ocr2/overrides/hemi_testnet.toml @@ -0,0 +1,83 @@ +# if you want to use HEMI_TESTNET +[Network] +selected_networks = ["HEMI_TESTNET"] +# soak test specific configuration +[Soak.Common] +chainlink_node_funding = 0.5 # Funding per node +# Note this is for when you are running OCR2 tests +# To run OCR1 tests use [Soak.OCR] instead +[Soak.OCR2] +# To run OCR1 tests use [Soak.OCR.Common] instead +[Soak.OCR2.Common] +test_duration = "24h" # Full duration the test will run 1440 - 1 day, 7200 - 5 days +# To run OCR1 tests use [Soak.OCR.Soak] instead +[Soak.OCR2.Soak] +time_between_rounds = "5m" # Default 5 mins for a 1 day, 10 mins for a 5 day +[OCR2.Common] +number_of_contracts = 2 +[Seth] +experiments_enabled = ["slow_funds_return"] +# Recommended: Remove this table if you would like SETH to use the DEFAULT config or if the chain +# is already added to CTF and you do not need to override any values. +# If the chain has already been added to CTF you can use this table to override any of the keys. +# If the chain has NOT been added to CTF you can use this table to pass the chain details to CTF. +[Network.EVMNetworks.HEMI_TESTNET] +evm_name = "HEMI_TESTNET" +evm_chain_id = 743111 +client_implementation = "Ethereum" +evm_simulated = false +evm_chainlink_transaction_limit = 5000 +evm_minimum_confirmations = 1 +evm_gas_estimation_buffer = 10000 +evm_supports_eip1559 = true +evm_default_gas_limit = 6000000 + +# Chainlink node TOML config +[NodeConfig] +BaseConfigTOML = """ +[Feature] +FeedsManager = true +LogPoller = true +UICSAKeys = true + +[Log] +Level = 'debug' +JSONConsole = true + +[Log.File] +MaxSize = '0b' + +[WebServer] +AllowOrigins = '*' +HTTPPort = 6688 +SecureCookies = false +HTTPWriteTimeout = '3m' +SessionTimeout = '999h0m0s' + +[WebServer.RateLimit] +Authenticated = 2000 +Unauthenticated = 1000 + +[WebServer.TLS] +HTTPSPort = 0 + +[Database] +MaxIdleConns = 20 +MaxOpenConns = 40 +MigrateOnStartup = true + +[OCR2] +Enabled = true + +[P2P] +[P2P.V2] +ListenAddresses = ['0.0.0.0:6690'] +""" + +# override config toml related to EVMNode configs for chainlink nodes; applicable to all EVM node configs in chainlink toml +CommonChainConfigTOML = """ +LogBroadcasterEnabled = false + +[NodePool] +NewHeadsPollInterval = '6s' +""" \ No newline at end of file