From 2eb8ddac69bfee0a64527f3611c2b791c398c880 Mon Sep 17 00:00:00 2001 From: Philip Offtermatt Date: Tue, 16 Jul 2024 11:39:02 +0200 Subject: [PATCH] Handle minStake and maxRank in Msgs --- .../ccv/provider/v1/tx.proto | 8 + x/ccv/provider/keeper/legacy_proposal.go | 2 + x/ccv/provider/keeper/legacy_proposal_test.go | 4 +- x/ccv/provider/keeper/proposal.go | 2 + x/ccv/provider/keeper/proposal_test.go | 4 + x/ccv/provider/types/tx.pb.go | 365 +++++++++++++----- 6 files changed, 276 insertions(+), 109 deletions(-) diff --git a/proto/interchain_security/ccv/provider/v1/tx.proto b/proto/interchain_security/ccv/provider/v1/tx.proto index 4f8aaaf9ad..1a8cb054cd 100644 --- a/proto/interchain_security/ccv/provider/v1/tx.proto +++ b/proto/interchain_security/ccv/provider/v1/tx.proto @@ -183,6 +183,10 @@ message MsgConsumerAddition { repeated string denylist = 17; // signer address string authority = 18 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. + int64 min_stake = 19; + // Corresponds to the maximal rank in the provider chain validator set that a validator can have to validate on the consumer chain. + int32 max_rank = 20; } // MsgConsumerAdditionResponse defines response type for MsgConsumerAddition messages @@ -320,6 +324,10 @@ message MsgConsumerModification { repeated string denylist = 8; // signer address string authority = 9 [(cosmos_proto.scalar) = "cosmos.AddressString"]; + // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. + int64 min_stake = 10; + // Corresponds to the maximal rank in the provider chain validator set that a validator can have to validate on the consumer chain. + int32 max_rank = 11; } message MsgConsumerModificationResponse {} diff --git a/x/ccv/provider/keeper/legacy_proposal.go b/x/ccv/provider/keeper/legacy_proposal.go index 19ad553038..c35f9fd73f 100644 --- a/x/ccv/provider/keeper/legacy_proposal.go +++ b/x/ccv/provider/keeper/legacy_proposal.go @@ -92,6 +92,8 @@ func (k Keeper) HandleLegacyConsumerModificationProposal(ctx sdk.Context, p *typ k.SetTopN(ctx, p.ChainId, p.Top_N) k.SetValidatorsPowerCap(ctx, p.ChainId, p.ValidatorsPowerCap) k.SetValidatorSetCap(ctx, p.ChainId, p.ValidatorSetCap) + k.SetMinStake(ctx, p.ChainId, p.MinStake) + k.SetMaxValidatorRank(ctx, p.ChainId, p.MaxRank) k.DeleteAllowlist(ctx, p.ChainId) for _, address := range p.Allowlist { diff --git a/x/ccv/provider/keeper/legacy_proposal_test.go b/x/ccv/provider/keeper/legacy_proposal_test.go index 0de2a9e5e2..c2d4f243ad 100644 --- a/x/ccv/provider/keeper/legacy_proposal_test.go +++ b/x/ccv/provider/keeper/legacy_proposal_test.go @@ -294,8 +294,8 @@ func TestHandleConsumerModificationProposal(t *testing.T) { expectedValidatorSetCap := uint32(20) expectedAllowlistedValidator := "cosmosvalcons1wpex7anfv3jhystyv3eq20r35a" expectedDenylistedValidator := "cosmosvalcons1nx7n5uh0ztxsynn4sje6eyq2ud6rc6klc96w39" - expectedMinStake := 0 - expectedMaxValidatorRank := 20 + expectedMinStake := int64(0) + expectedMaxValidatorRank := int32(20) proposal := providertypes.NewConsumerModificationProposal("title", "description", chainID, expectedTopN, expectedValidatorsPowerCap, diff --git a/x/ccv/provider/keeper/proposal.go b/x/ccv/provider/keeper/proposal.go index c3a347290b..df600e0a5c 100644 --- a/x/ccv/provider/keeper/proposal.go +++ b/x/ccv/provider/keeper/proposal.go @@ -78,6 +78,8 @@ func (k Keeper) HandleConsumerModificationProposal(ctx sdk.Context, proposal *ty ValidatorSetCap: proposal.ValidatorSetCap, Allowlist: proposal.Allowlist, Denylist: proposal.Denylist, + MinStake: proposal.MinStake, + MaxRank: proposal.MaxRank, } return k.HandleLegacyConsumerModificationProposal(ctx, &p) diff --git a/x/ccv/provider/keeper/proposal_test.go b/x/ccv/provider/keeper/proposal_test.go index ff7660019a..225d73282c 100644 --- a/x/ccv/provider/keeper/proposal_test.go +++ b/x/ccv/provider/keeper/proposal_test.go @@ -930,6 +930,10 @@ func TestBeginBlockInit(t *testing.T) { valAddr, _ := sdk.ValAddressFromBech32(validator.GetOperator()) mocks.MockStakingKeeper.EXPECT().GetLastValidatorPower(gomock.Any(), valAddr).Return(int64(1), nil).AnyTimes() + + // for each validator, expect a call to GetValidatorByConsAddr with its consensus address + mocks.MockStakingKeeper.EXPECT().GetValidatorByConsAddr(gomock.Any(), consAddr).Return(validator, nil).AnyTimes() + providerKeeper.SetOptedIn(ctx, pendingProps[4].ChainId, providertypes.NewProviderConsAddress(consAddr)) providerKeeper.BeginBlockInit(ctx) diff --git a/x/ccv/provider/types/tx.pb.go b/x/ccv/provider/types/tx.pb.go index a297ccbfb7..3e77c7058e 100644 --- a/x/ccv/provider/types/tx.pb.go +++ b/x/ccv/provider/types/tx.pb.go @@ -447,6 +447,10 @@ type MsgConsumerAddition struct { Denylist []string `protobuf:"bytes,17,rep,name=denylist,proto3" json:"denylist,omitempty"` // signer address Authority string `protobuf:"bytes,18,opt,name=authority,proto3" json:"authority,omitempty"` + // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. + MinStake int64 `protobuf:"varint,19,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` + // Corresponds to the maximal rank in the provider chain validator set that a validator can have to validate on the consumer chain. + MaxRank int32 `protobuf:"varint,20,opt,name=max_rank,json=maxRank,proto3" json:"max_rank,omitempty"` } func (m *MsgConsumerAddition) Reset() { *m = MsgConsumerAddition{} } @@ -608,6 +612,20 @@ func (m *MsgConsumerAddition) GetAuthority() string { return "" } +func (m *MsgConsumerAddition) GetMinStake() int64 { + if m != nil { + return m.MinStake + } + return 0 +} + +func (m *MsgConsumerAddition) GetMaxRank() int32 { + if m != nil { + return m.MaxRank + } + return 0 +} + // MsgConsumerAdditionResponse defines response type for MsgConsumerAddition messages type MsgConsumerAdditionResponse struct { } @@ -1131,6 +1149,10 @@ type MsgConsumerModification struct { Denylist []string `protobuf:"bytes,8,rep,name=denylist,proto3" json:"denylist,omitempty"` // signer address Authority string `protobuf:"bytes,9,opt,name=authority,proto3" json:"authority,omitempty"` + // Corresponds to the minimal amount of (provider chain) stake required to validate on the consumer chain. + MinStake int64 `protobuf:"varint,10,opt,name=min_stake,json=minStake,proto3" json:"min_stake,omitempty"` + // Corresponds to the maximal rank in the provider chain validator set that a validator can have to validate on the consumer chain. + MaxRank int32 `protobuf:"varint,11,opt,name=max_rank,json=maxRank,proto3" json:"max_rank,omitempty"` } func (m *MsgConsumerModification) Reset() { *m = MsgConsumerModification{} } @@ -1229,6 +1251,20 @@ func (m *MsgConsumerModification) GetAuthority() string { return "" } +func (m *MsgConsumerModification) GetMinStake() int64 { + if m != nil { + return m.MinStake + } + return 0 +} + +func (m *MsgConsumerModification) GetMaxRank() int32 { + if m != nil { + return m.MaxRank + } + return 0 +} + type MsgConsumerModificationResponse struct { } @@ -1295,113 +1331,116 @@ func init() { } var fileDescriptor_43221a4391e9fbf4 = []byte{ - // 1689 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x58, 0xcf, 0x6f, 0xe4, 0x48, - 0x15, 0x8e, 0xf3, 0x6b, 0xba, 0xab, 0xf3, 0xd3, 0x93, 0x90, 0x8e, 0x37, 0xdb, 0x9d, 0x34, 0xcb, - 0x6e, 0x34, 0x6c, 0xec, 0x9d, 0xc0, 0xce, 0x42, 0xb4, 0x08, 0x92, 0xf4, 0xc2, 0x64, 0x20, 0x93, - 0xe0, 0x09, 0x8b, 0x04, 0x12, 0x56, 0xb5, 0x5d, 0x71, 0x97, 0xc6, 0x76, 0x59, 0x55, 0xd5, 0x9d, - 0xed, 0x1b, 0xda, 0x13, 0x12, 0x02, 0x2d, 0x37, 0xc4, 0x69, 0x0f, 0x08, 0x81, 0x04, 0xd2, 0x1c, - 0xf6, 0xc4, 0x8d, 0xdb, 0x1c, 0x38, 0x2c, 0x2b, 0x0e, 0x88, 0xc3, 0x80, 0x66, 0x0e, 0xcb, 0x99, - 0xbf, 0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x51, 0x4d, 0xd8, 0xe2, 0x4d, 0x22, 0x56, 0xf4, 0x67, 0x57, - 0x33, 0x83, 0xea, 0x47, 0x60, 0x36, 0x96, 0x0c, 0xaa, 0x78, 0x5f, 0x34, 0x87, 0xe8, 0x9f, 0x66, - 0x32, 0xe9, 0xc1, 0xf4, 0xd3, 0x67, 0xd5, 0x09, 0x5b, 0x11, 0xec, 0x2d, 0x48, 0x3f, 0x19, 0x75, - 0x6d, 0x1d, 0xac, 0x5d, 0x52, 0x99, 0x39, 0xf8, 0x59, 0x01, 0xdc, 0x3e, 0x66, 0x7e, 0xea, 0x72, - 0xdf, 0xf3, 0xb0, 0xa8, 0xd2, 0xa0, 0x06, 0xf0, 0x2d, 0xb0, 0x80, 0x23, 0xcc, 0x31, 0x0c, 0x9c, - 0x26, 0x12, 0xa5, 0x57, 0x82, 0x0d, 0x79, 0x33, 0x44, 0xd3, 0x33, 0x55, 0xab, 0x93, 0x37, 0x40, - 0x20, 0x94, 0xbe, 0x79, 0x95, 0x97, 0x0c, 0x8a, 0x86, 0xe0, 0xa3, 0x08, 0x31, 0xcc, 0x9c, 0x26, - 0x64, 0x4d, 0x79, 0x4f, 0xe7, 0xec, 0x92, 0x1a, 0xbb, 0x0f, 0x59, 0x53, 0xaf, 0x82, 0x52, 0x03, - 0x47, 0x90, 0x76, 0x12, 0xc4, 0xb4, 0x44, 0x80, 0x64, 0x48, 0x02, 0x0e, 0x01, 0x60, 0x31, 0xbc, - 0x88, 0x1c, 0xb1, 0x0d, 0x94, 0x67, 0x94, 0x90, 0xa4, 0xc5, 0x9b, 0x69, 0x8b, 0x37, 0xcf, 0xd2, - 0x3d, 0xe2, 0xa0, 0x20, 0x84, 0x7c, 0xf0, 0x8f, 0xaa, 0x66, 0x17, 0x65, 0x9e, 0x88, 0xe8, 0x0f, - 0xc1, 0x52, 0x2b, 0x6a, 0x90, 0xc8, 0xc3, 0x91, 0xef, 0xc4, 0x88, 0x62, 0xe2, 0x95, 0x67, 0x25, -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, 0xf1, 0x43, 0xfd, 0x0d, 0xb0, 0xd2, 0x86, 0x01, 0xf6, 0x20, - 0x27, 0x94, 0x39, 0x31, 0xb9, 0x40, 0xd4, 0x71, 0x61, 0x5c, 0x5e, 0x90, 0x18, 0xbd, 0x1b, 0x3b, - 0x15, 0xa1, 0x43, 0x18, 0xeb, 0x77, 0xc0, 0x72, 0x36, 0xea, 0x30, 0xc4, 0x25, 0x7c, 0x51, 0xc2, - 0x17, 0xb3, 0xc0, 0x23, 0xc4, 0x05, 0x76, 0x03, 0x14, 0x61, 0x10, 0x90, 0x8b, 0x00, 0x33, 0x5e, - 0x5e, 0xda, 0x9c, 0xda, 0x2e, 0xda, 0xdd, 0x01, 0xdd, 0x00, 0x05, 0x0f, 0x45, 0x1d, 0x19, 0x5c, - 0x96, 0xc1, 0xec, 0xba, 0xb7, 0xeb, 0xe8, 0x43, 0x77, 0x9d, 0x2b, 0xad, 0xe2, 0x65, 0xf0, 0x52, - 0x9f, 0x76, 0x90, 0xb5, 0x8b, 0x3f, 0x6a, 0x40, 0xcf, 0xc5, 0x6d, 0x14, 0x92, 0x36, 0x0c, 0x06, - 0x75, 0x8b, 0x7d, 0x50, 0x64, 0xa2, 0x8c, 0x72, 0x7d, 0x4e, 0x8e, 0xb0, 0x3e, 0x0b, 0x22, 0x4d, - 0x2e, 0xcf, 0x1e, 0x6f, 0x53, 0xe3, 0x7b, 0xdb, 0x00, 0xc6, 0x55, 0xed, 0x99, 0xb5, 0x3f, 0x68, - 0x60, 0x55, 0x84, 0x9b, 0x30, 0xf2, 0x91, 0x8d, 0x2e, 0x20, 0xf5, 0xea, 0x28, 0x22, 0x21, 0xd3, - 0x6b, 0x60, 0xde, 0x93, 0xff, 0x1c, 0x4e, 0xc4, 0x91, 0xa7, 0xac, 0xc9, 0xe2, 0x97, 0x92, 0xc1, - 0x33, 0xb2, 0xef, 0x79, 0xfa, 0x36, 0x58, 0xea, 0x62, 0xa8, 0xa0, 0x16, 0x6e, 0x05, 0x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0x43, 0x27, 0x2c, 0x12, 0x48, 0xb4, 0xca, 0xdd, 0x95, 0x76, 0x69, 0xdc, 0x55, 0xad, 0xaa, 0xb2, + 0x13, 0xdf, 0xd0, 0x9e, 0x40, 0x48, 0x68, 0xb9, 0x21, 0x4e, 0x7b, 0x40, 0x08, 0x24, 0x90, 0x72, + 0xd8, 0x13, 0x37, 0x0e, 0x48, 0x39, 0x70, 0x58, 0xad, 0x38, 0x20, 0x0e, 0x01, 0x25, 0x87, 0xe5, + 0xcc, 0x5f, 0x80, 0xaa, 0xba, 0xba, 0xdd, 0x9e, 0x0f, 0xaf, 0x67, 0x02, 0x07, 0x2e, 0x96, 0xab, + 0xde, 0xef, 0xfd, 0xde, 0xfb, 0xbd, 0xea, 0x7a, 0x55, 0xdd, 0xf0, 0x06, 0xa1, 0x12, 0xf3, 0xa0, + 0x8d, 0x08, 0xf5, 0x05, 0x0e, 0xba, 0x9c, 0xc8, 0xbe, 0x1b, 0x04, 0x3d, 0x37, 0xe1, 0xac, 0x47, + 0x42, 0xcc, 0xdd, 0xde, 0x75, 0x57, 0x3e, 0x76, 0x12, 0xce, 0x24, 0xb3, 0x3f, 0x7f, 0x02, 0xda, + 0x09, 0x82, 0x9e, 0x93, 0xa1, 0x9d, 0xde, 0xf5, 0xda, 0x12, 0x8a, 0x09, 0x65, 0xae, 0xfe, 0x4d, + 0xfd, 0x6a, 0x57, 0x22, 0xc6, 0xa2, 0x0e, 0x76, 0x51, 0x42, 0x5c, 0x44, 0x29, 0x93, 0x48, 0x12, + 0x46, 0x85, 0xb1, 0x36, 0x8c, 0x55, 0x8f, 0x5a, 0xdd, 0x87, 0xae, 0x24, 0x31, 0x16, 0x12, 0xc5, + 0x89, 0x01, 0xd4, 0x8f, 0x02, 0xc2, 0x2e, 0xd7, 0x0c, 0xc6, 0xbe, 0x76, 0xd4, 0x8e, 0x68, 0xdf, + 0x98, 0x56, 0x22, 0x16, 0x31, 0xfd, 0xd7, 0x55, 0xff, 0x32, 0x87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e, 0xf1, 0x83, 0xaf, 0x45, 0x44, 0xb6, + 0xbb, 0x2d, 0x27, 0x60, 0xb1, 0xf9, 0x2a, 0xea, 0x0e, 0xe2, 0x6e, 0xe6, 0x1f, 0x35, 0x7b, 0x6f, + 0xb9, 0x8f, 0x87, 0xbf, 0x6c, 0xea, 0x2f, 0x41, 0xad, 0x19, 0x7d, 0x8b, 0xff, 0xd2, 0x7f, 0x02, + 0x00, 0x00, 0xff, 0xff, 0x20, 0x80, 0x9a, 0xb0, 0x55, 0x16, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -2107,6 +2146,20 @@ func (m *MsgConsumerAddition) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l + if m.MaxRank != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MaxRank)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0xa0 + } + if m.MinStake != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MinStake)) + i-- + dAtA[i] = 0x1 + i-- + dAtA[i] = 0x98 + } if len(m.Authority) > 0 { i -= len(m.Authority) copy(dAtA[i:], m.Authority) @@ -2636,6 +2689,16 @@ func (m *MsgConsumerModification) MarshalToSizedBuffer(dAtA []byte) (int, error) _ = i var l int _ = l + if m.MaxRank != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MaxRank)) + i-- + dAtA[i] = 0x58 + } + if m.MinStake != 0 { + i = encodeVarintTx(dAtA, i, uint64(m.MinStake)) + i-- + dAtA[i] = 0x50 + } if len(m.Authority) > 0 { i -= len(m.Authority) copy(dAtA[i:], m.Authority) @@ -2915,6 +2978,12 @@ func (m *MsgConsumerAddition) Size() (n int) { if l > 0 { n += 2 + l + sovTx(uint64(l)) } + if m.MinStake != 0 { + n += 2 + sovTx(uint64(m.MinStake)) + } + if m.MaxRank != 0 { + n += 2 + sovTx(uint64(m.MaxRank)) + } return n } @@ -3124,6 +3193,12 @@ func (m *MsgConsumerModification) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } + if m.MinStake != 0 { + n += 1 + sovTx(uint64(m.MinStake)) + } + if m.MaxRank != 0 { + n += 1 + sovTx(uint64(m.MaxRank)) + } return n } @@ -4456,6 +4531,44 @@ func (m *MsgConsumerAddition) Unmarshal(dAtA []byte) error { } m.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 19: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinStake", wireType) + } + m.MinStake = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinStake |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 20: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRank", wireType) + } + m.MaxRank = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRank |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) @@ -5820,6 +5933,44 @@ func (m *MsgConsumerModification) Unmarshal(dAtA []byte) error { } m.Authority = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex + case 10: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MinStake", wireType) + } + m.MinStake = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MinStake |= int64(b&0x7F) << shift + if b < 0x80 { + break + } + } + case 11: + if wireType != 0 { + return fmt.Errorf("proto: wrong wireType = %d for field MaxRank", wireType) + } + m.MaxRank = 0 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + m.MaxRank |= int32(b&0x7F) << shift + if b < 0x80 { + break + } + } default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:])