-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update approx block duration to ~5.5s (#1712)
* Update approx block duration to ~5.5s * Add changeset
- Loading branch information
1 parent
e4a4dd7
commit c7aa17b
Showing
2 changed files
with
6 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 @@ | ||
--- | ||
'minifront': minor | ||
--- | ||
|
||
Update approx block duration to ~5.5s |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
const APPROX_BLOCK_DURATION_MS = 5_000n; | ||
const APPROX_BLOCK_DURATION_MS = 5_500n; | ||
const MINUTE_MS = 60_000n; | ||
export const BLOCKS_PER_MINUTE = MINUTE_MS / APPROX_BLOCK_DURATION_MS; | ||
export const BLOCKS_PER_HOUR = BLOCKS_PER_MINUTE * 60n; |