diff --git a/CHANGELOG.md b/CHANGELOG.md index f909c24bfb..666321b346 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ## v5.0.0 -❗ *The provider module should never not be used with this version.* +❗ *The provider module should not be used with this version.* *May 9, 2024* diff --git a/testutil/keeper/mocks.go b/testutil/keeper/mocks.go index 8e2c552c95..7beb0c0bcd 100644 --- a/testutil/keeper/mocks.go +++ b/testutil/keeper/mocks.go @@ -107,21 +107,6 @@ func (mr *MockStakingKeeperMockRecorder) GetLastValidatorPower(ctx, operator int return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLastValidatorPower", reflect.TypeOf((*MockStakingKeeper)(nil).GetLastValidatorPower), ctx, operator) } -// GetLastValidators mocks base method. -func (m *MockStakingKeeper) GetLastValidators(ctx context.Context) ([]types3.Validator, error) { - m.ctrl.T.Helper() - ret := m.ctrl.Call(m, "GetLastValidators", ctx) - ret0, _ := ret[0].([]types3.Validator) - ret1, _ := ret[1].(error) - return ret0, ret1 -} - -// GetLastValidators indicates an expected call of GetLastValidators. -func (mr *MockStakingKeeperMockRecorder) GetLastValidators(ctx interface{}) *gomock.Call { - mr.mock.ctrl.T.Helper() - return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLastValidators", reflect.TypeOf((*MockStakingKeeper)(nil).GetLastValidators), ctx) -} - // GetRedelegationByUnbondingID mocks base method. func (m *MockStakingKeeper) GetRedelegationByUnbondingID(ctx context.Context, id uint64) (types3.Redelegation, error) { m.ctrl.T.Helper() diff --git a/x/ccv/provider/types/tx.pb.go b/x/ccv/provider/types/tx.pb.go index a297ccbfb7..debc79ba02 100644 --- a/x/ccv/provider/types/tx.pb.go +++ b/x/ccv/provider/types/tx.pb.go @@ -374,7 +374,7 @@ func (m *MsgUpdateParamsResponse) XXX_DiscardUnknown() { var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo // MsgConsumerAddition defines the message used to spawn a new consumer chain using a v1 governance proposal. -// If it passes, then all ˝validators on the provider chain are expected to validate +// If it passes, then all validators on the provider chain are expected to validate // the consumer chain at spawn time or get slashed. // It is recommended that spawn time occurs after the proposal end time. // diff --git a/x/ccv/types/expected_keepers.go b/x/ccv/types/expected_keepers.go index a25cfe467e..fbfbd61111 100644 --- a/x/ccv/types/expected_keepers.go +++ b/x/ccv/types/expected_keepers.go @@ -47,7 +47,6 @@ type StakingKeeper interface { Delegation(ctx context.Context, addr sdk.AccAddress, valAddr sdk.ValAddress) (stakingtypes.DelegationI, error) MaxValidators(ctx context.Context) (uint32, error) GetLastTotalPower(ctx context.Context) (math.Int, error) - GetLastValidators(ctx context.Context) ([]stakingtypes.Validator, error) BondDenom(ctx context.Context) (string, error) GetUnbondingDelegationsFromValidator(ctx context.Context, valAddr sdk.ValAddress) ([]stakingtypes.UnbondingDelegation, error) GetRedelegationsFromSrcValidator(ctx context.Context, valAddr sdk.ValAddress) ([]stakingtypes.Redelegation, error)