Skip to content

Commit

Permalink
chore: modified finality_activation_height to be 48 hours after the u…
Browse files Browse the repository at this point in the history
…pgrade
  • Loading branch information
RafilxTenfen committed Dec 9, 2024
1 parent 8dc8c44 commit b90760d
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions app/upgrades/v1/testnet/finality_params.go
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
}`

0 comments on commit b90760d

Please sign in to comment.