diff --git a/changelog.md b/changelog.md index 9da339d95a..82fa8f21c7 100644 --- a/changelog.md +++ b/changelog.md @@ -41,6 +41,7 @@ * `zetaclientd start`: now requires 2 inputs from stdin: hotkey password and tss keyshare password Starting zetaclient now requires two passwords to be input; one for the hotkey and another for the tss key-share. +* `MsgRemoveForeignCoin`: `Name` field has been renamed in to `ZRC20Address` ### Features diff --git a/docs/openapi/openapi.swagger.yaml b/docs/openapi/openapi.swagger.yaml index 8e2cb02f21..62c565b89e 100644 --- a/docs/openapi/openapi.swagger.yaml +++ b/docs/openapi/openapi.swagger.yaml @@ -54738,9 +54738,6 @@ definitions: } zetacorecrosschainParams: type: object - properties: - enabled: - type: boolean description: Params defines the parameters for the module. zetacorecrosschainQueryGetTssAddressResponse: type: object diff --git a/docs/spec/fungible/messages.md b/docs/spec/fungible/messages.md index 696cc70631..d49ae1a89f 100644 --- a/docs/spec/fungible/messages.md +++ b/docs/spec/fungible/messages.md @@ -56,7 +56,7 @@ Authorized: admin policy group 2. ```proto message MsgRemoveForeignCoin { string creator = 1; - string name = 2; + string zrc20_address = 2; } ``` diff --git a/proto/crosschain/params.proto b/proto/crosschain/params.proto index 5df98b9a28..f188a2d23a 100644 --- a/proto/crosschain/params.proto +++ b/proto/crosschain/params.proto @@ -8,5 +8,4 @@ option go_package = "github.com/zeta-chain/zetacore/x/crosschain/types"; // Params defines the parameters for the module. message Params { option (gogoproto.goproto_stringer) = false; - bool enabled = 1; } diff --git a/proto/fungible/tx.proto b/proto/fungible/tx.proto index e6599a55b9..9a96817f87 100644 --- a/proto/fungible/tx.proto +++ b/proto/fungible/tx.proto @@ -69,7 +69,7 @@ message MsgDeployFungibleCoinZRC20Response { message MsgRemoveForeignCoin { string creator = 1; - string name = 2; + string zrc20_address = 2; } message MsgRemoveForeignCoinResponse {} diff --git a/typescript/crosschain/params_pb.d.ts b/typescript/crosschain/params_pb.d.ts index e3c135725c..9959de48d9 100644 --- a/typescript/crosschain/params_pb.d.ts +++ b/typescript/crosschain/params_pb.d.ts @@ -12,11 +12,6 @@ import { Message, proto3 } from "@bufbuild/protobuf"; * @generated from message zetachain.zetacore.crosschain.Params */ export declare class Params extends Message { - /** - * @generated from field: bool enabled = 1; - */ - enabled: boolean; - constructor(data?: PartialMessage); static readonly runtime: typeof proto3; diff --git a/typescript/fungible/tx_pb.d.ts b/typescript/fungible/tx_pb.d.ts index e20d4bde71..927424557b 100644 --- a/typescript/fungible/tx_pb.d.ts +++ b/typescript/fungible/tx_pb.d.ts @@ -291,9 +291,9 @@ export declare class MsgRemoveForeignCoin extends Message creator: string; /** - * @generated from field: string name = 2; + * @generated from field: string zrc20_address = 2; */ - name: string; + zrc20Address: string; constructor(data?: PartialMessage); diff --git a/x/crosschain/types/params.pb.go b/x/crosschain/types/params.pb.go index ad3305a765..ddbd91fc0b 100644 --- a/x/crosschain/types/params.pb.go +++ b/x/crosschain/types/params.pb.go @@ -26,7 +26,6 @@ const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package // Params defines the parameters for the module. type Params struct { - Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` } func (m *Params) Reset() { *m = Params{} } @@ -61,13 +60,6 @@ func (m *Params) XXX_DiscardUnknown() { var xxx_messageInfo_Params proto.InternalMessageInfo -func (m *Params) GetEnabled() bool { - if m != nil { - return m.Enabled - } - return false -} - func init() { proto.RegisterType((*Params)(nil), "zetachain.zetacore.crosschain.Params") } @@ -75,18 +67,17 @@ func init() { func init() { proto.RegisterFile("crosschain/params.proto", fileDescriptor_cd6915e32c251e53) } var fileDescriptor_cd6915e32c251e53 = []byte{ - // 175 bytes of a gzipped FileDescriptorProto + // 155 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4f, 0x2e, 0xca, 0x2f, 0x2e, 0x4e, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x48, 0x2c, 0x4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96, 0x63, 0xb8, 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x30, 0x3d, 0xb3, 0x24, 0xa3, + 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, 0x1f, 0x64, 0xbe, 0x2e, 0xc4, 0x09, 0x30, 0xab, 0xf4, 0x2b, + 0xf4, 0x91, 0x1c, 0x56, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0xb6, 0xc3, 0x18, 0x10, 0x00, + 0x00, 0xff, 0xff, 0xee, 0x28, 0xaa, 0xcf, 0xb3, 0x00, 0x00, 0x00, } func (m *Params) Marshal() (dAtA []byte, err error) { @@ -109,16 +100,6 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if m.Enabled { - i-- - if m.Enabled { - dAtA[i] = 1 - } else { - dAtA[i] = 0 - } - i-- - dAtA[i] = 0x8 - } return len(dAtA) - i, nil } @@ -139,9 +120,6 @@ func (m *Params) Size() (n int) { } var l int _ = l - if m.Enabled { - n += 2 - } return n } @@ -180,26 +158,6 @@ func (m *Params) Unmarshal(dAtA []byte) error { return fmt.Errorf("proto: Params: illegal tag %d (wire type %d)", fieldNum, wire) } switch fieldNum { - case 1: - if wireType != 0 { - return fmt.Errorf("proto: wrong wireType = %d for field Enabled", wireType) - } - var v int - for shift := uint(0); ; shift += 7 { - if shift >= 64 { - return ErrIntOverflowParams - } - if iNdEx >= l { - return io.ErrUnexpectedEOF - } - b := dAtA[iNdEx] - iNdEx++ - v |= int(b&0x7F) << shift - if b < 0x80 { - break - } - } - m.Enabled = bool(v != 0) default: iNdEx = preIndex skippy, err := skipParams(dAtA[iNdEx:]) diff --git a/x/fungible/types/message_remove_foreign_coin.go b/x/fungible/types/message_remove_foreign_coin.go index 0c7282dc4a..04b18ee75d 100644 --- a/x/fungible/types/message_remove_foreign_coin.go +++ b/x/fungible/types/message_remove_foreign_coin.go @@ -10,10 +10,10 @@ const TypeMsgRemoveForeignCoin = "remove_foreign_coin" var _ sdk.Msg = &MsgRemoveForeignCoin{} -func NewMsgRemoveForeignCoin(creator string, name string) *MsgRemoveForeignCoin { +func NewMsgRemoveForeignCoin(creator string, zrc20Address string) *MsgRemoveForeignCoin { return &MsgRemoveForeignCoin{ - Creator: creator, - Name: name, + Creator: creator, + ZRC20Address: zrc20Address, } } diff --git a/x/fungible/types/tx.pb.go b/x/fungible/types/tx.pb.go index 35820af781..058d4a6181 100644 --- a/x/fungible/types/tx.pb.go +++ b/x/fungible/types/tx.pb.go @@ -499,8 +499,8 @@ func (m *MsgDeployFungibleCoinZRC20Response) GetAddress() string { } type MsgRemoveForeignCoin struct { - Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` + Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` + Zrc20Address string `protobuf:"bytes,2,opt,name=zrc20_address,json=zrc20Address,proto3" json:"zrc20_address,omitempty"` } func (m *MsgRemoveForeignCoin) Reset() { *m = MsgRemoveForeignCoin{} } @@ -543,9 +543,9 @@ func (m *MsgRemoveForeignCoin) GetCreator() string { return "" } -func (m *MsgRemoveForeignCoin) GetName() string { +func (m *MsgRemoveForeignCoin) GetZrc20Address() string { if m != nil { - return m.Name + return m.Zrc20Address } return "" } @@ -890,70 +890,69 @@ func init() { func init() { proto.RegisterFile("fungible/tx.proto", fileDescriptor_197fdedece277fa0) } var fileDescriptor_197fdedece277fa0 = []byte{ - // 998 bytes of a gzipped FileDescriptorProto + // 992 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x57, 0x5d, 0x6f, 0xdb, 0x54, - 0x18, 0xae, 0xdb, 0xf5, 0x23, 0xef, 0x96, 0x34, 0x3b, 0x84, 0xcd, 0xa4, 0x28, 0xdd, 0xbc, 0x89, - 0x95, 0x49, 0x8d, 0x47, 0x18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, 0x18, 0x2a, 0x2d, 0xee, 0x18, 0xc4, 0x63, 0x3f, - 0x91, 0xdd, 0x38, 0x5d, 0xe6, 0xd2, 0x09, 0x55, 0x4c, 0x32, 0x9d, 0x3f, 0xcb, 0x54, 0xab, 0xc1, - 0x87, 0xe3, 0x50, 0xd2, 0x96, 0xfd, 0xa2, 0x64, 0x76, 0x2f, 0x69, 0xe8, 0x76, 0x5f, 0x10, 0x8b, - 0xd9, 0x93, 0x76, 0xef, 0x63, 0x28, 0xe7, 0x4c, 0xd0, 0xaa, 0x35, 0x38, 0x38, 0x48, 0x8b, 0xd6, - 0x24, 0x04, 0x34, 0xdb, 0x98, 0xb7, 0x63, 0x51, 0x09, 0xa7, 0xbe, 0xc9, 0x6c, 0xf2, 0x0d, 0xe6, - 0xed, 0x81, 0xa9, 0x1f, 0x66, 0x91, 0x72, 0xfd, 0x43, 0x91, 0xe3, 0x95, 0xd9, 0x8d, 0x67, 0xb8, - 0xcb, 0x89, 0xbd, 0x27, 0xb0, 0xe8, 0x4e, 0xd0, 0x4f, 0x74, 0x07, 0x56, 0x07, 0x84, 0x82, 0x84, - 0x5c, 0x17, 0x42, 0x25, 0xca, 0x4a, 0x05, 0xe1, 0xa8, 0x05, 0x4b, 0xd8, 0x12, 0x2e, 0xa3, 0x92, - 0x63, 0xa9, 0xf1, 0x59, 0x7d, 0x82, 0xee, 0xd7, 0x23, 0x22, 0x59, 0x0e, 0x5b, 0x32, 0xd8, 0x88, - 0x41, 0xb4, 0xdb, 0x72, 0x04, 0x72, 0xf8, 0xa6, 0x69, 0xfd, 0x39, 0x92, 0xd6, 0x53, 0xf7, 0xc7, - 0xae, 0x6b, 0xbb, 0xa2, 0xdf, 0xc4, 0xfe, 0xff, 0xd5, 0xbf, 0xe7, 0x50, 0xec, 0x24, 0x70, 0xa6, - 0x85, 0xfd, 0xa8, 0xfa, 0xd3, 0x8b, 0xd4, 0x95, 0x4e, 0x86, 0xd4, 0x68, 0x66, 0x59, 0xca, 0x49,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b8, 0xca, 0xa3, + 0xf9, 0x70, 0x13, 0x24, 0x8d, 0xfd, 0xd8, 0x39, 0xa7, 0xa4, 0x51, 0xdc, 0x79, 0x25, 0x65, 0xfd, + 0xa0, 0x90, 0xcd, 0x9c, 0xb5, 0x46, 0x1f, 0xcc, 0xc0, 0x9d, 0x06, 0x9e, 0xdd, 0xcc, 0x67, 0x2c, + 0xc2, 0x51, 0x55, 0x43, 0x5b, 0x70, 0x16, 0x55, 0x69, 0xe0, 0x4c, 0xaa, 0x26, 0x2d, 0xb1, 0x9d, + 0xc7, 0xaf, 0x4f, 0xaa, 0xca, 0x9b, 0x93, 0xaa, 0xf2, 0xdf, 0x49, 0x55, 0x79, 0x75, 0x5a, 0xcd, + 0xbd, 0x39, 0xad, 0xe6, 0xfe, 0x3e, 0xad, 0xe6, 0x0e, 0xf4, 0xd4, 0xee, 0x0c, 0xa8, 0xb7, 0xe4, + 0x53, 0xf4, 0xf8, 0x29, 0xfa, 0x0b, 0xfd, 0xdd, 0x3f, 0x8b, 0x60, 0x91, 0x1e, 0x2e, 0xcb, 0x7f, + 0x05, 0x9f, 0xfe, 0x1f, 0x00, 0x00, 0xff, 0xff, 0x35, 0x5a, 0xd0, 0x00, 0x72, 0x0c, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -1637,10 +1636,10 @@ func (m *MsgRemoveForeignCoin) MarshalToSizedBuffer(dAtA []byte) (int, error) { _ = i var l int _ = l - if len(m.Name) > 0 { - i -= len(m.Name) - copy(dAtA[i:], m.Name) - i = encodeVarintTx(dAtA, i, uint64(len(m.Name))) + if len(m.Zrc20Address) > 0 { + i -= len(m.Zrc20Address) + copy(dAtA[i:], m.Zrc20Address) + i = encodeVarintTx(dAtA, i, uint64(len(m.Zrc20Address))) i-- dAtA[i] = 0x12 } @@ -2050,7 +2049,7 @@ func (m *MsgRemoveForeignCoin) Size() (n int) { if l > 0 { n += 1 + l + sovTx(uint64(l)) } - l = len(m.Name) + l = len(m.Zrc20Address) if l > 0 { n += 1 + l + sovTx(uint64(l)) } @@ -3248,7 +3247,7 @@ func (m *MsgRemoveForeignCoin) Unmarshal(dAtA []byte) error { iNdEx = postIndex case 2: if wireType != 2 { - return fmt.Errorf("proto: wrong wireType = %d for field Name", wireType) + return fmt.Errorf("proto: wrong wireType = %d for field Zrc20Address", wireType) } var stringLen uint64 for shift := uint(0); ; shift += 7 { @@ -3276,7 +3275,7 @@ func (m *MsgRemoveForeignCoin) Unmarshal(dAtA []byte) error { if postIndex > l { return io.ErrUnexpectedEOF } - m.Name = string(dAtA[iNdEx:postIndex]) + m.Zrc20Address = string(dAtA[iNdEx:postIndex]) iNdEx = postIndex default: iNdEx = preIndex