Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update celo alfajores config #15019

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
5 changes: 5 additions & 0 deletions .changeset/tender-colts-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"chainlink": patch
---

#updated celo alfajores config
33 changes: 21 additions & 12 deletions ccip/config/evm/Celo_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,21 +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
PersistenceEnabled = false
HistoryDepth = 2750 # Same as FinalityDepth

[NodePool]
SyncThreshold = 10 # recommended for OP stack chains

[OCR]
ContractConfirmations = 1 # recommended for OP stack chains
32 changes: 21 additions & 11 deletions core/chains/evm/config/toml/defaults/Celo_Testnet.toml
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 = 2750 # Same as FinalityDepth

[NodePool]
SyncThreshold = 10 # recommended for OP stack chains

[OCR]
ContractConfirmations = 1 # recommended for OP stack chains
24 changes: 12 additions & 12 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6691,10 +6691,10 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'celo'
FinalityDepth = 10
FinalityTagEnabled = false
FinalityDepth = 2750
FinalityTagEnabled = true
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
LogPollInterval = '1s'
LogKeepBlocksDepth = 100000
LogPrunePageSize = 0
BackupLogPollerBlockDelay = 100
Expand All @@ -6706,15 +6706,15 @@ LogBroadcasterEnabled = true
RPCDefaultBatchSize = 250
RPCBlockQueryDelay = 1
FinalizedBlockOffset = 0
NoNewFinalizedHeadsThreshold = '1m0s'
NoNewFinalizedHeadsThreshold = '45m0s'

[Transactions]
ForwardersEnabled = false
MaxInFlight = 16
MaxQueued = 250
ReaperInterval = '1h0m0s'
ReaperThreshold = '168h0m0s'
ResendAfterThreshold = '1m0s'
ResendAfterThreshold = '30s'

[Transactions.AutoPurge]
Enabled = false
Expand All @@ -6724,25 +6724,25 @@ Enabled = true

[GasEstimator]
Mode = 'BlockHistory'
PriceDefault = '5 gwei'
PriceMax = '500 gwei'
PriceDefault = '20 gwei'
PriceMax = '1 micro'
PriceMin = '5 gwei'
LimitDefault = 500000
LimitMax = 500000
LimitMultiplier = '1'
LimitTransfer = 21000
EstimateLimit = false
BumpMin = '2 gwei'
BumpMin = '5 gwei'
BumpPercent = 20
BumpThreshold = 3
EIP1559DynamicFees = false
EIP1559DynamicFees = true
FeeCapDefault = '100 gwei'
TipCapDefault = '1 wei'
TipCapMin = '1 wei'

[GasEstimator.BlockHistory]
BatchSize = 25
BlockHistorySize = 24
BlockHistorySize = 200
CheckInclusionBlocks = 12
CheckInclusionPercentile = 90
TransactionPercentile = 60
Expand All @@ -6751,7 +6751,7 @@ TransactionPercentile = 60
CacheTimeout = '10s'

[HeadTracker]
HistoryDepth = 50
HistoryDepth = 2750
MaxBufferSize = 3
SamplingInterval = '1s'
MaxAllowedFinalityDepth = 10000
Expand All @@ -6762,7 +6762,7 @@ PersistenceEnabled = true
PollFailureThreshold = 5
PollInterval = '10s'
SelectionMode = 'HighestHead'
SyncThreshold = 5
SyncThreshold = 10
LeaseDuration = '0s'
NodeIsSyncingEnabled = false
FinalizedBlockPollInterval = '5s'
Expand Down
Loading