-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Lens TOML Config and Error Mapping (#15624)
* add lens config * add changeset
- Loading branch information
Showing
4 changed files
with
41 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
#added Lens Sepolia config |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ChainID = "37111" | ||
ChainType = "zksync" | ||
# finality depth for this chain is very inconsistent due to low network traffic. in testing blocks every ~1-2minutes were seen | ||
# confirmed this value with product | ||
FinalityDepth = 40 | ||
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 | ||
NoNewHeadsThreshold = "10m" | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = false | ||
# limit default set for zk based chains | ||
LimitDefault = 2_500_000_000 | ||
# value given by ds&a | ||
FeeCapDefault = "2000 gwei" | ||
# estimators typically estimated with min of 75 with median of 86 | ||
PriceDefault = "70 gwei" | ||
PriceMax = "2000 gwei" | ||
PriceMin = "70 gwei" | ||
# bump gas aggressively to avoid high amounts of transmit errors | ||
BumpThreshold = 1 | ||
BumpPercent = 40 | ||
|
||
[GasEstimator.DAOracle] | ||
OracleType = 'zksync' | ||
|
||
[Transactions] | ||
ResendAfterThreshold = '7m0s' | ||
|
||
[HeadTracker] | ||
# l1 batching is done every 8hrs with low network activity setting this value to a rough calculation of ~1tx / 2min * 8hrs | ||
HistoryDepth = 250 |
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