Skip to content

Commit

Permalink
Add explicit DA oracle type to arbitrum and zksync chaintype configs
Browse files Browse the repository at this point in the history
  • Loading branch information
ogtownsend committed Oct 17, 2024
1 parent 26e22eb commit 094bd8d
Show file tree
Hide file tree
Showing 16 changed files with 81 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ccip/config/evm/Arbitrum_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10

Expand Down
3 changes: 3 additions & 0 deletions ccip/config/evm/Arbitrum_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10

Expand Down
3 changes: 3 additions & 0 deletions ccip/config/evm/L3X_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ PriceMin = '0'
PriceDefault = '0.1 gwei'
FeeCapDefault = '1000 gwei'
BumpThreshold = 5

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
3 changes: 3 additions & 0 deletions ccip/config/evm/L3X_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ PriceMin = '0'
PriceDefault = '0.1 gwei'
FeeCapDefault = '1000 gwei'
BumpThreshold = 5

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
3 changes: 3 additions & 0 deletions ccip/config/evm/zkSync_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ PriceMin = '25 mwei'
# increasing this to smooth out gas estimation
BlockHistorySize = 200

[GasEstimator.DAOracle]
OracleType = 'zksync'

[HeadTracker]
# tracks top N blocks to keep in heads database table. Should store atleast the same # of blocks as finalityDepth
HistoryDepth = 1500
3 changes: 3 additions & 0 deletions ccip/config/evm/zkSync_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ PriceMin = '25 mwei'
# increasing this to smooth out gas estimation
BlockHistorySize = 200

[GasEstimator.DAOracle]
OracleType = 'zksync'

[HeadTracker]
# tracks top N blocks to keep in heads database table. Should store atleast the same # of blocks as finalityDepth
HistoryDepth = 250
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10

Expand Down
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10

Expand Down
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Rinkeby.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/Arbitrum_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ BumpThreshold = 5
# Force an error if someone set GAS_UPDATER_ENABLED=true by accident; we never want to run the block history estimator on arbitrum
BlockHistorySize = 0

[GasEstimator.DAOracle]
OracleType = 'arbitrum'

[NodePool]
SyncThreshold = 10

Expand Down
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/L3X_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ PriceMin = '0'
PriceDefault = '0.1 gwei'
FeeCapDefault = '1000 gwei'
BumpThreshold = 5

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/L3X_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ PriceMin = '0'
PriceDefault = '0.1 gwei'
FeeCapDefault = '1000 gwei'
BumpThreshold = 5

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/zkSync_Goerli.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ LimitDefault = 100_000_000
PriceMax = 18446744073709551615
PriceMin = 0

[GasEstimator.DAOracle]
OracleType = 'zksync'

[HeadTracker]
HistoryDepth = 50
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/zkSync_Mainnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ LimitDefault = 100_000_000
PriceMax = 18446744073709551615
PriceMin = 0

[GasEstimator.DAOracle]
OracleType = 'zksync'

[HeadTracker]
HistoryDepth = 50
3 changes: 3 additions & 0 deletions core/chains/evm/config/toml/defaults/zkSync_Sepolia.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ LimitDefault = 100_000_000
PriceMax = 18446744073709551615
PriceMin = 0

[GasEstimator.DAOracle]
OracleType = 'zksync'

[HeadTracker]
HistoryDepth = 50
36 changes: 36 additions & 0 deletions docs/CONFIG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4012,6 +4012,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'zksync'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 50
MaxBufferSize = 3
Expand Down Expand Up @@ -4324,6 +4328,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'zksync'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 50
MaxBufferSize = 3
Expand Down Expand Up @@ -4428,6 +4436,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'zksync'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 50
MaxBufferSize = 3
Expand Down Expand Up @@ -6112,6 +6124,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down Expand Up @@ -6217,6 +6233,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down Expand Up @@ -6322,6 +6342,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down Expand Up @@ -7905,6 +7929,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down Expand Up @@ -8010,6 +8038,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down Expand Up @@ -8114,6 +8146,10 @@ TransactionPercentile = 60
[GasEstimator.FeeHistory]
CacheTimeout = '10s'

[GasEstimator.DAOracle]
OracleType = 'arbitrum'
CustomGasPriceCalldata = ''

[HeadTracker]
HistoryDepth = 100
MaxBufferSize = 3
Expand Down

0 comments on commit 094bd8d

Please sign in to comment.