Skip to content

Commit

Permalink
added link address
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Dec 13, 2023
1 parent 1d4c54a commit 07caf5d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 5 deletions.
5 changes: 1 addition & 4 deletions core/chains/evm/config/toml/defaults/Bttc_Testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
30 changes: 29 additions & 1 deletion integration-tests/soak/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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---------------------")
Expand Down

0 comments on commit 07caf5d

Please sign in to comment.