-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* bump cs * add changeset * added toml config * added berachain config Co-authored-by: Sishir Giri <[email protected]>
- Loading branch information
1 parent
53a2e2e
commit 901f0b4
Showing
24 changed files
with
701 additions
and
40 deletions.
There are no files selected for viewing
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,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
#nops bump chain selector |
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,10 @@ | ||
ChainID = '80094' | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 5s, per recommendation skip 1-2 blocks | ||
CacheTimeout = '10s' | ||
|
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 = '252' | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
|
||
[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 |
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 = '2522' | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
|
||
[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 |
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,10 @@ | ||
ChainID = 4200 | ||
|
||
[GasEstimator] | ||
BumpPercent = 40 | ||
Mode = "FeeHistory" | ||
# The FeeHistory estimator does not enforce PriceMin, setting it to 0 to not place any limits on the price | ||
PriceMin = "0" | ||
|
||
[GasEstimator.FeeHistory] | ||
CacheTimeout = "4s" |
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,10 @@ | ||
ChainID = 686868 | ||
|
||
[GasEstimator] | ||
BumpPercent = 40 | ||
Mode = "FeeHistory" | ||
# The FeeHistory estimator does not enforce PriceMin, setting it to 0 to not place any limits on the price | ||
PriceMin = "0" | ||
|
||
[GasEstimator.FeeHistory] | ||
CacheTimeout = "4s" |
12 changes: 12 additions & 0 deletions
12
core/chains/evm/config/toml/defaults/Berachain_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,12 @@ | ||
ChainID = '80094' | ||
# finality_depth: instant | ||
FinalityDepth = 10 | ||
LinkContractAddress = '0x52CEEed7d3f8c6618e4aaD6c6e555320d0D83271' | ||
# block_time: 5s, adding 1 second buffer | ||
LogPollInterval = '6s' | ||
|
||
# finality_depth * block_time / 60 secs = ~0.8 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '5m' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
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,3 @@ | ||
ChainID = '252' | ||
FinalityTagEnabled = true | ||
LogPollInterval = "2s" #2s block rate |
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,3 @@ | ||
ChainID = '2522' | ||
FinalityTagEnabled = true | ||
LogPollInterval = "2s" #2s block rate |
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,20 @@ | ||
ChainID = 4200 | ||
ChainType = "zkevm" | ||
FinalityDepth = 1000 | ||
FinalityTagEnabled = false | ||
LogPollInterval = "4s" # blockrate is 3s; adding a 1s buffer | ||
MinIncomingConfirmations = 1 | ||
RPCDefaultBatchSize = 100 | ||
|
||
[HeadTracker] | ||
HistoryDepth = 2000 | ||
|
||
[OCR] | ||
ContractConfirmations = 1 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = "3m" | ||
|
||
[Transactions.AutoPurge] | ||
Enabled = true | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
ChainID = 686868 | ||
ChainType = "zkevm" | ||
FinalityDepth = 1000 | ||
FinalityTagEnabled = false | ||
LogPollInterval = "4s" # blockrate is 3s; adding a 1s buffer | ||
MinIncomingConfirmations = 1 | ||
RPCDefaultBatchSize = 100 | ||
|
||
[HeadTracker] | ||
HistoryDepth = 2000 | ||
|
||
[OCR] | ||
ContractConfirmations = 1 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = "3m" | ||
|
||
[Transactions.AutoPurge] | ||
Enabled = true | ||
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
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
Oops, something went wrong.