-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modified finality_activation_height to be 48 hours after the u…
…pgrade
- Loading branch information
1 parent
8dc8c44
commit b90760d
Showing
1 changed file
with
8 additions
and
6 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 |
---|---|---|
@@ -1,17 +1,19 @@ | ||
package testnet | ||
|
||
// The finality parameters are in the upgrade just because his structure | ||
// The reason finality parameters are in the upgrade is because its structure | ||
// had an update and it is possible to overwrite during the upgrade. | ||
// The finality activation height is when the FP need to have their | ||
// program ready to start send finality signatures and it could be | ||
// the same block height where the allow list is expired in this case | ||
// babylon block height: 26120 | ||
// The finality activation height is when the FPs need to have their | ||
// programs ready to start sending finality signatures and it is defined | ||
// to be 48 hours after the upgrade, the upgrade will happen close to | ||
// block 200 and 48 hours of blocks with 10 seconds block time gives 17280 | ||
// blocks. In this case the finality activation block heigth will be set | ||
// as 17480 = 17280 (48hrs worth of blocks) + ~200 (blocks of TGE). | ||
const FinalityParamStr = `{ | ||
"max_active_finality_providers": 100, | ||
"signed_blocks_window": 100, | ||
"finality_sig_timeout": 3, | ||
"min_signed_per_window": "0.1", | ||
"min_pub_rand": 500, | ||
"jail_duration": "86400s", | ||
"finality_activation_height": 26120 | ||
"finality_activation_height": 17480 | ||
}` |