Skip to content

Commit

Permalink
added fees
Browse files Browse the repository at this point in the history
  • Loading branch information
stackman27 committed Dec 13, 2023
1 parent 0316dc2 commit 4e0b414
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 29 deletions.
2 changes: 2 additions & 0 deletions core/chains/evm/config/toml/defaults/Bttc_Testnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ LogPollInterval = '2s'
[GasEstimator]
Mode = 'BlockHistory'
EIP1559DynamicFees = false
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '0.009 ether'

[GasEstimator.BlockHistory]
# how many blocks we want to keep in memory to calculate gas price
Expand Down
58 changes: 29 additions & 29 deletions integration-tests/soak/ocr_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +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 := `
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
`
customNetworkTOML := `ChainID = '1029'
ChainType = 'bttc'
FinalityDepth = 500
# blocks are generated every 2-4s
LogPollInterval = '2s
[GasEstimator]
Mode = 'BlockHistory'
EIP1559DynamicFees = false
PriceMax = '115792089237316195423570985008687907853269984665.640564039457584007913129639935 tether'
PriceMin = '0.009 ether'
[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 4e0b414

Please sign in to comment.