Skip to content

Commit

Permalink
added chaintype
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Dec 12, 2023
1 parent 87e638d commit 4111619
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/chains/evm/config/toml/defaults/Bttc_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
ChainID = '1029'
ChainType = 'Bttc'
FinalityDepth = 500
# blocks are generated every 2-4s
LogPollInterval = '2s'
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'
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---------------------")
Expand Down

0 comments on commit 4111619

Please sign in to comment.