Skip to content

Commit

Permalink
push ocr configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ma33r committed Feb 14, 2025
1 parent 9b4a78c commit bb5bced
Show file tree
Hide file tree
Showing 3 changed files with 149 additions and 0 deletions.
33 changes: 33 additions & 0 deletions integration-tests/testconfig/ocr2/overrides/apechain_mainnet.toml
Original file line number Diff line number Diff line change
@@ -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
33 changes: 33 additions & 0 deletions integration-tests/testconfig/ocr2/overrides/cronos_testnet.toml
Original file line number Diff line number Diff line change
@@ -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
83 changes: 83 additions & 0 deletions integration-tests/testconfig/ocr2/overrides/hemi_testnet.toml
Original file line number Diff line number Diff line change
@@ -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'
"""

0 comments on commit bb5bced

Please sign in to comment.