From 45c4394d997b6e50bb9cfc16c0255349d79e994b Mon Sep 17 00:00:00 2001 From: Inon Man <121477599+inon-man@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:03:05 +0900 Subject: [PATCH] fix: build error --- x/staking/keeper/msg_server.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x/staking/keeper/msg_server.go b/x/staking/keeper/msg_server.go index f697b240c3ad..4c4e70d4f1f8 100644 --- a/x/staking/keeper/msg_server.go +++ b/x/staking/keeper/msg_server.go @@ -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