From 4111619e2eb5e503c9759cd0dcb430beb67f1458 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Tue, 12 Dec 2023 13:51:42 -0800 Subject: [PATCH] added chaintype --- .../config/toml/defaults/Bttc_Testnet.toml | 1 + integration-tests/soak/ocr_test.go | 30 ++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml b/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml index 032bad810b7..acaa5f86665 100644 --- a/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml +++ b/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml @@ -1,4 +1,5 @@ ChainID = '1029' +ChainType = 'Bttc' FinalityDepth = 500 # blocks are generated every 2-4s LogPollInterval = '2s' diff --git a/integration-tests/soak/ocr_test.go b/integration-tests/soak/ocr_test.go index 4d7971d678e..2e187f2984a 100644 --- a/integration-tests/soak/ocr_test.go +++ b/integration-tests/soak/ocr_test.go @@ -14,7 +14,35 @@ import ( func TestOCRSoak(t *testing.T) { l := logging.GetTestLogger(t) // Use this variable to pass in any custom EVM specific TOML values to your Chainlink nodes - customNetworkTOML := `` + customNetworkTOML := ` + ChainID = '1029' + FinalityDepth = 500 + # blocks are generated every 2-4s + LogPollInterval = '2s' + # Blocks are only emitted when a transaction happens / no empty blocks + NoNewHeadsThreshold = '0' + + [GasEstimator] + EIP1559DynamicFees = false + + [GasEstimator.BlockHistory] + # how many blocks we want to keep in memory to calculate gas price + # # Average block time of 2s + BlockHistorySize = 24 + + [Transactions] + ResendAfterThreshold = '30s' + + [HeadTracker] + # re-org for bttc is really high so we want to check for the block where reorg happens + HistoryDepth = 500 + + [NodePool] + SyncThreshold = 10 + + [OCR] + ContractConfirmations = 1 + ` // Uncomment below for debugging TOML issues on the node // network := networks.MustGetSelectedNetworksFromEnv()[0] // fmt.Println("Using Chainlink TOML\n---------------------")