-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: create consts package with EthHappyPathFinalizationDepthBlocks…
… = 64
- Loading branch information
Showing
3 changed files
with
13 additions
and
3 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,8 @@ | ||
package consts | ||
|
||
// EthHappyPathFinalizationDepth is the number of blocks that must be included on top of a block for it to be considered "final", | ||
// under happy-path aka normal network conditions. | ||
// | ||
// See https://docs.optimism.io/stack/transactions/transaction-finality for a quick TLDR explanation, | ||
// or https://eth2book.info/capella/part3/transition/epoch/#finalisation for full details. | ||
var EthHappyPathFinalizationDepthBlocks = uint8(64) |
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