From 07caf5dda1c46b82f5050e8e44e9cd6d05857272 Mon Sep 17 00:00:00 2001 From: stackman27 Date: Tue, 12 Dec 2023 22:52:01 -0800 Subject: [PATCH] added link address --- .../config/toml/defaults/Bttc_Testnet.toml | 5 +--- integration-tests/soak/ocr_test.go | 30 ++++++++++++++++++- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml b/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml index 97985b1a81c..a7824650229 100644 --- a/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml +++ b/core/chains/evm/config/toml/defaults/Bttc_Testnet.toml @@ -3,10 +3,7 @@ ChainType = 'bttc' FinalityDepth = 500 # blocks are generated every 2-4s LogPollInterval = '2s' - -[GasEstimator] -PriceMin = '9000000 gwei' -PriceMax = '30000000 gwei' +LinkContractAddress = '0x95b3197262301ab8e79c21662a41c868f2c5c368' [GasEstimator.BlockHistory] # how many blocks we want to keep in memory to calculate gas price diff --git a/integration-tests/soak/ocr_test.go b/integration-tests/soak/ocr_test.go index 4d7971d678e..77dab5bbab4 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' +ChainType = 'bttc' +FinalityDepth = 500 +# blocks are generated every 2-4s +LogPollInterval = '2s' + +[GasEstimator] +PriceMin = '9000000 gwei' +PriceMax = '30000000 gwei' + +[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---------------------")