-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added default config for missing chains
- Loading branch information
1 parent
24c7b86
commit 4dadcc4
Showing
24 changed files
with
3,198 additions
and
1,392 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
16 changes: 16 additions & 0 deletions
16
core/chains/evm/config/toml/defaults/Bitlayer_Mainnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ChainID = '200901' | ||
FinalityTagEnabled = false | ||
FinalityDepth = 21 # confirmed with Bitlayer team and recommended by docs: https://docs.bitlayer.org/docs/Learn/BitlayerNetwork/AboutFinality/#about-finality-at-stage-bitlayer-pos-bitlayer-mainnet-v1 | ||
|
||
[GasEstimator] | ||
Mode = 'FeeHistory' | ||
EIP1559DynamicFees = false | ||
PriceMax = '1 gwei' # DS&A recommended value | ||
PriceMin = '40 mwei' # During testing, we saw minimum gas prices ~50 mwei | ||
PriceDefault = '1 gwei' # As we set PriceMax to '1 gwei' and PriceDefault must be less than or equal to PriceMax | ||
FeeCapDefault = '1 gwei' # As we set PriceMax to '1 gwei' and FeeCapDefault must be less than or equal to PriceMax | ||
|
||
[HeadTracker] | ||
# FinalityDepth < 1k => FinalityTagBypass = false | ||
# https://smartcontract-it.atlassian.net/browse/SHIP-4078 | ||
FinalityTagBypass = false |
16 changes: 16 additions & 0 deletions
16
core/chains/evm/config/toml/defaults/Bitlayer_Testnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
ChainID = '200810' | ||
FinalityTagEnabled = false | ||
FinalityDepth = 21 # confirmed with Bitlayer team and recommended by docs: https://docs.bitlayer.org/docs/Learn/BitlayerNetwork/AboutFinality/#about-finality-at-stage-bitlayer-pos-bitlayer-mainnet-v1 | ||
|
||
[GasEstimator] | ||
Mode='FeeHistory' | ||
EIP1559DynamicFees = false | ||
PriceMax = '1 gwei' # DS&A recommended value | ||
PriceMin = '40 mwei' # During testing, we saw minimum gas prices ~50 mwei | ||
PriceDefault = '1 gwei' # As we set PriceMax to '1 gwei' and PriceDefault must be less than or equal to PriceMax | ||
FeeCapDefault = '1 gwei' # As we set PriceMax to '1 gwei' and FeeCapDefault must be less than or equal to PriceMax | ||
|
||
[HeadTracker] | ||
# FinalityDepth < 1k => FinalityTagBypass = false | ||
# https://smartcontract-it.atlassian.net/browse/SHIP-4078 | ||
FinalityTagBypass = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ChainID = '21000000' | ||
FinalityTagEnabled = true | ||
ChainType = 'arbitrum' | ||
|
||
[GasEstimator] | ||
Mode = 'Arbitrum' | ||
LimitMax = 1_000_000_000 | ||
# Arbitrum uses the suggested gas price, so we don't want to place any limits on the minimum | ||
PriceMin = '0' | ||
PriceDefault = '0.1 gwei' | ||
PriceMax = '1000 gwei' | ||
|
||
[GasEstimator.DAOracle] | ||
OracleType = 'arbitrum' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ChainID = '21000001' | ||
FinalityTagEnabled = true | ||
ChainType = 'arbitrum' | ||
|
||
[GasEstimator] | ||
Mode = 'Arbitrum' | ||
LimitMax = 1_000_000_000 | ||
# Arbitrum uses the suggested gas price, so we don't want to place any limits on the minimum | ||
PriceMin = '0' | ||
PriceDefault = '0.1 gwei' | ||
PriceMax = '1000 gwei' | ||
|
||
[GasEstimator.DAOracle] | ||
OracleType = 'arbitrum' |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
ChainID = '17000' | ||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
PriceMax = '1000 gwei' | ||
LimitDefault = 8000000 | ||
FeeCapDefault = '1000 gwei' | ||
|
||
[GasEstimator.BlockHistory] | ||
# Default is 4!?, which leads to bumpy gas prices. In CCIP | ||
# we want to smooth out the gas prices, so we increase the sample size. | ||
BlockHistorySize = 200 | ||
# The formula for FeeCap is (current block base fee * (1.125 ^ EIP1559FeeCapBufferBlocks) + tipcap) | ||
# where tipcap is managed by the block history estimators. In the context of CCIP, | ||
# the gas price is relayed to other changes for quotes so we want accurate/avg not pessimistic values. | ||
# So we set this to zero so FeeCap = baseFee + tipcap. | ||
EIP1559FeeCapBufferBlocks = 0 | ||
|
||
[NodePool] | ||
PollFailureThreshold = 2 | ||
PollInterval = '3s' |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,29 @@ | ||
ChainID = '59141' | ||
FinalityDepth = 900 | ||
NoNewHeadsThreshold = '0' | ||
FinalityTagEnabled = false | ||
FinalityDepth = 200 #3s block time ~ 20m finality based on committee decision | ||
NoNewHeadsThreshold = '0' #No empty blocks | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
PriceMin = '1 wei' | ||
[HeadTracker] | ||
HistoryDepth = 200 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '3m' | ||
ResendAfterThreshold = '30s' | ||
|
||
[HeadTracker] | ||
HistoryDepth = 1000 | ||
[GasEstimator] | ||
PriceMax = '2500 gwei' #higher max price to account for zkoverflow replacement txs | ||
BumpPercent = 10 | ||
BumpThreshold = 10 | ||
EIP1559DynamicFees = true | ||
FeeCapDefault = '2500 gwei' | ||
TipCapDefault = '5 gwei' | ||
TipCapMin = '1 gwei' | ||
LimitDefault = 8000000 | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 200 | ||
CheckInclusionBlocks = 0 #required for AutoPurge zkoverflow replacement | ||
|
||
[Transactions.AutoPurge] | ||
Enabled = true | ||
Enabled = false #Temporarily disable autopurge due to npe crashes | ||
Threshold = 50 # 50 blocks at 3s block time ~2.5 minutes | ||
MinAttempts = 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
core/chains/evm/config/toml/defaults/Shibarium_Mainnet.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
ChainID = '109' | ||
FinalityTagEnabled = true | ||
LinkContractAddress = '0x71052BAe71C25C78E37fD12E5ff1101A71d9018F' | ||
LogPollInterval = '1s' | ||
MinIncomingConfirmations = 5 | ||
NoNewHeadsThreshold = '30s' | ||
RPCBlockQueryDelay = 10 | ||
RPCDefaultBatchSize = 100 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '1m' | ||
|
||
[BalanceMonitor] | ||
Enabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
PriceDefault = '10 gwei' | ||
PriceMin = '2 gwei' | ||
BumpMin = '5 gwei' | ||
BumpThreshold = 5 | ||
PriceMax = '10000 gwei' | ||
LimitDefault = 8000000 | ||
FeeCapDefault = '10000 gwei' | ||
|
||
[GasEstimator.BlockHistory] | ||
# Default is 24, which leads to bumpy gas prices. In CCIP | ||
# we want to smooth out the gas prices, so we increase the sample size. | ||
BlockHistorySize = 200 | ||
|
||
[HeadTracker] | ||
HistoryDepth = 300 | ||
SamplingInterval = '1s' | ||
|
||
[NodePool] | ||
PollFailureThreshold = 2 | ||
PollInterval = '3s' | ||
SyncThreshold = 10 |
Oops, something went wrong.