Skip to content

Commit

Permalink
increase finality depth for chains with 1 finality depth to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
poopoothegorilla committed Apr 9, 2024
1 parent b3aab74 commit ec41fbd
Show file tree
Hide file tree
Showing 22 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion charts/chainlink-cluster/templates/chainlink-cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ data:
ChainID = {{ $chainCfg.networkId | quote }}
MinContractPayment = '0'
AutoCreateKey = true
FinalityDepth = 1
FinalityDepth = 3
{{- if (hasKey $chainCfg "customEVMConfigToml") }}
{{- $chainCfg.customEVMConfigToml | nindent 4 }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Avalanche_Fuji.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '43113'
FinalityDepth = 1
FinalityDepth = 3
LinkContractAddress = '0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846'
LogPollInterval = '3s'
MinIncomingConfirmations = 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '43114'
FinalityDepth = 1
FinalityDepth = 3
LinkContractAddress = '0x5947BB275c521040051D82396192181b413227A3'
LogPollInterval = '3s'
MinIncomingConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Celo_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '42220'
ChainType = 'celo'
FinalityDepth = 1
FinalityDepth = 3
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Celo_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '44787'
ChainType = 'celo'
FinalityDepth = 1
FinalityDepth = 3
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Klaytn_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '8217'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '30s'
OCR.ContractConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Klaytn_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '1001'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '30s'
OCR.ContractConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Metis_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ChainID = '1088'
ChainType = 'metis'
# Sequencer offers absolute finality
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '0'
OCR.ContractConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Metis_Rinkeby.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '588'
ChainType = 'metis'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '0'
OCR.ContractConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Scroll_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '534352'
FinalityDepth = 1
FinalityDepth = 3
ChainType = 'scroll'
LogPollInterval = '3s'
MinIncomingConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Scroll_Sepolia.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '534351'
FinalityDepth = 1
FinalityDepth = 3
ChainType = 'scroll'
LogPollInterval = '3s'
MinIncomingConfirmations = 1
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/Simulated.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ChainID = '1337'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
MinContractPayment = '100'
NoNewHeadsThreshold = '0s'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/WeMix_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '1111'
ChainType = 'wemix'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
# WeMix emits a block every 1 second, regardless of transactions
LogPollInterval = '3s'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/WeMix_Testnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '1112'
ChainType = 'wemix'
FinalityDepth = 1
FinalityDepth = 3
MinIncomingConfirmations = 1
# WeMix emits a block every 1 second, regardless of transactions
LogPollInterval = '3s'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/zkSync_Goerli.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '280'
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/zkSync_Mainnet.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '324'
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
Expand Down
2 changes: 1 addition & 1 deletion core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChainID = '300'
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
LogPollInterval = '5s'
MinIncomingConfirmations = 1
NoNewHeadsThreshold = '1m'
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
GETH_VERSION: 1.13.8
functions: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRequest.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRequest.bin 3c972870b0afeb6d73a29ebb182f24956a2cebb127b21c4f867d1ecf19a762db
functions_allow_list: ../../../contracts/solc/v0.8.19/functions/v1_X/TermsOfServiceAllowList.abi ../../../contracts/solc/v0.8.19/functions/v1_X/TermsOfServiceAllowList.bin 268de8b3c061b53a1a2a1ccc0149eff68545959e29cd41b5f2e9f5dab19075cf
functions_allow_list: ../../../contracts/solc/v0.8.19/functions/v1_X/TermsOfServiceAllowList.abi ../../../contracts/solc/v0.8.19/functions/v1_X/TermsOfServiceAllowList.bin 0c2156289e11f884ca6e92bf851192d3917c9094a0a301bcefa61266678d0e57
functions_billing_registry_events_mock: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryEventsMock.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsBillingRegistryEventsMock.bin 50deeb883bd9c3729702be335c0388f9d8553bab4be5e26ecacac496a89e2b77
functions_client: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsClient.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsClient.bin 2368f537a04489c720a46733f8596c4fc88a31062ecfa966d05f25dd98608aca
functions_client_example: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsClientExample.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsClientExample.bin abf32e69f268f40e8530eb8d8e96bf310b798a4c0049a58022d9d2fb527b601b
functions_coordinator: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsCoordinator.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsCoordinator.bin 97a625c7ce8c8c167faad5e532a5894a52af5dee722b2da7e7528f5eaa32a0fe
functions_coordinator: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsCoordinator.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsCoordinator.bin 292d4742d039a154ed7875a0167c9725e2a90674ad9a05f152377819bb991082
functions_load_test_client: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsLoadTestClient.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsLoadTestClient.bin c8dbbd5ebb34435800d6674700068837c3a252db60046a14b0e61e829db517de
functions_oracle_events_mock: ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleEventsMock.abi ../../../contracts/solc/v0.8.6/functions/v0_0_0/FunctionsOracleEventsMock.bin 3ca70f966f8fe751987f0ccb50bebb6aa5be77e4a9f835d1ae99e0e9bfb7d52c
functions_router: ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRouter.abi ../../../contracts/solc/v0.8.19/functions/v1_X/FunctionsRouter.bin 1f6d18f9e0846ad74b37a0a6acef5942ab73ace1e84307f201899f69e732e776
Expand Down
2 changes: 1 addition & 1 deletion core/scripts/ocr2vrf/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ var (
Enabled = true
[[EVM]]
FinalityDepth = 1
FinalityDepth = 3
ChainID = '%d'
[EVM.Transactions]
Expand Down
32 changes: 16 additions & 16 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3155,7 +3155,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
Expand Down Expand Up @@ -3240,7 +3240,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
Expand Down Expand Up @@ -3325,7 +3325,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'zksync'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
Expand Down Expand Up @@ -3496,7 +3496,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'metis'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
Expand Down Expand Up @@ -3580,7 +3580,7 @@ GasLimit = 5400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
Expand Down Expand Up @@ -3665,7 +3665,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'metis'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
Expand Down Expand Up @@ -3834,7 +3834,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'wemix'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '3s'
Expand Down Expand Up @@ -3919,7 +3919,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'wemix'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '3s'
Expand Down Expand Up @@ -4003,7 +4003,7 @@ GasLimit = 5400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
Expand Down Expand Up @@ -4425,7 +4425,7 @@ GasLimit = 3800000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '15s'
Expand Down Expand Up @@ -4766,7 +4766,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'celo'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
Expand Down Expand Up @@ -4850,7 +4850,7 @@ GasLimit = 5400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LinkContractAddress = '0x0b9d5D9136855f6FEc3c0993feE6E9CE8a297846'
LogBackfillBatchSize = 1000
Expand Down Expand Up @@ -4935,7 +4935,7 @@ GasLimit = 5400000
AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LinkContractAddress = '0x5947BB275c521040051D82396192181b413227A3'
LogBackfillBatchSize = 1000
Expand Down Expand Up @@ -5021,7 +5021,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'celo'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '5s'
Expand Down Expand Up @@ -5786,7 +5786,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'scroll'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '3s'
Expand Down Expand Up @@ -5871,7 +5871,7 @@ AutoCreateKey = true
BlockBackfillDepth = 10
BlockBackfillSkip = false
ChainType = 'scroll'
FinalityDepth = 1
FinalityDepth = 3
FinalityTagEnabled = false
LogBackfillBatchSize = 1000
LogPollInterval = '3s'
Expand Down

0 comments on commit ec41fbd

Please sign in to comment.