diff --git a/docs/ibc/proto-docs.md b/docs/ibc/proto-docs.md index 96ee2ea6757..5eaf8aaedb3 100644 --- a/docs/ibc/proto-docs.md +++ b/docs/ibc/proto-docs.md @@ -3174,6 +3174,18 @@ MsgChannelUpgradeInitResponse defines the MsgChannelUpgradeInit response type MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc +| Field | Type | Label | Description | +| ----- | ---- | ----- | ----------- | +| `port_id` | [string](#string) | | | +| `channel_id` | [string](#string) | | | +| `counterparty_channel` | [Channel](#ibc.core.channel.v1.Channel) | | | +| `previous_error_receipt` | [ErrorReceipt](#ibc.core.channel.v1.ErrorReceipt) | | | +| `proof_channel` | [bytes](#bytes) | | | +| `proof_error_receipt` | [bytes](#bytes) | | | +| `proof_height` | [ibc.core.client.v1.Height](#ibc.core.client.v1.Height) | | | +| `signer` | [string](#string) | | | + + diff --git a/modules/core/04-channel/types/msgs.go b/modules/core/04-channel/types/msgs.go index 0f2bf9d8449..205f8be5b4a 100644 --- a/modules/core/04-channel/types/msgs.go +++ b/modules/core/04-channel/types/msgs.go @@ -2,7 +2,6 @@ package types import ( "encoding/base64" - "errors" sdk "github.com/cosmos/cosmos-sdk/types" sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" @@ -764,18 +763,64 @@ var _ sdk.Msg = &MsgChannelUpgradeTimeout{} // NewMsgChannelUpgradeTimeout constructs a new MsgChannelUpgradeTimeout // nolint:interfacer -func NewMsgChannelUpgradeTimeout() *MsgChannelUpgradeTimeout { - return &MsgChannelUpgradeTimeout{} +func NewMsgChannelUpgradeTimeout( + portID, channelID string, + counterpartyChannel Channel, + errorReceipt ErrorReceipt, + proofChannel, proofErrorReceipt []byte, + proofHeight clienttypes.Height, + signer string, +) *MsgChannelUpgradeTimeout { + return &MsgChannelUpgradeTimeout{ + PortId: portID, + ChannelId: channelID, + CounterpartyChannel: counterpartyChannel, + PreviousErrorReceipt: errorReceipt, + ProofChannel: proofChannel, + ProofErrorReceipt: proofErrorReceipt, + ProofHeight: proofHeight, + Signer: signer, + } } // ValidateBasic implements sdk.Msg func (msg MsgChannelUpgradeTimeout) ValidateBasic() error { - return errors.New("error method not implemented") + if err := host.PortIdentifierValidator(msg.PortId); err != nil { + return sdkerrors.Wrap(err, "invalid port ID") + } + + if !IsValidChannelID(msg.ChannelId) { + return ErrInvalidChannelIdentifier + } + + if len(msg.ProofChannel) == 0 { + return sdkerrors.Wrap(commitmenttypes.ErrInvalidProof, "cannot submit an empty proof") + } + + if msg.ProofHeight.IsZero() { + return sdkerrors.Wrap(sdkerrors.ErrInvalidHeight, "proof height must be non-zero") + } + + if msg.CounterpartyChannel.State != OPEN { + return sdkerrors.Wrapf(ErrInvalidChannelState, "expected: %s, got: %s", OPEN, msg.CounterpartyChannel.State) + } + + _, err := sdk.AccAddressFromBech32(msg.Signer) + if err != nil { + return sdkerrors.Wrapf(sdkerrors.ErrInvalidAddress, "string could not be parsed as address: %v", err) + } + + return nil } // GetSigners implements sdk.Msg func (msg MsgChannelUpgradeTimeout) GetSigners() []sdk.AccAddress { - return []sdk.AccAddress{} + signer, err := sdk.AccAddressFromBech32(msg.Signer) + if err != nil { + panic(err) + } + + return []sdk.AccAddress{signer} } var _ sdk.Msg = &MsgChannelUpgradeCancel{} diff --git a/modules/core/04-channel/types/msgs_test.go b/modules/core/04-channel/types/msgs_test.go index b72d9dba14d..87a36a0fa7a 100644 --- a/modules/core/04-channel/types/msgs_test.go +++ b/modules/core/04-channel/types/msgs_test.go @@ -809,6 +809,99 @@ func (suite *TypesTestSuite) TestMsgChannelUpgradeConfirmValidateBasic() { } } +func (suite *TypesTestSuite) TestMsgChannelUpgradeTimeoutValidateBasic() { + var msg *types.MsgChannelUpgradeTimeout + + testCases := []struct { + name string + malleate func() + expPass bool + }{ + { + "success", + func() {}, + true, + }, + { + "invalid port identifier", + func() { + msg.PortId = invalidPort + }, + false, + }, + { + "invalid channel identifier", + func() { + msg.ChannelId = invalidChannel + }, + false, + }, + { + "cannot submit an empty proof", + func() { + msg.ProofChannel = emptyProof + }, + false, + }, + { + "proof height must be > 0", + func() { + msg.ProofHeight = clienttypes.ZeroHeight() + }, + false, + }, + { + "invalid counterparty channel state", + func() { + msg.CounterpartyChannel.State = types.TRYUPGRADE + }, + false, + }, + { + "missing signer address", + func() { + msg.Signer = emptyAddr + }, + false, + }, + } + + for _, tc := range testCases { + tc := tc + suite.Run(tc.name, func() { + msg = types.NewMsgChannelUpgradeTimeout( + ibctesting.MockPort, ibctesting.FirstChannelID, + types.Channel{State: types.OPEN}, types.ErrorReceipt{}, + suite.proof, suite.proof, + height, addr, + ) + + tc.malleate() + err := msg.ValidateBasic() + + if tc.expPass { + suite.Require().NoError(err) + } else { + suite.Require().Error(err) + } + }) + } +} + +func (suite *TypesTestSuite) TestMsgChannelUpgradeTimeoutGetSigners() { + expSigner, err := sdk.AccAddressFromBech32(addr) + suite.Require().NoError(err) + + msg := types.NewMsgChannelUpgradeTimeout( + ibctesting.MockPort, ibctesting.FirstChannelID, + types.Channel{}, types.ErrorReceipt{}, + suite.proof, suite.proof, + height, addr, + ) + + suite.Require().Equal([]sdk.AccAddress{expSigner}, msg.GetSigners()) +} + func (suite *TypesTestSuite) TestMsgChannelUpgradeCancelValidateBasic() { var msg *types.MsgChannelUpgradeCancel diff --git a/modules/core/04-channel/types/tx.pb.go b/modules/core/04-channel/types/tx.pb.go index c2f814943d9..359060b801f 100644 --- a/modules/core/04-channel/types/tx.pb.go +++ b/modules/core/04-channel/types/tx.pb.go @@ -1221,6 +1221,14 @@ var xxx_messageInfo_MsgChannelUpgradeConfirmResponse proto.InternalMessageInfo // MsgChannelUpgradeTimeout defines the request type for the ChannelUpgradeTimeout rpc type MsgChannelUpgradeTimeout struct { + PortId string `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty" yaml:"port_id"` + ChannelId string `protobuf:"bytes,2,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty" yaml:"channel_id"` + CounterpartyChannel Channel `protobuf:"bytes,3,opt,name=counterparty_channel,json=counterpartyChannel,proto3" json:"counterparty_channel" yaml:"counterparty_channel"` + PreviousErrorReceipt ErrorReceipt `protobuf:"bytes,4,opt,name=previous_error_receipt,json=previousErrorReceipt,proto3" json:"previous_error_receipt" yaml:"previous_error_receipt"` + ProofChannel []byte `protobuf:"bytes,5,opt,name=proof_channel,json=proofChannel,proto3" json:"proof_channel,omitempty" yaml:"proof_channel"` + ProofErrorReceipt []byte `protobuf:"bytes,6,opt,name=proof_error_receipt,json=proofErrorReceipt,proto3" json:"proof_error_receipt,omitempty" yaml:"proof_error_receipt"` + ProofHeight types.Height `protobuf:"bytes,7,opt,name=proof_height,json=proofHeight,proto3" json:"proof_height" yaml:"proof_height"` + Signer string `protobuf:"bytes,8,opt,name=signer,proto3" json:"signer,omitempty"` } func (m *MsgChannelUpgradeTimeout) Reset() { *m = MsgChannelUpgradeTimeout{} } @@ -1412,122 +1420,125 @@ func init() { func init() { proto.RegisterFile("ibc/core/channel/v1/tx.proto", fileDescriptor_bc4637e0ac3fc7b7) } var fileDescriptor_bc4637e0ac3fc7b7 = []byte{ - // 1831 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x5a, 0x4d, 0x6f, 0xdb, 0xca, - 0x15, 0x95, 0x64, 0x59, 0xb2, 0xaf, 0xbf, 0x64, 0xca, 0x76, 0x14, 0xda, 0x16, 0x65, 0xb6, 0x88, - 0xdd, 0xb4, 0x96, 0x62, 0xc7, 0x46, 0x91, 0xa0, 0x45, 0x61, 0xa9, 0x0a, 0x6a, 0xb4, 0xfe, 0x00, - 0x25, 0xb7, 0x68, 0x5a, 0x54, 0x95, 0xa9, 0x89, 0x4c, 0x48, 0x22, 0x15, 0x92, 0x52, 0xa2, 0x02, - 0x45, 0x57, 0x01, 0x82, 0xac, 0xb2, 0x0e, 0x10, 0x20, 0x45, 0x57, 0x45, 0x17, 0xcd, 0xcf, 0xc8, - 0x32, 0xbb, 0xa6, 0x6f, 0x21, 0x04, 0xc9, 0xe6, 0xad, 0xf5, 0x0b, 0x1e, 0x38, 0x1c, 0x52, 0xa4, - 0x48, 0x46, 0x54, 0x62, 0x39, 0xef, 0xad, 0x4c, 0xce, 0x1c, 0xde, 0x3b, 0x73, 0xee, 0x99, 0x3b, - 0x73, 0xc7, 0x82, 0x35, 0xe1, 0x9c, 0xcf, 0xf0, 0x92, 0x8c, 0x32, 0xfc, 0x45, 0x59, 0x14, 0x51, - 0x3d, 0xd3, 0xde, 0xc9, 0xa8, 0x8f, 0xd3, 0x4d, 0x59, 0x52, 0x25, 0x2a, 0x2e, 0x9c, 0xf3, 0x69, - 0xad, 0x37, 0x4d, 0x7a, 0xd3, 0xed, 0x1d, 0x7a, 0xa9, 0x2a, 0x55, 0x25, 0xdc, 0x9f, 0xd1, 0x9e, - 0x74, 0x28, 0xcd, 0xf4, 0x0d, 0xd5, 0x05, 0x24, 0xaa, 0x9a, 0x1d, 0xfd, 0x89, 0x00, 0x36, 0xdc, - 0x3c, 0x19, 0x66, 0x3f, 0x01, 0x69, 0x35, 0xab, 0x72, 0xb9, 0x82, 0x74, 0x08, 0xfb, 0xcf, 0x20, - 0x50, 0x47, 0x4a, 0x35, 0xa7, 0xf7, 0x9f, 0x34, 0x91, 0x78, 0x28, 0x0a, 0x2a, 0xf5, 0x53, 0x88, - 0x36, 0x25, 0x59, 0x2d, 0x09, 0x95, 0x44, 0x30, 0x15, 0xdc, 0x9a, 0xce, 0x52, 0xbd, 0x2e, 0x33, - 0xdf, 0x29, 0x37, 0xea, 0x77, 0x59, 0xd2, 0xc1, 0x72, 0x11, 0xed, 0xe9, 0xb0, 0x42, 0xfd, 0x02, - 0xa2, 0xc4, 0x7e, 0x22, 0x94, 0x0a, 0x6e, 0xcd, 0xec, 0xae, 0xa5, 0x5d, 0xe6, 0x99, 0x26, 0x3e, - 0xb2, 0xe1, 0x37, 0x5d, 0x26, 0xc0, 0x19, 0x9f, 0x50, 0x2b, 0x10, 0x51, 0x84, 0xaa, 0x88, 0xe4, - 0xc4, 0x84, 0xe6, 0x89, 0x23, 0x6f, 0x77, 0xa7, 0x9e, 0xbe, 0x62, 0x02, 0xdf, 0xbe, 0x62, 0x02, - 0x6c, 0x1d, 0x68, 0xe7, 0x10, 0x39, 0xa4, 0x34, 0x25, 0x51, 0x41, 0xd4, 0x1e, 0x00, 0x31, 0xd5, - 0x1f, 0xed, 0x72, 0xaf, 0xcb, 0x2c, 0xea, 0xa3, 0xed, 0xf7, 0xb1, 0xdc, 0x34, 0x79, 0x39, 0xac, - 0x50, 0x09, 0x88, 0xb6, 0x91, 0xac, 0x08, 0x92, 0x88, 0xc7, 0x3c, 0xcd, 0x19, 0xaf, 0xec, 0xbb, - 0x09, 0x58, 0xb4, 0xbb, 0x2b, 0xca, 0x9d, 0xd1, 0x08, 0x39, 0x85, 0x78, 0x53, 0x46, 0x6d, 0x41, - 0x6a, 0x29, 0x25, 0xcb, 0xd8, 0xb0, 0xa3, 0x6c, 0xaa, 0xd7, 0x65, 0x68, 0xf2, 0xa1, 0x13, 0xc4, - 0x26, 0x82, 0xdc, 0xa2, 0xd1, 0x9e, 0x33, 0x87, 0x6b, 0xa1, 0x78, 0x62, 0x74, 0x8a, 0x39, 0x58, - 0xe2, 0xa5, 0x96, 0xa8, 0x22, 0xb9, 0x59, 0x96, 0xd5, 0x4e, 0xc9, 0x98, 0x79, 0x18, 0x0f, 0x88, - 0xe9, 0x75, 0x99, 0x55, 0x42, 0x96, 0x0b, 0x8a, 0xe5, 0xe2, 0xd6, 0xe6, 0xdf, 0xeb, 0xad, 0x1a, - 0xed, 0x4d, 0x59, 0x92, 0x1e, 0x94, 0x04, 0x51, 0x50, 0x13, 0x93, 0xa9, 0xe0, 0xd6, 0xac, 0x95, - 0xf6, 0x7e, 0x1f, 0xcb, 0x4d, 0xe3, 0x17, 0xac, 0xab, 0xfb, 0x30, 0xab, 0xf7, 0x5c, 0x20, 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, 0x05, 0x8d, 0xbe, 0xd5, 0x7c, 0x1e, 0x99, 0xc3, 0xb7, 0x98, - 0x75, 0x58, 0x75, 0x19, 0x9b, 0x39, 0xf6, 0xff, 0x86, 0x60, 0x65, 0xa0, 0xff, 0x0a, 0xb5, 0x60, - 0x4f, 0xb5, 0x13, 0x9f, 0x99, 0x6a, 0xaf, 0x56, 0x0e, 0x29, 0x48, 0xba, 0x13, 0x66, 0x72, 0xfa, - 0x3c, 0x04, 0x73, 0x47, 0x4a, 0x95, 0x43, 0x7c, 0xfb, 0xb4, 0xcc, 0xd7, 0x90, 0x4a, 0xdd, 0x81, - 0x48, 0x13, 0x3f, 0x61, 0x26, 0x67, 0x76, 0x57, 0x5d, 0xf7, 0x38, 0x1d, 0x4c, 0xb6, 0x38, 0xf2, - 0x01, 0x75, 0x0f, 0x62, 0xfa, 0x70, 0x79, 0xa9, 0xd1, 0x10, 0xd4, 0x06, 0x12, 0x55, 0x4c, 0xef, - 0x6c, 0x76, 0xb5, 0xd7, 0x65, 0xae, 0x59, 0x27, 0xd4, 0x47, 0xb0, 0xdc, 0x02, 0x6e, 0xca, 0x99, - 0x2d, 0x0e, 0xd2, 0x26, 0xc6, 0x42, 0x5a, 0xd8, 0x83, 0xb4, 0xbf, 0xe0, 0x84, 0xd3, 0x67, 0xc4, - 0xdc, 0x9b, 0x7e, 0x05, 0x11, 0x19, 0x29, 0xad, 0xba, 0xce, 0xcc, 0xfc, 0xee, 0xa6, 0x2b, 0x33, - 0x06, 0x9c, 0xc3, 0xd0, 0x62, 0xa7, 0x89, 0x38, 0xf2, 0xd9, 0xdd, 0xb0, 0xe6, 0x83, 0xfd, 0x26, - 0x04, 0x70, 0xa4, 0x54, 0x8b, 0x42, 0x03, 0x49, 0xad, 0xcb, 0xe1, 0xbb, 0x25, 0xca, 0x88, 0x47, - 0x42, 0x1b, 0x55, 0xbc, 0xf8, 0xee, 0x23, 0x0c, 0xbe, 0xcf, 0xcc, 0x96, 0xb1, 0xf2, 0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72, 0x20, 0x46, 0x2e, 0x3a, 0x3f, 0xef, 0x6c, 0xa1, 0x0e, 0x94, 0x01, 0xa3, - 0x54, 0x99, 0x3f, 0x22, 0xc1, 0x5a, 0xf5, 0xae, 0x40, 0x06, 0x0a, 0x05, 0xf2, 0x25, 0x75, 0x06, - 0xb6, 0xaa, 0xc4, 0x5c, 0x84, 0x24, 0x3b, 0x6b, 0x25, 0xf2, 0x9a, 0x8b, 0x51, 0x03, 0xc6, 0x72, - 0xb6, 0x41, 0x1b, 0xcb, 0x95, 0xfa, 0x07, 0x24, 0x9a, 0xb2, 0xd4, 0x94, 0x14, 0x54, 0x29, 0x91, - 0x6b, 0x0e, 0x73, 0x42, 0x93, 0x3e, 0x26, 0xb4, 0x49, 0x26, 0xc4, 0x98, 0xea, 0x73, 0xb5, 0xc5, - 0x72, 0x2b, 0x46, 0x17, 0x09, 0x96, 0x31, 0xaf, 0xbf, 0xc2, 0xbc, 0xaa, 0xa7, 0x01, 0xff, 0xf5, - 0xcc, 0x3a, 0x71, 0xba, 0xac, 0x3b, 0xb5, 0x7f, 0xcf, 0x72, 0x73, 0xa4, 0x81, 0xc8, 0xfe, 0x10, - 0x16, 0x0d, 0x84, 0xf6, 0x57, 0x51, 0xcb, 0x8d, 0x26, 0x2e, 0x6f, 0xc2, 0xd9, 0xb5, 0x5e, 0x97, - 0x49, 0xd8, 0x8d, 0x98, 0x10, 0x96, 0x8b, 0x91, 0xb6, 0xa2, 0xd1, 0x44, 0xfd, 0x12, 0xe6, 0x48, - 0x76, 0x26, 0x14, 0x4d, 0xe1, 0x85, 0x9d, 0xe8, 0x75, 0x99, 0x25, 0x5b, 0xf2, 0x36, 0x66, 0xad, - 0x2f, 0x66, 0x63, 0xae, 0x45, 0x58, 0x26, 0xfb, 0x03, 0x61, 0x87, 0x38, 0x48, 0x4c, 0x63, 0x33, - 0x96, 0x18, 0xba, 0xc2, 0x58, 0x2e, 0xae, 0xef, 0x25, 0x44, 0xee, 0xe4, 0x4c, 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, 0x25, 0xd7, - 0x93, 0xd0, 0xcf, 0x7c, 0xce, 0x06, 0xa3, 0xe9, 0xbd, 0x51, 0xd0, 0x86, 0xef, 0x6c, 0xe1, 0xcd, - 0x87, 0x64, 0xf0, 0xed, 0x87, 0x64, 0xf0, 0xfd, 0x87, 0x64, 0xf0, 0xf9, 0xc7, 0x64, 0xe0, 0xed, - 0xc7, 0x64, 0xe0, 0xdd, 0xc7, 0x64, 0xe0, 0xfe, 0x9d, 0xaa, 0xa0, 0x5e, 0xb4, 0xce, 0xd3, 0xbc, - 0xd4, 0xc8, 0xf0, 0x92, 0xd2, 0x90, 0x94, 0x8c, 0x70, 0xce, 0x6f, 0x57, 0xa5, 0x4c, 0x7b, 0x2f, - 0xd3, 0x90, 0x2a, 0xad, 0x3a, 0x52, 0xf4, 0xdf, 0x97, 0xdc, 0xda, 0xdb, 0x36, 0x7e, 0x62, 0xa2, - 0x76, 0x9a, 0x48, 0x39, 0x8f, 0xe0, 0x9f, 0x97, 0xdc, 0xfe, 0x2e, 0x00, 0x00, 0xff, 0xff, 0x0b, - 0x49, 0x74, 0x46, 0x10, 0x23, 0x00, 0x00, + // 1886 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x5a, 0xcb, 0x6f, 0xe3, 0xc6, + 0x19, 0xd7, 0x5b, 0xf6, 0xe7, 0x97, 0x4c, 0xd9, 0x5e, 0x2d, 0x6d, 0x8b, 0x32, 0x8b, 0xc6, 0xee, + 0xb6, 0x96, 0x62, 0xc7, 0x46, 0x91, 0x45, 0x8b, 0xc2, 0x52, 0x15, 0xd4, 0x68, 0xfd, 0x00, 0x25, + 0xb7, 0xe8, 0xb6, 0xa8, 0x2a, 0x53, 0x13, 0x99, 0x90, 0x44, 0x2a, 0x24, 0xa5, 0x44, 0x05, 0xfa, + 0xb8, 0x04, 0x08, 0xf6, 0x94, 0x73, 0x80, 0x05, 0x52, 0x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0x08, 0x99, 0xae, 0x2c, 0x75, + 0x25, 0x05, 0x35, 0x6a, 0xe4, 0x58, 0x5f, 0x9b, 0xe4, 0x98, 0xb8, 0x4b, 0xd8, 0x66, 0x4c, 0xb6, + 0x3d, 0x6d, 0xb1, 0xdc, 0x86, 0x51, 0x45, 0x06, 0x48, 0x0c, 0x50, 0xbf, 0x85, 0x65, 0x55, 0x97, + 0x7d, 0xf0, 0x10, 0x6f, 0x13, 0xa7, 0xeb, 0xba, 0x53, 0x7b, 0x7b, 0x96, 0x5b, 0x22, 0x05, 0x24, + 0xcc, 0xa7, 0xb0, 0x6a, 0x20, 0xb4, 0x5f, 0x45, 0xad, 0x77, 0xba, 0x64, 0x26, 0x6f, 0x8d, 0x86, + 0x4c, 0xc6, 0x6e, 0xc4, 0x84, 0xb0, 0x5c, 0x8a, 0x94, 0x55, 0x8d, 0xa2, 0x00, 0x13, 0xd9, 0xb6, + 0x87, 0xb5, 0xc4, 0xd2, 0xdc, 0xb3, 0x7c, 0x95, 0x84, 0x35, 0x17, 0x62, 0xe2, 0xeb, 0x81, 0xbb, + 0x05, 0x5b, 0x75, 0x1c, 0xd8, 0x26, 0x09, 0xf4, 0xb7, 0x08, 0xe7, 0x9b, 0xfe, 0x67, 0x45, 0xc7, + 0x91, 0xce, 0x88, 0xf0, 0x15, 0xd8, 0xce, 0x8f, 0x66, 0xba, 0x24, 0xeb, 0x68, 0x6e, 0x34, 0x64, + 0xb6, 0x3c, 0x8c, 0x1a, 0x30, 0x96, 0xb3, 0x75, 0xda, 0x48, 0xac, 0xaf, 0x55, 0x6e, 0xfc, 0x61, + 0x94, 0x9b, 0x98, 0x85, 0x72, 0x93, 0x77, 0x52, 0xee, 0x0f, 0x61, 0x89, 0xac, 0xa3, 0x84, 0xa2, + 0x39, 0x9c, 0x82, 0x33, 0xa3, 0x21, 0xb3, 0x66, 0x5b, 0x66, 0x8d, 0x51, 0xeb, 0x69, 0xd7, 0x18, + 0x6b, 0x15, 0xd6, 0xc9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, 0xba, 0xc7, 0xdd, 0x13, 0xf5, 0x1e, 0xac, 0xba, 0xef, 0x9d, 0xbe, 0x13, + 0xcc, 0x90, 0x96, 0x38, 0x0e, 0x02, 0x43, 0xfd, 0x5d, 0x6a, 0xe9, 0x23, 0xa0, 0x4b, 0x2d, 0x83, + 0x1c, 0x04, 0x86, 0x9a, 0x2e, 0x7f, 0x0f, 0xeb, 0xde, 0x47, 0xa6, 0xfd, 0x60, 0xb6, 0x8c, 0x29, + 0x76, 0x3c, 0x11, 0xdc, 0xdf, 0xbd, 0x31, 0x29, 0x02, 0xba, 0x37, 0xa6, 0xc8, 0xf1, 0x44, 0x70, + 0xd3, 0xfd, 0xef, 0x60, 0xcd, 0x73, 0x27, 0xf4, 0xbd, 0x80, 0xa3, 0xc1, 0x68, 0xfa, 0x68, 0x12, + 0xb4, 0xe1, 0xbb, 0x58, 0xf9, 0xfc, 0x65, 0x36, 0xfc, 0xc5, 0xcb, 0x6c, 0xf8, 0xab, 0x97, 0xd9, + 0xf0, 0xc7, 0xaf, 0xb2, 0xa1, 0x2f, 0x5e, 0x65, 0x43, 0x5f, 0xbe, 0xca, 0x86, 0x9e, 0xbd, 0xdd, + 0x14, 0xd4, 0x9b, 0xde, 0x75, 0x9e, 0x97, 0x3a, 0x05, 0x5e, 0x52, 0x3a, 0x92, 0x52, 0x10, 0xae, + 0xf9, 0xfd, 0xa6, 0x54, 0xe8, 0x1f, 0x15, 0x3a, 0x52, 0xa3, 0xd7, 0x46, 0x8a, 0xfe, 0x37, 0xb3, + 0x37, 0x8f, 0xf6, 0x8d, 0x7f, 0x9a, 0xa9, 0x83, 0x2e, 0x52, 0xae, 0x13, 0xf8, 0x5f, 0x66, 0x6f, + 0xfd, 0x37, 0x00, 0x00, 0xff, 0xff, 0xfd, 0xc0, 0xd1, 0x87, 0x17, 0x27, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -3532,6 +3543,71 @@ func (m *MsgChannelUpgradeTimeout) MarshalToSizedBuffer(dAtA []byte) (int, error _ = i var l int _ = l + if len(m.Signer) > 0 { + i -= len(m.Signer) + copy(dAtA[i:], m.Signer) + i = encodeVarintTx(dAtA, i, uint64(len(m.Signer))) + i-- + dAtA[i] = 0x42 + } + { + size, err := m.ProofHeight.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x3a + if len(m.ProofErrorReceipt) > 0 { + i -= len(m.ProofErrorReceipt) + copy(dAtA[i:], m.ProofErrorReceipt) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofErrorReceipt))) + i-- + dAtA[i] = 0x32 + } + if len(m.ProofChannel) > 0 { + i -= len(m.ProofChannel) + copy(dAtA[i:], m.ProofChannel) + i = encodeVarintTx(dAtA, i, uint64(len(m.ProofChannel))) + i-- + dAtA[i] = 0x2a + } + { + size, err := m.PreviousErrorReceipt.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x22 + { + size, err := m.CounterpartyChannel.MarshalToSizedBuffer(dAtA[:i]) + if err != nil { + return 0, err + } + i -= size + i = encodeVarintTx(dAtA, i, uint64(size)) + } + i-- + dAtA[i] = 0x1a + if len(m.ChannelId) > 0 { + i -= len(m.ChannelId) + copy(dAtA[i:], m.ChannelId) + i = encodeVarintTx(dAtA, i, uint64(len(m.ChannelId))) + i-- + dAtA[i] = 0x12 + } + if len(m.PortId) > 0 { + i -= len(m.PortId) + copy(dAtA[i:], m.PortId) + i = encodeVarintTx(dAtA, i, uint64(len(m.PortId))) + i-- + dAtA[i] = 0xa + } return len(dAtA) - i, nil } @@ -4224,6 +4300,32 @@ func (m *MsgChannelUpgradeTimeout) Size() (n int) { } var l int _ = l + l = len(m.PortId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ChannelId) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.CounterpartyChannel.Size() + n += 1 + l + sovTx(uint64(l)) + l = m.PreviousErrorReceipt.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.ProofChannel) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = len(m.ProofErrorReceipt) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } + l = m.ProofHeight.Size() + n += 1 + l + sovTx(uint64(l)) + l = len(m.Signer) + if l > 0 { + n += 1 + l + sovTx(uint64(l)) + } return n } @@ -8532,6 +8634,269 @@ func (m *MsgChannelUpgradeTimeout) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: MsgChannelUpgradeTimeout: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { + case 1: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PortId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.PortId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 2: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ChannelId", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ChannelId = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex + case 3: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field CounterpartyChannel", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.CounterpartyChannel.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 4: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field PreviousErrorReceipt", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.PreviousErrorReceipt.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 5: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofChannel", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofChannel = append(m.ProofChannel[:0], dAtA[iNdEx:postIndex]...) + if m.ProofChannel == nil { + m.ProofChannel = []byte{} + } + iNdEx = postIndex + case 6: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofErrorReceipt", wireType) + } + var byteLen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + byteLen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if byteLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + byteLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.ProofErrorReceipt = append(m.ProofErrorReceipt[:0], dAtA[iNdEx:postIndex]...) + if m.ProofErrorReceipt == nil { + m.ProofErrorReceipt = []byte{} + } + iNdEx = postIndex + case 7: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field ProofHeight", wireType) + } + var msglen int + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + msglen |= int(b&0x7F) << shift + if b < 0x80 { + break + } + } + if msglen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + msglen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + if err := m.ProofHeight.Unmarshal(dAtA[iNdEx:postIndex]); err != nil { + return err + } + iNdEx = postIndex + case 8: + if wireType != 2 { + return fmt.Errorf("proto: wrong wireType = %d for field Signer", wireType) + } + var stringLen uint64 + for shift := uint(0); ; shift += 7 { + if shift >= 64 { + return ErrIntOverflowTx + } + if iNdEx >= l { + return io.ErrUnexpectedEOF + } + b := dAtA[iNdEx] + iNdEx++ + stringLen |= uint64(b&0x7F) << shift + if b < 0x80 { + break + } + } + intStringLen := int(stringLen) + if intStringLen < 0 { + return ErrInvalidLengthTx + } + postIndex := iNdEx + intStringLen + if postIndex < 0 { + return ErrInvalidLengthTx + } + if postIndex > l { + return io.ErrUnexpectedEOF + } + m.Signer = string(dAtA[iNdEx:postIndex]) + iNdEx = postIndex default: iNdEx = preIndex skippy, err := skipTx(dAtA[iNdEx:]) diff --git a/proto/ibc/core/channel/v1/tx.proto b/proto/ibc/core/channel/v1/tx.proto index 36c3ad8fb7b..10e2ac29286 100644 --- a/proto/ibc/core/channel/v1/tx.proto +++ b/proto/ibc/core/channel/v1/tx.proto @@ -348,6 +348,18 @@ message MsgChannelUpgradeConfirmResponse {} message MsgChannelUpgradeTimeout { option (gogoproto.equal) = false; option (gogoproto.goproto_getters) = false; + + string port_id = 1 [(gogoproto.moretags) = "yaml:\"port_id\""]; + string channel_id = 2 [(gogoproto.moretags) = "yaml:\"channel_id\""]; + Channel counterparty_channel = 3 + [(gogoproto.moretags) = "yaml:\"counterparty_channel\"", (gogoproto.nullable) = false]; + ErrorReceipt previous_error_receipt = 4 + [(gogoproto.moretags) = "yaml:\"previous_error_receipt\"", (gogoproto.nullable) = false]; + bytes proof_channel = 5 [(gogoproto.moretags) = "yaml:\"proof_channel\""]; + bytes proof_error_receipt = 6 [(gogoproto.moretags) = "yaml:\"proof_error_receipt\""]; + ibc.core.client.v1.Height proof_height = 7 + [(gogoproto.moretags) = "yaml:\"proof_height\"", (gogoproto.nullable) = false]; + string signer = 8; } // MsgChannelUpgradeTimeoutRepsonse defines the MsgChannelUpgradeTimeout response type