diff --git a/modules/guardian/types/tx.pb.go b/modules/guardian/types/tx.pb.go index 9a459db2e..d307fabe4 100644 --- a/modules/guardian/types/tx.pb.go +++ b/modules/guardian/types/tx.pb.go @@ -227,30 +227,31 @@ func init() { func init() { proto.RegisterFile("irishub/guardian/tx.proto", fileDescriptor_02bb99d7e79743a5) } var fileDescriptor_02bb99d7e79743a5 = []byte{ - // 368 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0xcd, 0x4a, 0xeb, 0x40, - 0x14, 0x6e, 0x6e, 0xe1, 0xde, 0x76, 0xca, 0xbd, 0x57, 0xe2, 0x5f, 0x1a, 0x30, 0x94, 0x80, 0x50, - 0x04, 0x33, 0x68, 0x0b, 0x42, 0x77, 0x0d, 0x6e, 0x2b, 0xd2, 0xae, 0x74, 0x53, 0xd2, 0xce, 0x10, - 0x07, 0x9a, 0x4c, 0x98, 0x33, 0x29, 0x66, 0xeb, 0x5e, 0xf0, 0x51, 0x44, 0x7c, 0x08, 0x97, 0xc5, - 0x95, 0x4b, 0x69, 0x17, 0xbe, 0x86, 0x24, 0x69, 0xca, 0x28, 0xfe, 0xad, 0x86, 0x33, 0xdf, 0xcf, - 0xf9, 0xce, 0xcc, 0x41, 0x75, 0x26, 0x18, 0x5c, 0xc4, 0x23, 0xec, 0xc7, 0x9e, 0x20, 0xcc, 0x0b, - 0xb1, 0xbc, 0x74, 0x22, 0xc1, 0x25, 0xd7, 0xd7, 0x96, 0x90, 0x53, 0x40, 0xe6, 0xf6, 0x98, 0x43, - 0xc0, 0x01, 0x07, 0xe0, 0xe3, 0xe9, 0x41, 0x7a, 0xe4, 0x54, 0xb3, 0x9e, 0x03, 0xc3, 0xac, 0xc2, - 0x79, 0x91, 0x43, 0xf6, 0xb5, 0x86, 0x6a, 0x3d, 0xf0, 0xbb, 0x84, 0x0c, 0xe2, 0x88, 0x0a, 0xbd, - 0x81, 0x6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xe6, 0x01, 0x4e, 0xdd, 0x42, 0x2a, 0x71, 0xb1, - 0x79, 0xd3, 0x36, 0x0e, 0x38, 0x89, 0x27, 0x14, 0x94, 0x25, 0x4c, 0x22, 0x0a, 0xa3, 0xdf, 0xd9, - 0x0a, 0xb5, 0x5e, 0x03, 0x00, 0x00, 0xff, 0xff, 0xab, 0xd0, 0x56, 0xde, 0xa5, 0x02, 0x00, 0x00, + // 374 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x52, 0x4b, 0x4b, 0xc3, 0x40, + 0x10, 0xee, 0x5a, 0xd4, 0x76, 0x8b, 0x0f, 0xe2, 0x2b, 0x0d, 0x18, 0x4a, 0x40, 0x28, 0x05, 0xb3, + 0x68, 0x0b, 0x42, 0x6f, 0x0d, 0x5e, 0x2b, 0xd2, 0x9e, 0xf4, 0x52, 0xd2, 0xee, 0x12, 0x03, 0x4d, + 0x36, 0x64, 0x36, 0xc5, 0xdc, 0xc4, 0xbb, 0xe0, 0x4f, 0xe9, 0xc1, 0x8b, 0xff, 0xc0, 0x63, 0xf1, + 0xe4, 0x51, 0xda, 0x43, 0xff, 0x86, 0x24, 0x69, 0x4a, 0x14, 0x5f, 0xa7, 0x65, 0xf6, 0x7b, 0xcc, + 0x37, 0xbb, 0x83, 0xcb, 0xb6, 0x6f, 0xc3, 0x4d, 0xd0, 0x27, 0x56, 0x60, 0xfa, 0xd4, 0x36, 0x5d, + 0x22, 0x6e, 0x75, 0xcf, 0xe7, 0x82, 0x4b, 0xdb, 0x0b, 0x48, 0x4f, 0x21, 0xe5, 0x60, 0xc0, 0xc1, + 0xe1, 0x40, 0x1c, 0xb0, 0xc8, 0xe8, 0x24, 0x3a, 0x12, 0xaa, 0x52, 0x4e, 0x80, 0x5e, 0x5c, 0x91, + 0xa4, 0x48, 0x20, 0xed, 0x01, 0xe1, 0x52, 0x1b, 0xac, 0x16, 0xa5, 0x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 0x6e, 0x32, 0x53, 0x73, 0x6f, 0x33, 0x35, 0x77, 0xdd, 0xb0, 0x6c, 0x11, 0x19, 0x0d, 0xb8, 0x43, + 0x22, 0x53, 0x97, 0x09, 0x92, 0x2e, 0xe0, 0xa8, 0x41, 0x1c, 0x4e, 0x83, 0x21, 0x83, 0xcc, 0x2e, + 0x86, 0x1e, 0x83, 0xfe, 0x5a, 0xbc, 0x49, 0xf5, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xa0, 0x7a, + 0xef, 0xf0, 0xac, 0x02, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/modules/mint/keeper/keeper.go b/modules/mint/keeper/keeper.go index 89df31ff2..be49252d3 100644 --- a/modules/mint/keeper/keeper.go +++ b/modules/mint/keeper/keeper.go @@ -68,7 +68,6 @@ func (k Keeper) SetMinter(ctx sdk.Context, minter types.Minter) { store := ctx.KVStore(k.storeKey) b := k.cdc.MustMarshal(&minter) store.Set(types.MinterKey, b) - k.GetMinter(ctx) } // MintCoins implements an alias call to the underlying supply keeper's diff --git a/modules/mint/types/tx.pb.go b/modules/mint/types/tx.pb.go index 57098f93a..bb59c61e8 100644 --- a/modules/mint/types/tx.pb.go +++ b/modules/mint/types/tx.pb.go @@ -124,7 +124,7 @@ func init() { func init() { proto.RegisterFile("irishub/mint/tx.proto", fileDescriptor_6ccd37db551d9a32) } var fileDescriptor_6ccd37db551d9a32 = []byte{ - // 316 bytes of a gzipped FileDescriptorProto + // 323 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xcd, 0x2c, 0xca, 0x2c, 0xce, 0x28, 0x4d, 0xd2, 0xcf, 0xcd, 0xcc, 0x2b, 0xd1, 0x2f, 0xa9, 0xd0, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x81, 0x0a, 0xeb, 0x81, 0x84, 0xa5, 0xc4, 0x51, 0x14, 0x81, 0x08, 0x88, 0x32, @@ -137,14 +137,15 @@ var fileDescriptor_6ccd37db551d9a32 = []byte{ 0x94, 0x99, 0x97, 0x1e, 0x84, 0x50, 0x2a, 0x64, 0xc4, 0xc5, 0x56, 0x00, 0x36, 0x41, 0x82, 0x49, 0x81, 0x51, 0x83, 0xdb, 0x48, 0x44, 0x0f, 0xd9, 0x37, 0x7a, 0x10, 0xd3, 0x9d, 0x58, 0x4e, 0xdc, 0x93, 0x67, 0x08, 0x82, 0xaa, 0xb4, 0xe2, 0x6b, 0x7a, 0xbe, 0x41, 0x0b, 0x61, 0x86, 0x92, 0x24, - 0x97, 0x38, 0x9a, 0x73, 0x82, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0xa2, 0xb9, 0x98, + 0x97, 0x38, 0x9a, 0x73, 0x82, 0x52, 0x8b, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x8d, 0x92, 0xb8, 0x98, 0x7d, 0x8b, 0xd3, 0x85, 0x42, 0xb8, 0x78, 0x50, 0x5c, 0x2b, 0x8b, 0x6a, 0x0b, 0x9a, 0x6e, 0x29, - 0x55, 0xbc, 0xd2, 0x30, 0xc3, 0x9d, 0xfc, 0x4e, 0x3c, 0x94, 0x63, 0x38, 0xf1, 0x48, 0x8e, 0xf1, - 0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0xb8, 0xf0, 0x58, 0x8e, - 0xe1, 0xc6, 0x63, 0x39, 0x86, 0x28, 0x83, 0xf4, 0xcc, 0x12, 0x90, 0x11, 0xc9, 0xf9, 0xb9, 0xfa, - 0x20, 0xe3, 0xf2, 0x52, 0x4b, 0xf4, 0x61, 0x71, 0x53, 0x66, 0xa2, 0x9f, 0x9b, 0x9f, 0x52, 0x9a, - 0x93, 0x5a, 0x0c, 0x8d, 0xcb, 0xca, 0x82, 0xd4, 0xe2, 0x24, 0x36, 0x70, 0xf0, 0x1a, 0x03, 0x02, - 0x00, 0x00, 0xff, 0xff, 0x2d, 0xad, 0x92, 0x84, 0xe8, 0x01, 0x00, 0x00, + 0x55, 0xbc, 0xd2, 0x30, 0xc3, 0xa5, 0x58, 0x1b, 0x9e, 0x6f, 0xd0, 0x62, 0x74, 0xf2, 0x3b, 0xf1, + 0x50, 0x8e, 0xe1, 0xc4, 0x23, 0x39, 0xc6, 0x0b, 0x8f, 0xe4, 0x18, 0x1f, 0x3c, 0x92, 0x63, 0x9c, + 0xf0, 0x58, 0x8e, 0xe1, 0xc2, 0x63, 0x39, 0x86, 0x1b, 0x8f, 0xe5, 0x18, 0xa2, 0x0c, 0xd2, 0x33, + 0x4b, 0x40, 0x26, 0x25, 0xe7, 0xe7, 0xea, 0x83, 0x4c, 0xcd, 0x4b, 0x2d, 0xd1, 0x87, 0x45, 0x51, + 0x99, 0x89, 0x7e, 0x6e, 0x7e, 0x4a, 0x69, 0x4e, 0x6a, 0x31, 0x34, 0x4a, 0x2b, 0x0b, 0x52, 0x8b, + 0x93, 0xd8, 0xc0, 0xa1, 0x6c, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x8f, 0x06, 0x4a, 0xa6, 0xef, + 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/proto/irishub/guardian/tx.proto b/proto/irishub/guardian/tx.proto index 911802d43..28e288a30 100644 --- a/proto/irishub/guardian/tx.proto +++ b/proto/irishub/guardian/tx.proto @@ -6,6 +6,8 @@ option go_package = "github.com/irisnet/irishub/v4/modules/guardian/types"; // Msg defines the guardian Msg service service Msg { + option (cosmos.msg.v1.service) = true; + // AddSuper defines a method for adding a super account rpc AddSuper(MsgAddSuper) returns (MsgAddSuperResponse); diff --git a/proto/irishub/mint/tx.proto b/proto/irishub/mint/tx.proto index ee321f108..67c672ae6 100644 --- a/proto/irishub/mint/tx.proto +++ b/proto/irishub/mint/tx.proto @@ -11,6 +11,8 @@ option (gogoproto.goproto_getters_all) = false; // Msg defines the coinswap Msg service service Msg { + option (cosmos.msg.v1.service) = true; + // UpdateParams defines a governance operation for updating the x/coinswap // module parameters. The authority is defined in the keeper. //