Skip to content

Commit

Permalink
fix: build error
Browse files Browse the repository at this point in the history
  • Loading branch information
inon-man committed Jan 20, 2023
1 parent 60c49a9 commit 45c4394
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions x/staking/keeper/msg_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking/types"
)

// StakingPowerUpgradeHeight defines the block height after which messages that
// would impact staking power are no longer supported.
const StakingPowerUpgradeHeight = 7603700

// StakingPowerRevertHeight re-enables the creation of validators after this
// block height. This has been computed as approximately October 26, 2022. 84 days from August 3
// 10 * 60 min * 24 hrs * 84 days = 1,209,600 blocks
Expand Down

0 comments on commit 45c4394

Please sign in to comment.