Skip to content

Commit

Permalink
add_lens_configs
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoluisam committed Nov 12, 2024
1 parent 0764376 commit 73bca64
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
21 changes: 21 additions & 0 deletions core/chains/evm/config/toml/defaults/Lens_Testnet.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ChainID = '37111'
ChainType = 'zksync'
# Lens has batches every 8 hours with a dynamic block time. Using 200 as compat tests gave 30-160 and adding cushioning
FinalityDepth = 200
FinalityTagEnabled = false
# block rate is dynamic, have seen block times as low as 1s
LogPollInterval = '5s'
# sufficient time for RPC to be labelled out of sync, since blockRate is pretty fast
NoNewHeadsThreshold = '10m'

[EVM.GasEstimator]
# no EIP1559 to ensure our estimator doesnot estimate gas with MaxPriorityFee which will break minFunding requirement
EIP1559DynamicFees = false
LimitDefault = 250_000_000
Mode = 'FeeHistory'
# The FeeHistory estimator does not enforce PriceMin, setting it to 0 to not place any limits on the price
PriceMin = '0'
BumpPercent = 40

[EVM.HeadTracker]
HistoryDepth = 250
29 changes: 29 additions & 0 deletions integration-tests/testconfig/ocr2/overrides/lens_sepolia.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[ChainlinkImage]
version = "845a5ca616ad9f974316819cc29102da783307d9"

[Network]
selected_networks = ["LENS_SEPOLIA"]

[Soak.Common]
chainlink_node_funding = 10

[Soak.OCR2]
[Soak.OCR2.Common]
test_duration = "24h"

[Soak.OCR2.Soak]
time_between_rounds = "5m"

[OCR2.Common]
number_of_contracts = 2

[Network.EVMNetworks.LENS_SEPOLIA]
evm_name = "LENS_SEPOLIA"
evm_chain_id = 37111
client_implementation = "Ethereum"
evm_simulated = false
evm_chainlink_transaction_limit = 5000
evm_minimum_confirmations = 1
evm_gas_estimation_buffer = 100000
evm_supports_eip1559 = true
evm_default_gas_limit = 6000000

0 comments on commit 73bca64

Please sign in to comment.