-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* OPCC: Add initial Ink Testnet config * add NoNewFinalizedHeadsThreshold * changes to allow using only https rpcs * revert back to use ws * OPCC: Remove comment * OPCC: make config-docs * OPCC: Add Ink mainnet toml config * OPCC: Generate Ink Mainnet docs --------- Co-authored-by: joaoluisam <[email protected]>
- Loading branch information
1 parent
6aa365d
commit 9594e82
Showing
3 changed files
with
274 additions
and
0 deletions.
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,28 @@ | ||
ChainID = '57073' | ||
# OP stack: https://github.com/inkonchain/node | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~2094 | ||
FinalityDepth = 3000 | ||
# block_time was: ~1s, adding 1 second buffer | ||
LogPollInterval = '2s' | ||
|
||
# batching_size_finalization_percentage = 30% according to the explorer batching view | ||
# ( batching_size_finalization_percentage * finality_depth) * block_time / 60 secs = ~10 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '60m0s' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 1s, per recommendation skip 1-2 blocks | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 | ||
|
||
[GasEstimator.DAOracle] | ||
OracleType = 'opstack' | ||
OracleAddress = '0x420000000000000000000000000000000000000F' |
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,28 @@ | ||
ChainID = '763373' | ||
# OP stack: https://github.com/inkonchain/node | ||
ChainType = 'optimismBedrock' | ||
# finality_depth was: ~2094 | ||
FinalityDepth = 3000 | ||
# block_time was: ~1s, adding 1 second buffer | ||
LogPollInterval = '2s' | ||
|
||
# batching_size_finalization_percentage = 30% according to the explorer batching view | ||
# ( batching_size_finalization_percentage * finality_depth) * block_time / 60 secs = ~10 min (finality time) | ||
NoNewFinalizedHeadsThreshold = '60m0s' | ||
|
||
FinalityTagEnabled = true | ||
|
||
[GasEstimator] | ||
EIP1559DynamicFees = true | ||
Mode = 'FeeHistory' | ||
|
||
[GasEstimator.FeeHistory] | ||
# block_time was: 1s, per recommendation skip 1-2 blocks | ||
CacheTimeout = '2s' | ||
|
||
[GasEstimator.BlockHistory] | ||
BlockHistorySize = 100 | ||
|
||
[GasEstimator.DAOracle] | ||
OracleType = 'opstack' | ||
OracleAddress = '0x420000000000000000000000000000000000000F' |
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