-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update celo alfajores config (#1515)
New config for Celo Alfajores now that it is an L2.
- Loading branch information
1 parent
96ed6ec
commit ffe8e51
Showing
3 changed files
with
52 additions
and
33 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 |
---|---|---|
@@ -1,20 +1,30 @@ | ||
ChainID = '44787' | ||
ChainType = 'celo' | ||
FinalityDepth = 10 | ||
LogPollInterval = '5s' | ||
MinIncomingConfirmations = 1 | ||
FinalityTagEnabled = true | ||
FinalityDepth = 2750 # mean finality time of ~37 minutes + 500 block buffer | ||
LogPollInterval = '1s' # 1 sec block rate | ||
NoNewHeadsThreshold = '1m' | ||
OCR.ContractConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '1m' | ||
MinIncomingConfirmations = 1 | ||
NoNewFinalizedHeadsThreshold = '45m' # Set slightly higher than mean finality time | ||
|
||
[GasEstimator] | ||
PriceDefault = '5 gwei' | ||
PriceMax = '500 gwei' | ||
PriceMin = '5 gwei' | ||
BumpMin = '2 gwei' | ||
EIP1559DynamicFees = true | ||
PriceMin = '5 gwei' # Mean gas price around 5 gwei and celo txns are extremely cheap at ~0.00088 CELO per txn ($0.000058) | ||
PriceMax = '1000 gwei' # DS&A recommendation | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 24 | ||
# Default is 8, which leads to bumpy gas prices. In CCIP | ||
# we want to smooth out the gas prices, so we increase the sample size. | ||
BlockHistorySize = 200 | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '30s' | ||
|
||
[HeadTracker] | ||
HistoryDepth = 50 | ||
HistoryDepth = 300 | ||
|
||
[NodePool] | ||
SyncThreshold = 10 # recommended for OP stack chains | ||
|
||
[OCR] | ||
ContractConfirmations = 1 # recommended for OP stack chains |
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