func (k Keeper) GetHistoricalInfo(ctx sdk.Context, height int64) (types.HistoricalInfo, bool) {
	store := ctx.KVStore(k.storeKey)
	key := types.GetHistoricalInfoKey(height)
	value := store.Get(key)
	if value == nil {
		return types.HistoricalInfo{}, false
	}
	hi := types.MustUnmarshalHistoricalInfo(k.cdc, value)
	return hi, true
}
GetHistoricalInfo gets the historical info at a given height
package keeper
import (
	"github.com/KuChainNetwork/kuchain/x/staking/types"
	sdk "github.com/cosmos/cosmos-sdk/types"
)