-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding TOML configs for B^2, BoB, Berachain, Unichain, Worldchain and…
… needed error mappings
- Loading branch information
1 parent
8e65aa8
commit f4547b3
Showing
10 changed files
with
181 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
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 |
---|---|---|
|
@@ -415,6 +415,8 @@ func Test_Eth_Errors_Fatal(t *testing.T) { | |
|
||
{"failed to forward tx to sequencer, please try again. Error message: 'invalid sender'", true, "Mantle"}, | ||
|
||
{"invalid chain ID", true, "Berachain"}, | ||
|
||
{"client error fatal", true, "tomlConfig"}, | ||
{"[Request ID: d9711488-4c1e-4af2-bc1f-7969913d7b60] Error invoking RPC: transaction [email protected] failed precheck with status INVALID_SIGNATURE", true, "hedera"}, | ||
{"invalid chain id for signer", true, "Treasure"}, | ||
|
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,22 @@ | ||
ChainID = '60808' | ||
# OP stack https://docs.gobob.xyz/learn/introduction/op-stack | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~850 | ||
FinalityDepth = 900 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
NoNewFinalizedHeadsThreshold = '10m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
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,22 @@ | ||
ChainID = '808813' | ||
# OP stack https://docs.gobob.xyz/learn/introduction/op-stack | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~850 | ||
FinalityDepth = 900 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
NoNewFinalizedHeadsThreshold = '10m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
18 changes: 18 additions & 0 deletions
18
core/chains/evm/config/toml/defaults/Berachain_Testnet.toml
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,18 @@ | ||
ChainID = '80084' | ||
# finality_depth: instant | ||
FinalityDepth = 10 | ||
# block_time: 5s | ||
LogPollInterval = '10s' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 5s | ||
CacheTimeout = '5s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
23 changes: 23 additions & 0 deletions
23
core/chains/evm/config/toml/defaults/Bsquared_Mainnet.toml
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,23 @@ | ||
ChainID = '223' | ||
# OP stack from questionnaire https://docs.google.com/spreadsheets/d/1l8dx1GzxEnjgwH5x3vB60FUr5iFALzPcs6W_wOAiuDs/edit?gid=625078687#gid=625078687 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~1900 | ||
FinalityDepth = 2000 | ||
# block_time: ~2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~66 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '70m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
23 changes: 23 additions & 0 deletions
23
core/chains/evm/config/toml/defaults/Bsquared_Testnet.toml
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,23 @@ | ||
ChainID = '1123' | ||
# OP stack from questionnaire https://docs.google.com/spreadsheets/d/1l8dx1GzxEnjgwH5x3vB60FUr5iFALzPcs6W_wOAiuDs/edit?gid=625078687#gid=625078687 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~1900 | ||
FinalityDepth = 2000 | ||
# block_time: ~2s | ||
LogPollInterval = '5s' | ||
|
||
# finality_depth * block_time / 60 secs = ~66 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '70m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
22 changes: 22 additions & 0 deletions
22
core/chains/evm/config/toml/defaults/Unichain_Testnet.toml
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,22 @@ | ||
ChainID = '1301' | ||
# OP stack: https://docs.unichain.org/docs/getting-started/set-up-a-node#overview | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~1900 | ||
FinalityDepth = 2000 | ||
# block_time was: ~1s | ||
LogPollInterval = '5s' | ||
|
||
NoNewFinalizedHeadsThreshold = '5m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 1s | ||
CacheTimeout = '1s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
22 changes: 22 additions & 0 deletions
22
core/chains/evm/config/toml/defaults/Worldchain_Mainnet.toml
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,22 @@ | ||
ChainID = '480' | ||
# OP stack: https://worldcoin.notion.site/World-Chain-Developer-Preview-Guide-23c94a67683f4e71986e5303ab88c9f3 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~2400 | ||
FinalityDepth = 2500 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
NoNewFinalizedHeadsThreshold = '10m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |
22 changes: 22 additions & 0 deletions
22
core/chains/evm/config/toml/defaults/Worldchain_Testnet.toml
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,22 @@ | ||
ChainID = '4801' | ||
# OP stack: https://worldcoin.notion.site/World-Chain-Developer-Preview-Guide-23c94a67683f4e71986e5303ab88c9f3 | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~2400 | ||
FinalityDepth = 2500 | ||
# block_time was: 2s | ||
LogPollInterval = '5s' | ||
|
||
NoNewFinalizedHeadsThreshold = '10m' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 2s | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 |