From 075296e0ca994ad7cb006aeff4ebdad8243376ee Mon Sep 17 00:00:00 2001 From: gluax <16431709+gluax@users.noreply.github.com> Date: Mon, 8 Jan 2024 10:03:08 -0800 Subject: [PATCH] refactor(pbgo): Regen go from proto --- x/randomness/types/genesis.pb.go | 21 +++-- x/randomness/types/query.pb.go | 38 +++++---- x/randomness/types/randomness.pb.go | 37 ++++---- x/randomness/types/tx.pb.go | 4 + x/staking/types/tx.pb.go | 86 +++++++++---------- x/wasm-storage/types/events.pb.go | 42 +++++---- x/wasm-storage/types/genesis.pb.go | 2 + x/wasm-storage/types/query.pb.go | 91 +++++++++++--------- x/wasm-storage/types/tx.pb.go | 108 ++++++++++++++---------- x/wasm-storage/types/wasm_storage.pb.go | 84 +++++++++--------- 10 files changed, 279 insertions(+), 234 deletions(-) diff --git a/x/randomness/types/genesis.pb.go b/x/randomness/types/genesis.pb.go index 88a0cb70..771b1634 100644 --- a/x/randomness/types/genesis.pb.go +++ b/x/randomness/types/genesis.pb.go @@ -5,7 +5,6 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -23,6 +22,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// GenesisState defines the randomness module's genesis state with a seed. type GenesisState struct { Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` } @@ -76,19 +76,18 @@ func init() { } var fileDescriptor_7099e3dee686bc86 = []byte{ - // 181 bytes of a gzipped FileDescriptorProto + // 168 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2d, 0x4e, 0x4d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x4a, 0xcc, 0x4b, 0xc9, 0xcf, 0xcd, 0x4b, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0xd4, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0xce, 0x2c, 0xd6, 0x2b, 0x28, 0xca, 0x2f, - 0xc9, 0x17, 0x12, 0x87, 0x2b, 0xd3, 0x43, 0x28, 0xd3, 0x2b, 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, - 0xcf, 0x07, 0xab, 0xd1, 0x07, 0xb1, 0x20, 0xca, 0x95, 0x94, 0xb8, 0x78, 0xdc, 0x21, 0xfa, 0x83, - 0x4b, 0x12, 0x4b, 0x52, 0x85, 0x84, 0xb8, 0x58, 0x8a, 0x53, 0x53, 0x53, 0x24, 0x18, 0x15, 0x18, - 0x35, 0x38, 0x83, 0xc0, 0x6c, 0x27, 0xff, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, - 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, - 0x88, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x07, 0xd9, 0x0b, - 0x36, 0x33, 0x39, 0x3f, 0x07, 0xcc, 0xd1, 0x85, 0x38, 0xb6, 0x02, 0xd9, 0xb9, 0x25, 0x95, 0x05, - 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x75, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x9d, 0x48, 0xd8, - 0x0b, 0xd3, 0x00, 0x00, 0x00, + 0xc9, 0x17, 0x12, 0x87, 0x2b, 0xd3, 0x43, 0x28, 0xd3, 0x2b, 0x33, 0x54, 0x52, 0xe2, 0xe2, 0x71, + 0x87, 0xa8, 0x0c, 0x2e, 0x49, 0x2c, 0x49, 0x15, 0x12, 0xe2, 0x62, 0x29, 0x4e, 0x4d, 0x4d, 0x91, + 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x0c, 0x02, 0xb3, 0x9d, 0xfc, 0x4f, 0x3c, 0x92, 0x63, 0xbc, 0xf0, + 0x48, 0x8e, 0xf1, 0xc1, 0x23, 0x39, 0xc6, 0x09, 0x8f, 0xe5, 0x18, 0x2e, 0x3c, 0x96, 0x63, 0xb8, + 0xf1, 0x58, 0x8e, 0x21, 0xca, 0x34, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f, 0x57, + 0x1f, 0x64, 0x03, 0xd8, 0xb2, 0xe4, 0xfc, 0x1c, 0x30, 0x47, 0x17, 0xe2, 0xac, 0x0a, 0x64, 0x87, + 0x95, 0x54, 0x16, 0xa4, 0x16, 0x27, 0xb1, 0x81, 0xd5, 0x19, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, + 0x76, 0x81, 0x24, 0x28, 0xbd, 0x00, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/randomness/types/query.pb.go b/x/randomness/types/query.pb.go index 6247d933..fa84417e 100644 --- a/x/randomness/types/query.pb.go +++ b/x/randomness/types/query.pb.go @@ -6,7 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -29,6 +28,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// The message for getting the random modules seed. type QuerySeedRequest struct { } @@ -65,6 +65,7 @@ func (m *QuerySeedRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QuerySeedRequest proto.InternalMessageInfo +// The message for returning the random modules seed. type QuerySeedResponse struct { Seed string `protobuf:"bytes,1,opt,name=seed,proto3" json:"seed,omitempty"` BlockHeight int64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` @@ -127,26 +128,25 @@ func init() { } var fileDescriptor_aefaf0cd21517ead = []byte{ - // 297 bytes of a gzipped FileDescriptorProto + // 284 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x4e, 0x4d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x4a, 0xcc, 0x4b, 0xc9, 0xcf, 0xcd, 0x4b, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0xd4, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, - 0x12, 0x87, 0x2b, 0xd2, 0x43, 0x28, 0xd2, 0x2b, 0x33, 0x94, 0x12, 0x49, 0xcf, 0x4f, 0xcf, 0x07, - 0xab, 0xd1, 0x07, 0xb1, 0x20, 0xca, 0xa5, 0x64, 0xd2, 0xf3, 0xf3, 0xd3, 0x73, 0x52, 0xf5, 0x13, - 0x0b, 0x32, 0xf5, 0x13, 0xf3, 0xf2, 0xf2, 0x4b, 0x12, 0x4b, 0x32, 0xf3, 0xf3, 0x8a, 0x21, 0xb2, - 0x4a, 0x42, 0x5c, 0x02, 0x81, 0x20, 0xb3, 0x83, 0x53, 0x53, 0x53, 0x82, 0x52, 0x0b, 0x4b, 0x53, - 0x8b, 0x4b, 0x94, 0xbc, 0xb8, 0x04, 0x91, 0xc4, 0x8a, 0x0b, 0xf2, 0xf3, 0x8a, 0x53, 0x85, 0x84, - 0xb8, 0x58, 0x8a, 0x53, 0x53, 0x53, 0x24, 0x18, 0x15, 0x18, 0x35, 0x38, 0x83, 0xc0, 0x6c, 0x21, - 0x45, 0x2e, 0x9e, 0xa4, 0x9c, 0xfc, 0xe4, 0xec, 0xf8, 0x8c, 0xd4, 0xcc, 0xf4, 0x8c, 0x12, 0x09, - 0x26, 0x05, 0x46, 0x0d, 0xe6, 0x20, 0x6e, 0xb0, 0x98, 0x07, 0x58, 0xc8, 0xa8, 0x87, 0x91, 0x8b, - 0x15, 0x6c, 0x98, 0x50, 0x13, 0x23, 0x17, 0x0b, 0xc8, 0x44, 0x21, 0x4d, 0x3d, 0x1c, 0x1e, 0xd0, - 0x43, 0x77, 0x89, 0x94, 0x16, 0x31, 0x4a, 0x21, 0x0e, 0x54, 0x52, 0x6e, 0xba, 0xfc, 0x64, 0x32, - 0x93, 0xac, 0x90, 0xb4, 0x3e, 0x48, 0x8f, 0x2e, 0x46, 0x28, 0x82, 0x5c, 0xec, 0xe4, 0x7f, 0xe2, - 0x91, 0x1c, 0xe3, 0x85, 0x47, 0x72, 0x8c, 0x0f, 0x1e, 0xc9, 0x31, 0x4e, 0x78, 0x2c, 0xc7, 0x70, - 0xe1, 0xb1, 0x1c, 0xc3, 0x8d, 0xc7, 0x72, 0x0c, 0x51, 0xa6, 0xe9, 0x99, 0x25, 0x19, 0xa5, 0x49, - 0x7a, 0xc9, 0xf9, 0xb9, 0x60, 0x03, 0xc0, 0xc1, 0x93, 0x9c, 0x9f, 0x83, 0x6c, 0x5a, 0x05, 0xb2, - 0x79, 0x25, 0x95, 0x05, 0xa9, 0xc5, 0x49, 0x6c, 0x60, 0x75, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, - 0xff, 0x72, 0x85, 0x04, 0x00, 0xba, 0x01, 0x00, 0x00, + 0x12, 0x87, 0x2b, 0xd2, 0x43, 0x28, 0xd2, 0x2b, 0x33, 0x94, 0x92, 0x49, 0xcf, 0xcf, 0x4f, 0xcf, + 0x49, 0xd5, 0x4f, 0x2c, 0xc8, 0xd4, 0x4f, 0xcc, 0xcb, 0xcb, 0x2f, 0x49, 0x2c, 0xc9, 0xcc, 0xcf, + 0x2b, 0x86, 0x68, 0x53, 0x12, 0xe2, 0x12, 0x08, 0x04, 0x99, 0x12, 0x9c, 0x9a, 0x9a, 0x12, 0x94, + 0x5a, 0x58, 0x9a, 0x5a, 0x5c, 0xa2, 0xe4, 0xc5, 0x25, 0x88, 0x24, 0x56, 0x5c, 0x90, 0x9f, 0x57, + 0x9c, 0x2a, 0x24, 0xc4, 0xc5, 0x52, 0x9c, 0x9a, 0x9a, 0x22, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, 0x19, + 0x04, 0x66, 0x0b, 0x29, 0x72, 0xf1, 0x24, 0xe5, 0xe4, 0x27, 0x67, 0xc7, 0x67, 0xa4, 0x66, 0xa6, + 0x67, 0x94, 0x48, 0x30, 0x29, 0x30, 0x6a, 0x30, 0x07, 0x71, 0x83, 0xc5, 0x3c, 0xc0, 0x42, 0x46, + 0x3d, 0x8c, 0x5c, 0xac, 0x60, 0xc3, 0x84, 0x9a, 0x18, 0xb9, 0x58, 0x40, 0x26, 0x0a, 0x69, 0xea, + 0xe1, 0x70, 0xaa, 0x1e, 0xba, 0x4b, 0xa4, 0xb4, 0x88, 0x51, 0x0a, 0x71, 0xa0, 0x92, 0x72, 0xd3, + 0xe5, 0x27, 0x93, 0x99, 0x64, 0x85, 0xa4, 0xf5, 0x41, 0x7a, 0x74, 0x31, 0xc2, 0x0b, 0xe4, 0x62, + 0x27, 0xff, 0x13, 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, + 0x63, 0x39, 0x86, 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4d, 0xcf, 0x2c, + 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0x05, 0x1b, 0x00, 0x0e, 0x9e, 0xe4, 0xfc, 0x1c, 0x64, + 0xd3, 0x2a, 0x90, 0xcd, 0x2b, 0xa9, 0x2c, 0x48, 0x2d, 0x4e, 0x62, 0x03, 0xab, 0x33, 0x06, 0x04, + 0x00, 0x00, 0xff, 0xff, 0x55, 0x8c, 0x94, 0x61, 0xa4, 0x01, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -161,6 +161,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type QueryClient interface { + // For getting the random modules seed. Seed(ctx context.Context, in *QuerySeedRequest, opts ...grpc.CallOption) (*QuerySeedResponse, error) } @@ -183,6 +184,7 @@ func (c *queryClient) Seed(ctx context.Context, in *QuerySeedRequest, opts ...gr // QueryServer is the server API for Query service. type QueryServer interface { + // For getting the random modules seed. Seed(context.Context, *QuerySeedRequest) (*QuerySeedResponse, error) } diff --git a/x/randomness/types/randomness.pb.go b/x/randomness/types/randomness.pb.go index 6f0124f4..e040a599 100644 --- a/x/randomness/types/randomness.pb.go +++ b/x/randomness/types/randomness.pb.go @@ -7,7 +7,6 @@ import ( fmt "fmt" _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" io "io" math "math" @@ -25,8 +24,10 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// ValidatorVRF is the randomness validator's VRF key information type ValidatorVRF struct { - // operator_address defines the address of the validator's operator; bech encoded in JSON. + // operator_address defines the address of the validator's operator; bech + // encoded in JSON. OperatorAddress string `protobuf:"bytes,1,opt,name=operator_address,json=operatorAddress,proto3" json:"operator_address,omitempty"` // vrf_pubkey is the public key of the validator's VRF key pair VrfPubkey *types.Any `protobuf:"bytes,2,opt,name=vrf_pubkey,json=vrfPubkey,proto3" json:"vrf_pubkey,omitempty"` @@ -88,26 +89,26 @@ func init() { } var fileDescriptor_5bb7c7510d674163 = []byte{ - // 301 bytes of a gzipped FileDescriptorProto + // 291 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x28, 0x4e, 0x4d, 0x49, 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x4a, 0xcc, 0x4b, 0xc9, 0xcf, 0xcd, 0x4b, 0x2d, 0x2e, 0xd6, 0x2f, 0x33, 0x44, 0xe2, 0xe9, 0x15, 0x14, 0xe5, 0x97, 0xe4, 0x0b, 0x89, 0xc3, 0x55, 0xea, 0x21, 0xc9, 0x95, 0x19, 0x4a, 0x49, 0xa6, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4, 0xea, 0x83, 0x95, 0x25, - 0x95, 0xa6, 0xe9, 0x27, 0xe6, 0x55, 0x42, 0xf4, 0x48, 0x89, 0xa4, 0xe7, 0xa7, 0xe7, 0x83, 0x99, - 0xfa, 0x20, 0x16, 0x54, 0x54, 0x32, 0x39, 0xbf, 0x38, 0x37, 0xbf, 0x38, 0x1e, 0x22, 0x01, 0xe1, - 0x40, 0xa4, 0x94, 0x16, 0x31, 0x72, 0xf1, 0x84, 0x25, 0xe6, 0x64, 0xa6, 0x24, 0x96, 0xe4, 0x17, - 0x85, 0x05, 0xb9, 0x09, 0x39, 0x73, 0x09, 0xe4, 0x17, 0xa4, 0x16, 0x81, 0xb8, 0xf1, 0x89, 0x29, - 0x29, 0x45, 0xa9, 0xc5, 0xc5, 0x12, 0x8c, 0x0a, 0x8c, 0x1a, 0x9c, 0x4e, 0x12, 0x97, 0xb6, 0xe8, - 0x8a, 0x40, 0x35, 0x3b, 0x42, 0x64, 0x82, 0x4b, 0x8a, 0x32, 0xf3, 0xd2, 0x83, 0xf8, 0x61, 0x3a, - 0xa0, 0xc2, 0x42, 0xbe, 0x5c, 0x5c, 0x65, 0x45, 0x69, 0xf1, 0x05, 0xa5, 0x49, 0xd9, 0xa9, 0x95, - 0x12, 0x4c, 0x0a, 0x8c, 0x1a, 0xdc, 0x46, 0x22, 0x7a, 0x10, 0x67, 0xeb, 0xc1, 0x9c, 0xad, 0xe7, - 0x98, 0x57, 0xe9, 0x24, 0x71, 0x0a, 0x61, 0x68, 0x72, 0x51, 0x65, 0x41, 0x49, 0xbe, 0x5e, 0x40, - 0x69, 0x92, 0x77, 0x6a, 0x65, 0x10, 0x67, 0x59, 0x51, 0x5a, 0x00, 0xd8, 0x00, 0x27, 0xff, 0x13, - 0x8f, 0xe4, 0x18, 0x2f, 0x3c, 0x92, 0x63, 0x7c, 0xf0, 0x48, 0x8e, 0x71, 0xc2, 0x63, 0x39, 0x86, - 0x0b, 0x8f, 0xe5, 0x18, 0x6e, 0x3c, 0x96, 0x63, 0x88, 0x32, 0x4d, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, - 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x07, 0x05, 0x17, 0xd8, 0xec, 0xe4, 0xfc, 0x1c, 0x30, 0x47, 0x17, - 0x12, 0xcc, 0x15, 0xc8, 0x01, 0x5d, 0x52, 0x59, 0x90, 0x5a, 0x9c, 0xc4, 0x06, 0x56, 0x67, 0x0c, - 0x08, 0x00, 0x00, 0xff, 0xff, 0x84, 0x1f, 0x79, 0x1b, 0x8d, 0x01, 0x00, 0x00, + 0x95, 0xa6, 0xe9, 0x27, 0xe6, 0x55, 0x42, 0xf4, 0x48, 0x49, 0x26, 0xe7, 0x17, 0xe7, 0xe6, 0x17, + 0xc7, 0x83, 0x79, 0xfa, 0x10, 0x0e, 0x44, 0x4a, 0x69, 0x11, 0x23, 0x17, 0x4f, 0x58, 0x62, 0x4e, + 0x66, 0x4a, 0x62, 0x49, 0x7e, 0x51, 0x58, 0x90, 0x9b, 0x90, 0x33, 0x97, 0x40, 0x7e, 0x41, 0x6a, + 0x11, 0x88, 0x1b, 0x9f, 0x98, 0x92, 0x52, 0x94, 0x5a, 0x5c, 0x2c, 0xc1, 0xa8, 0xc0, 0xa8, 0xc1, + 0xe9, 0x24, 0x71, 0x69, 0x8b, 0xae, 0x08, 0x54, 0xb3, 0x23, 0x44, 0x26, 0xb8, 0xa4, 0x28, 0x33, + 0x2f, 0x3d, 0x88, 0x1f, 0xa6, 0x03, 0x2a, 0x2c, 0xe4, 0xcb, 0xc5, 0x55, 0x56, 0x94, 0x16, 0x5f, + 0x50, 0x9a, 0x94, 0x9d, 0x5a, 0x29, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xa2, 0x07, 0x71, + 0xa0, 0x1e, 0xcc, 0x81, 0x7a, 0x8e, 0x79, 0x95, 0x4e, 0x12, 0xa7, 0x10, 0x86, 0x26, 0x17, 0x55, + 0x16, 0x94, 0xe4, 0xeb, 0x05, 0x94, 0x26, 0x79, 0xa7, 0x56, 0x06, 0x71, 0x96, 0x15, 0xa5, 0x05, + 0x80, 0x0d, 0x70, 0xf2, 0x3f, 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, 0xd3, + 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, 0x5c, 0x7d, 0x50, 0xc0, 0x80, 0xcd, 0x4e, + 0xce, 0xcf, 0x01, 0x73, 0x74, 0x21, 0x01, 0x5a, 0x81, 0x1c, 0xa4, 0x25, 0x95, 0x05, 0xa9, 0xc5, + 0x49, 0x6c, 0x60, 0x75, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x57, 0x43, 0x56, 0x56, 0x77, + 0x01, 0x00, 0x00, } func (m *ValidatorVRF) Marshal() (dAtA []byte, err error) { diff --git a/x/randomness/types/tx.pb.go b/x/randomness/types/tx.pb.go index 9435f7b5..d711ef9d 100644 --- a/x/randomness/types/tx.pb.go +++ b/x/randomness/types/tx.pb.go @@ -28,6 +28,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// The message for submitting a new seed to the chain. type MsgNewSeed struct { Prover string `protobuf:"bytes,1,opt,name=prover,proto3" json:"prover,omitempty"` Pi string `protobuf:"bytes,2,opt,name=pi,proto3" json:"pi,omitempty"` @@ -88,6 +89,7 @@ func (m *MsgNewSeed) GetBeta() string { return "" } +// The response message for submitting a new seed to the chain. type MsgNewSeedResponse struct { } @@ -164,6 +166,7 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // NewSeed defines a method for submitting a new seed to the chain. NewSeed(ctx context.Context, in *MsgNewSeed, opts ...grpc.CallOption) (*MsgNewSeedResponse, error) } @@ -186,6 +189,7 @@ func (c *msgClient) NewSeed(ctx context.Context, in *MsgNewSeed, opts ...grpc.Ca // MsgServer is the server API for Msg service. type MsgServer interface { + // NewSeed defines a method for submitting a new seed to the chain. NewSeed(context.Context, *MsgNewSeed) (*MsgNewSeedResponse, error) } diff --git a/x/staking/types/tx.pb.go b/x/staking/types/tx.pb.go index d7f2a966..c8d263c6 100644 --- a/x/staking/types/tx.pb.go +++ b/x/staking/types/tx.pb.go @@ -19,7 +19,6 @@ import ( grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" math_bits "math/bits" @@ -42,8 +41,8 @@ type MsgCreateValidatorWithVRF struct { Commission types.CommissionRates `protobuf:"bytes,2,opt,name=commission,proto3" json:"commission"` MinSelfDelegation cosmossdk_io_math.Int `protobuf:"bytes,3,opt,name=min_self_delegation,json=minSelfDelegation,proto3,customtype=cosmossdk.io/math.Int" json:"min_self_delegation"` // Deprecated: Use of Delegator Address in MsgCreateValidator is deprecated. - // The validator address bytes and delegator address bytes refer to the same account while creating validator (defer - // only in bech32 notation). + // The validator address bytes and delegator address bytes refer to the same + // account while creating validator (defer only in bech32 notation). DelegatorAddress string `protobuf:"bytes,4,opt,name=delegator_address,json=delegatorAddress,proto3" json:"delegator_address,omitempty"` // Deprecated: Do not use. ValidatorAddress string `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"` Pubkey *types1.Any `protobuf:"bytes,6,opt,name=pubkey,proto3" json:"pubkey,omitempty"` @@ -129,47 +128,46 @@ func init() { func init() { proto.RegisterFile("sedachain/staking/v1/tx.proto", fileDescriptor_670d278351a2d088) } var fileDescriptor_670d278351a2d088 = []byte{ - // 636 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0x3f, 0x4f, 0xdb, 0x4e, - 0x18, 0xc7, 0xe3, 0x1f, 0x3f, 0x68, 0x39, 0x16, 0xe2, 0xa6, 0x6d, 0x12, 0x09, 0x87, 0x3f, 0x95, - 0x8a, 0x90, 0x72, 0xd7, 0xd0, 0xa1, 0x12, 0x1b, 0x01, 0x51, 0xa1, 0x96, 0x0a, 0x19, 0x89, 0x4a, - 0x5d, 0xd2, 0xb3, 0x7d, 0x71, 0x4e, 0xd8, 0x77, 0x96, 0xef, 0x62, 0xe1, 0x95, 0xa9, 0xea, 0xd4, - 0x97, 0xc0, 0xd8, 0xad, 0x0c, 0xbc, 0x08, 0xd4, 0x09, 0x31, 0x55, 0x1d, 0x50, 0x05, 0x03, 0x7d, - 0x19, 0x55, 0xce, 0x67, 0x27, 0xd0, 0x66, 0x68, 0x97, 0xc8, 0x77, 0xdf, 0xef, 0xf3, 0xf1, 0xd7, - 0xcf, 0x3d, 0x39, 0x30, 0x27, 0x88, 0x87, 0xdd, 0x1e, 0xa6, 0x0c, 0x09, 0x89, 0x0f, 0x28, 0xf3, - 0x51, 0xd2, 0x42, 0xf2, 0x10, 0x46, 0x31, 0x97, 0xdc, 0xac, 0x14, 0x32, 0xd4, 0x32, 0x4c, 0x5a, - 0xf5, 0x9a, 0xcf, 0xb9, 0x1f, 0x10, 0xa4, 0x3c, 0x4e, 0xbf, 0x8b, 0x30, 0x4b, 0xb3, 0x82, 0x7a, - 0xe3, 0xae, 0x24, 0x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xeb, 0xc3, 0x71, 0xa3, 0xf4, 0xf3, 0xb8, 0x51, 0x3a, 0xba, 0x39, 0x59, 0xf9, 0xbd, 0x5b, - 0x8b, 0x4b, 0x60, 0x61, 0xec, 0xc0, 0xda, 0x44, 0x44, 0x9c, 0x09, 0xb2, 0xfa, 0xd1, 0x00, 0x13, - 0x3b, 0xc2, 0x37, 0x8f, 0x0c, 0xf0, 0x68, 0xcc, 0x6c, 0x23, 0xf8, 0xa7, 0x0b, 0x01, 0x8e, 0x65, - 0xd7, 0x5f, 0xfc, 0x65, 0x41, 0x1e, 0xa6, 0xfd, 0xfa, 0xec, 0xca, 0x32, 0xce, 0xaf, 0x2c, 0xe3, - 0xc7, 0x95, 0x65, 0x7c, 0xba, 0xb6, 0x4a, 0xe7, 0xd7, 0x56, 0xe9, 0xdb, 0xb5, 0x55, 0x7a, 0xb7, - 0xea, 0x53, 0xd9, 0xeb, 0x3b, 0xd0, 0xe5, 0x21, 0x1a, 0xc0, 0x55, 0xb7, 0x5c, 0x1e, 0xa8, 0x45, - 0x33, 0xbb, 0xcb, 0x0e, 0x8b, 0x3f, 0xba, 0x4c, 0x23, 0x22, 0x9c, 0x29, 0x65, 0x7a, 0xfe, 0x2b, - 0x00, 0x00, 0xff, 0xff, 0x23, 0x9a, 0xd5, 0x76, 0xef, 0x04, 0x00, 0x00, + // 618 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x94, 0xcf, 0x4f, 0x13, 0x41, + 0x14, 0xc7, 0xbb, 0x22, 0x28, 0xc3, 0x85, 0xae, 0x55, 0xdb, 0x26, 0x6c, 0xf9, 0x61, 0x22, 0x21, + 0xe9, 0x8c, 0xc5, 0x83, 0x09, 0x37, 0x0a, 0xc1, 0x10, 0xc5, 0x90, 0x25, 0xc1, 0xc4, 0x4b, 0x9d, + 0xdd, 0x9d, 0x6e, 0x27, 0xec, 0xce, 0x34, 0x3b, 0xd3, 0x0d, 0xbd, 0x72, 0x32, 0x9e, 0xfc, 0x13, + 0x38, 0x7a, 0x93, 0x03, 0x7f, 0x04, 0xf1, 0x44, 0x38, 0x19, 0x0f, 0xc4, 0xc0, 0x01, 0xff, 0x0c, + 0xd3, 0x99, 0xd9, 0x6d, 0x51, 0x7b, 0xd0, 0xcb, 0x66, 0x66, 0xbe, 0xef, 0x7d, 0xe6, 0x9b, 0xf7, + 0xde, 0x2c, 0x98, 0x13, 0x24, 0xc0, 0x7e, 0x07, 0x53, 0x86, 0x84, 0xc4, 0x07, 0x94, 0x85, 0x28, + 0x6d, 0x20, 0x79, 0x08, 0xbb, 0x09, 0x97, 0xdc, 0x2e, 0xe5, 0x32, 0x34, 0x32, 0x4c, 0x1b, 0xd5, + 0x4a, 0xc8, 0x79, 0x18, 0x11, 0xa4, 0x62, 0xbc, 0x5e, 0x1b, 0x61, 0xd6, 0xd7, 0x09, 0xd5, 0x52, + 0xc8, 0x43, 0xae, 0x96, 0x68, 0xb0, 0x32, 0xa7, 0x15, 0x9f, 0x8b, 0x98, 0x8b, 0x96, 0x16, 0xf4, + 0xc6, 0x48, 0x8e, 0xde, 0x21, 0x0f, 0x0b, 0x82, 0xd2, 0x86, 0x47, 0x24, 0x6e, 0x20, 0x9f, 0x53, + 0x66, 0xf4, 0x27, 0x46, 0x1f, 0xba, 0xd3, 0x21, 0x99, 0x1d, 0x1d, 0xf5, 0xd8, 0x44, 0xc5, 0x42, + 0xf9, 0x8f, 0x45, 0x26, 0x14, 0x71, 0x4c, 0x19, 0x47, 0xea, 0xab, 0x8f, 0x16, 0xbf, 0x4c, 0x82, + 0xca, 0x8e, 0x08, 0x37, 0x12, 0x82, 0x25, 0xd9, 0xc7, 0x11, 0x0d, 0xb0, 0xe4, 0xc9, 0x5b, 0x2a, + 0x3b, 0xfb, 0xee, 0x96, 0xbd, 0x0b, 0x66, 0x02, 0x22, 0xfc, 0x84, 0x76, 0x25, 0xe5, 0xac, 0x6c, + 0xc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, 0x0a, 0x00, 0x00, + 0xff, 0xff, 0xd0, 0xfe, 0xfa, 0x43, 0xad, 0x04, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. diff --git a/x/wasm-storage/types/events.pb.go b/x/wasm-storage/types/events.pb.go index 5fd9f8f7..928c6f2b 100644 --- a/x/wasm-storage/types/events.pb.go +++ b/x/wasm-storage/types/events.pb.go @@ -5,9 +5,7 @@ package types import ( fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" proto "github.com/cosmos/gogoproto/proto" - _ "google.golang.org/protobuf/types/known/timestamppb" io "io" math "math" math_bits "math/bits" @@ -24,6 +22,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// The msg for storing a data request wasm. type EventStoreDataRequestWasm struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` WasmType WasmType `protobuf:"varint,2,opt,name=wasm_type,json=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasm_type,omitempty"` @@ -84,6 +83,7 @@ func (m *EventStoreDataRequestWasm) GetBytecode() []byte { return nil } +// The msg for storing a overlay wasm(i.e. relayer or executor) type EventStoreOverlayWasm struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` WasmType WasmType `protobuf:"varint,2,opt,name=wasm_type,json=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasm_type,omitempty"` @@ -154,26 +154,24 @@ func init() { } var fileDescriptor_90b0422555944a3a = []byte{ - // 304 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x90, 0xb1, 0x4b, 0xfb, 0x40, - 0x1c, 0xc5, 0x73, 0xbf, 0x9f, 0x48, 0x7b, 0x88, 0x43, 0x50, 0x48, 0x33, 0x9c, 0xa1, 0x82, 0x64, - 0xb0, 0x77, 0x54, 0x07, 0x57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, 0x7f, 0x2b, 0x58, 0xf9, - 0xe1, 0x33, 0xc2, 0xbb, 0xdf, 0x7d, 0x2e, 0x2b, 0x28, 0x52, 0x5e, 0xff, 0x4d, 0x97, 0xb3, 0xab, - 0xb7, 0x86, 0xa0, 0x79, 0x43, 0xd0, 0x47, 0x43, 0xd0, 0x6b, 0x4b, 0xac, 0x79, 0x4b, 0xac, 0xf7, - 0x96, 0x58, 0x77, 0x27, 0x22, 0xd1, 0x71, 0x19, 0xd2, 0x48, 0x66, 0xac, 0x8b, 0x33, 0x5b, 0x46, - 0x32, 0x35, 0x66, 0xb4, 0x18, 0xff, 0xc9, 0xcc, 0x3d, 0xfa, 0x9a, 0xbf, 0xab, 0xa8, 0xc2, 0x4d, - 0x43, 0x1e, 0x7f, 0x06, 0x00, 0x00, 0xff, 0xff, 0xce, 0x3f, 0x0f, 0x9b, 0x1f, 0x02, 0x00, 0x00, + // 267 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2b, 0x4e, 0x4d, 0x49, + 0x4c, 0xce, 0x48, 0xcc, 0xcc, 0xd3, 0x2f, 0x4f, 0x2c, 0xce, 0x8d, 0x2f, 0x2e, 0xc9, 0x2f, 0x4a, + 0x4c, 0x4f, 0xd5, 0x2f, 0x33, 0xd4, 0x4f, 0x2d, 0x4b, 0xcd, 0x2b, 0x29, 0xd6, 0x2b, 0x28, 0xca, + 0x2f, 0xc9, 0x17, 0x92, 0x84, 0xab, 0xd3, 0x43, 0x56, 0xa7, 0x57, 0x66, 0x28, 0xa5, 0x83, 0xdb, + 0x08, 0x14, 0xa5, 0x60, 0x83, 0x94, 0x7a, 0x19, 0xb9, 0x24, 0x5d, 0x41, 0x26, 0x07, 0x97, 0xe4, + 0x17, 0xa5, 0xba, 0x24, 0x96, 0x24, 0x06, 0xa5, 0x16, 0x96, 0xa6, 0x16, 0x97, 0x84, 0x27, 0x16, + 0xe7, 0x0a, 0x09, 0x71, 0xb1, 0x64, 0x24, 0x16, 0x67, 0x48, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x06, + 0x81, 0xd9, 0x42, 0x0e, 0x5c, 0x9c, 0x60, 0x73, 0x4a, 0x2a, 0x0b, 0x52, 0x25, 0x98, 0x14, 0x18, + 0x35, 0xf8, 0x8c, 0x94, 0xf5, 0x70, 0x3a, 0x47, 0x0f, 0x64, 0x4e, 0x48, 0x65, 0x41, 0x6a, 0x10, + 0x47, 0x39, 0x94, 0x25, 0x24, 0xc5, 0xc5, 0x91, 0x54, 0x59, 0x92, 0x9a, 0x9c, 0x9f, 0x92, 0x2a, + 0xc1, 0xac, 0xc0, 0xa8, 0xc1, 0x13, 0x04, 0xe7, 0x2b, 0x75, 0x32, 0x72, 0x89, 0x22, 0xdc, 0xe3, + 0x5f, 0x96, 0x5a, 0x94, 0x93, 0x58, 0x39, 0x30, 0x6e, 0x71, 0x0a, 0x3c, 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, 0xf3, 0xf4, 0xcc, 0x92, 0x8c, 0xd2, 0x24, 0xbd, 0xe4, 0xfc, + 0x5c, 0x7d, 0x90, 0x75, 0xe0, 0xb0, 0x4c, 0xce, 0xcf, 0x01, 0x73, 0x74, 0x21, 0x81, 0x5f, 0x01, + 0x0e, 0x6e, 0x5d, 0x58, 0xf0, 0x83, 0x9c, 0x58, 0x9c, 0xc4, 0x06, 0x56, 0x69, 0x0c, 0x08, 0x00, + 0x00, 0xff, 0xff, 0xc5, 0xe7, 0x1b, 0x54, 0xe8, 0x01, 0x00, 0x00, } func (m *EventStoreDataRequestWasm) Marshal() (dAtA []byte, err error) { diff --git a/x/wasm-storage/types/genesis.pb.go b/x/wasm-storage/types/genesis.pb.go index f9cd51f5..4fca28dc 100644 --- a/x/wasm-storage/types/genesis.pb.go +++ b/x/wasm-storage/types/genesis.pb.go @@ -23,6 +23,8 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// GenesisState defines the wasm module's genesis state(i.e wasms stored at +// genesis.) type GenesisState struct { Wasms []Wasm `protobuf:"bytes,1,rep,name=wasms,proto3" json:"wasms"` ProxyContractRegistry string `protobuf:"bytes,2,opt,name=proxy_contract_registry,json=proxyContractRegistry,proto3" json:"proxy_contract_registry,omitempty"` diff --git a/x/wasm-storage/types/query.pb.go b/x/wasm-storage/types/query.pb.go index db82b7e8..01a1ba6c 100644 --- a/x/wasm-storage/types/query.pb.go +++ b/x/wasm-storage/types/query.pb.go @@ -6,7 +6,6 @@ package types import ( context "context" fmt "fmt" - _ "github.com/cosmos/gogoproto/gogoproto" grpc1 "github.com/cosmos/gogoproto/grpc" proto "github.com/cosmos/gogoproto/proto" _ "google.golang.org/genproto/googleapis/api/annotations" @@ -29,6 +28,7 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// The request message for QueryDataRequestWasm RPC. type QueryDataRequestWasmRequest struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` } @@ -73,6 +73,7 @@ func (m *QueryDataRequestWasmRequest) GetHash() string { return "" } +// The response message for QueryDataRequestWasm RPC. type QueryDataRequestWasmResponse struct { Wasm *Wasm `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` } @@ -117,6 +118,7 @@ func (m *QueryDataRequestWasmResponse) GetWasm() *Wasm { return nil } +// The request message for QueryDataRequestWasms RPC. type QueryDataRequestWasmsRequest struct { } @@ -153,6 +155,7 @@ func (m *QueryDataRequestWasmsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryDataRequestWasmsRequest proto.InternalMessageInfo +// The response message for QueryDataRequestWasms RPC. type QueryDataRequestWasmsResponse struct { HashTypePairs []string `protobuf:"bytes,1,rep,name=hash_type_pairs,json=hashTypePairs,proto3" json:"hash_type_pairs,omitempty"` } @@ -197,6 +200,7 @@ func (m *QueryDataRequestWasmsResponse) GetHashTypePairs() []string { return nil } +// The request message for QueryOverlayWasm RPC. type QueryOverlayWasmRequest struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` } @@ -241,6 +245,7 @@ func (m *QueryOverlayWasmRequest) GetHash() string { return "" } +// The response message for QueryOverlayWasm RPC. type QueryOverlayWasmResponse struct { Wasm *Wasm `protobuf:"bytes,1,opt,name=wasm,proto3" json:"wasm,omitempty"` } @@ -285,6 +290,7 @@ func (m *QueryOverlayWasmResponse) GetWasm() *Wasm { return nil } +// The request message for QueryOverlayWasms RPC. type QueryOverlayWasmsRequest struct { } @@ -321,6 +327,7 @@ func (m *QueryOverlayWasmsRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryOverlayWasmsRequest proto.InternalMessageInfo +// The response message for QueryOverlayWasms RPC. type QueryOverlayWasmsResponse struct { HashTypePairs []string `protobuf:"bytes,1,rep,name=hash_type_pairs,json=hashTypePairs,proto3" json:"hash_type_pairs,omitempty"` } @@ -365,6 +372,7 @@ func (m *QueryOverlayWasmsResponse) GetHashTypePairs() []string { return nil } +// The request message for QueryProxyContractRegistry RPC. type QueryProxyContractRegistryRequest struct { } @@ -401,6 +409,7 @@ func (m *QueryProxyContractRegistryRequest) XXX_DiscardUnknown() { var xxx_messageInfo_QueryProxyContractRegistryRequest proto.InternalMessageInfo +// The response message for QueryProxyContractRegistry RPC. type QueryProxyContractRegistryResponse struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` } @@ -463,43 +472,43 @@ func init() { } var fileDescriptor_0e3a991a3b0319b3 = []byte{ - // 573 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55,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2a, 0x2c, 0x55, 0xf5, 0xd9, 0x79, 0x06, 0x6b, 0xd3, 0x21, 0x22, 0x66, 0x91, 0xa0, - 0xb8, 0x02, 0x0b, 0x4a, 0x48, 0x63, 0x96, 0xcb, 0x37, 0xdc, 0xd4, 0x78, 0xae, 0x86, 0xe9, 0x66, - 0xc7, 0x9e, 0x4e, 0x2a, 0xcc, 0xd9, 0x79, 0x0a, 0xd7, 0x53, 0xea, 0x46, 0x75, 0x03, 0x56, 0x94, - 0x3b, 0x5f, 0x26, 0x31, 0xf5, 0x63, 0x12, 0x72, 0x91, 0x47, 0xeb, 0xff, 0x17, 0x96, 0xaa, 0x17, - 0xd5, 0xe3, 0xe7, 0x49, 0x4c, 0xf7, 0xd5, 0x43, 0xa7, 0x08, 0x57, 0x35, 0xd1, 0x5e, 0x87, 0xf2, - 0x26, 0x49, 0xe6, 0x85, 0xdd, 0x83, 0xfc, 0x64, 0xfb, 0xbf, 0x04, 0xb5, 0x26, 0x09, 0x87, 0x21, - 0x77, 0x61, 0x75, 0x4a, 0x2d, 0x63, 0xc0, 0x5b, 0x70, 0x53, 0x93, 0xec, 0x73, 0x76, 0x9c, 0xec, - 0xb2, 0x48, 0x72, 0x52, 0x93, 0x55, 0x1a, 0x84, 0x42, 0xf2, 0x64, 0xa0, 0xf4, 0x08, 0x9c, 0x59, - 0x4d, 0x46, 0x32, 0x0f, 0x8b, 0xa4, 0x5e, 0xe7, 0x54, 0x08, 0x33, 0x93, 0xc1, 0xcf, 0xf2, 0xa7, - 0x45, 0x38, 0xa7, 0x09, 0xf0, 0x17, 0x04, 0x2b, 0xa7, 0x5e, 0x0a, 0xbe, 0x37, 0x63, 0x14, 0x33, - 0xb6, 0xcd, 0xda, 0xce, 0x8c, 0xeb, 0x1b, 0x75, 0xee, 0xbf, 0xfd, 0xfe, 0xeb, 0xfd, 0x7f, 0x15, - 0x5c, 0xf2, 0x14, 0x41, 0xf1, 0xcf, 0xf6, 0x17, 0x07, 0xdb, 0x5f, 0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 0x01, 0x00, 0x00, 0xff, 0xff, 0x4e, 0x87, 0x4c, 0xbc, 0xe9, 0x06, 0x00, 0x00, + // 561 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x55, 0x4f, 0x6b, 0x13, 0x41, + 0x14, 0xcf, 0x68, 0xb5, 0xf4, 0x55, 0xa9, 0x0c, 0x88, 0xe9, 0x5a, 0xd7, 0xba, 0x62, 0x09, 0xd8, + 0xec, 0x9a, 0xa4, 0xd8, 0x0a, 0xea, 0xc1, 0x0a, 0x1e, 0xdb, 0x46, 0x41, 0xf0, 0xb2, 0x4c, 0x93, + 0x61, 0xb3, 0x90, 0xec, 0x6c, 0x67, 0x26, 0xb1, 0x8b, 0x78, 0xf1, 0x13, 0x08, 0x7e, 0x0a, 0xc1, + 0x83, 0x67, 0xc1, 0xbb, 0x27, 0x29, 0x78, 0xf1, 0x28, 0x89, 0x1f, 0x44, 0x66, 0x32, 0x89, 0x49, + 0x93, 0x4d, 0xba, 0x7a, 0x9b, 0xcc, 0xbc, 0xdf, 0xbf, 0x37, 0x6f, 0xb2, 0x70, 0x47, 0xd0, 0x3a, + 0xa9, 0x35, 0x48, 0x18, 0x79, 0xaf, 0x89, 0x68, 0xf9, 0x42, 0x32, 0x4e, 0x02, 0xea, 0x75, 0x4a, + 0xde, 0x51, 0x9b, 0xf2, 0xc4, 0x8d, 0x39, 0x93, 0x0c, 0xaf, 0x0e, 0xcb, 0xdc, 0xd1, 0x32, 0xb7, + 0x53, 0xb2, 0xd6, 0x02, 0xc6, 0x82, 0x26, 0xf5, 0x48, 0x1c, 0x7a, 0x24, 0x8a, 0x98, 0x24, 0x32, + 0x64, 0x91, 0xe8, 0x03, 0xad, 0xcd, 0x74, 0xfe, 0x31, 0x22, 0x5d, 0xed, 0x94, 0xe0, 0xfa, 0x81, + 0x52, 0x7d, 0x4a, 0x24, 0xa9, 0xd2, 0xa3, 0x36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 0x39, 0x2a, 0x71, 0x3c, 0x2e, 0xa2, 0xfe, 0x84, 0xc4, 0xe1, + 0x45, 0x5d, 0x59, 0xf9, 0x13, 0x00, 0x00, 0xff, 0xff, 0x4d, 0x03, 0x35, 0xcc, 0xd3, 0x06, 0x00, + 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -516,10 +525,13 @@ const _ = grpc.SupportPackageIsVersion4 type QueryClient interface { // DataRequestWasm returns Data Request Wasm given its hash. DataRequestWasm(ctx context.Context, in *QueryDataRequestWasmRequest, opts ...grpc.CallOption) (*QueryDataRequestWasmResponse, error) + // DataRequestWasms returns all Data Request Wasms. DataRequestWasms(ctx context.Context, in *QueryDataRequestWasmsRequest, opts ...grpc.CallOption) (*QueryDataRequestWasmsResponse, error) // OverlayWasm returns Overlay Wasm given its hash. OverlayWasm(ctx context.Context, in *QueryOverlayWasmRequest, opts ...grpc.CallOption) (*QueryOverlayWasmResponse, error) + // OverlayWasms returns all Overlay Wasms. OverlayWasms(ctx context.Context, in *QueryOverlayWasmsRequest, opts ...grpc.CallOption) (*QueryOverlayWasmsResponse, error) + // ProxyContractRegistry returns the Proxy Contract Registry address. ProxyContractRegistry(ctx context.Context, in *QueryProxyContractRegistryRequest, opts ...grpc.CallOption) (*QueryProxyContractRegistryResponse, error) } @@ -580,10 +592,13 @@ func (c *queryClient) ProxyContractRegistry(ctx context.Context, in *QueryProxyC type QueryServer interface { // DataRequestWasm returns Data Request Wasm given its hash. DataRequestWasm(context.Context, *QueryDataRequestWasmRequest) (*QueryDataRequestWasmResponse, error) + // DataRequestWasms returns all Data Request Wasms. DataRequestWasms(context.Context, *QueryDataRequestWasmsRequest) (*QueryDataRequestWasmsResponse, error) // OverlayWasm returns Overlay Wasm given its hash. OverlayWasm(context.Context, *QueryOverlayWasmRequest) (*QueryOverlayWasmResponse, error) + // OverlayWasms returns all Overlay Wasms. OverlayWasms(context.Context, *QueryOverlayWasmsRequest) (*QueryOverlayWasmsResponse, error) + // ProxyContractRegistry returns the Proxy Contract Registry address. ProxyContractRegistry(context.Context, *QueryProxyContractRegistryRequest) (*QueryProxyContractRegistryResponse, error) } diff --git a/x/wasm-storage/types/tx.pb.go b/x/wasm-storage/types/tx.pb.go index 46082c19..bbd4b320 100644 --- a/x/wasm-storage/types/tx.pb.go +++ b/x/wasm-storage/types/tx.pb.go @@ -33,10 +33,11 @@ var _ = math.Inf // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// The request message for the StoreDataRequestWasm method. type MsgStoreDataRequestWasm struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Wasm []byte `protobuf:"bytes,2,opt,name=wasm,proto3" json:"wasm,omitempty"` - WasmType WasmType `protobuf:"varint,3,opt,name=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasmType,omitempty"` + WasmType WasmType `protobuf:"varint,3,opt,name=wasm_type,json=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasm_type,omitempty"` } func (m *MsgStoreDataRequestWasm) Reset() { *m = MsgStoreDataRequestWasm{} } @@ -93,6 +94,7 @@ func (m *MsgStoreDataRequestWasm) GetWasmType() WasmType { return WasmTypeNil } +// The response message for the StoreDataRequestWasm method. type MsgStoreDataRequestWasmResponse struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` } @@ -137,10 +139,11 @@ func (m *MsgStoreDataRequestWasmResponse) GetHash() string { return "" } +// The request message for the StoreOverlayWasm method. type MsgStoreOverlayWasm struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Wasm []byte `protobuf:"bytes,2,opt,name=wasm,proto3" json:"wasm,omitempty"` - WasmType WasmType `protobuf:"varint,3,opt,name=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasmType,omitempty"` + WasmType WasmType `protobuf:"varint,3,opt,name=wasm_type,json=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasm_type,omitempty"` } func (m *MsgStoreOverlayWasm) Reset() { *m = MsgStoreOverlayWasm{} } @@ -197,6 +200,7 @@ func (m *MsgStoreOverlayWasm) GetWasmType() WasmType { return WasmTypeNil } +// The response message for the StoreOverlayWasm method. type MsgStoreOverlayWasmResponse struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` } @@ -241,6 +245,7 @@ func (m *MsgStoreOverlayWasmResponse) GetHash() string { return "" } +// The request message for the InstantiateAndRegisterProxyContract method. type MsgInstantiateAndRegisterProxyContract struct { Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"` Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"` @@ -343,6 +348,7 @@ func (m *MsgInstantiateAndRegisterProxyContract) GetFixMsg() bool { return false } +// The response message for the InstantiateAndRegisterProxyContract method. type MsgInstantiateAndRegisterProxyContractResponse struct { ContractAddress string `protobuf:"bytes,1,opt,name=contract_address,json=contractAddress,proto3" json:"contract_address,omitempty"` } @@ -405,51 +411,51 @@ func init() { } var fileDescriptor_10a76e8135c0d000 = []byte{ - // 691 bytes of a gzipped FileDescriptorProto + // 694 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x55, 0xcf, 0x6b, 0x13, 0x4f, - 0x14, 0xcf, 0x7e, 0xd3, 0xa4, 0xfd, 0x4e, 0x45, 0xcb, 0x1a, 0xe8, 0x36, 0xc2, 0x26, 0xa4, 0x20, - 0x41, 0xcc, 0x6e, 0x13, 0x51, 0xb1, 0x20, 0xd2, 0xa4, 0x97, 0x1c, 0x42, 0x75, 0x2b, 0x14, 0xbc, + 0x14, 0xcf, 0x7e, 0xd3, 0xa4, 0xed, 0xf4, 0x8b, 0x96, 0x35, 0xd0, 0x6d, 0x84, 0x4d, 0x48, 0x41, + 0x82, 0x98, 0xdd, 0x26, 0xa2, 0x62, 0x41, 0xb0, 0x49, 0x2f, 0x39, 0x84, 0xea, 0x56, 0x10, 0xbc, 0x84, 0xc9, 0xee, 0x74, 0xb2, 0x98, 0xdd, 0x89, 0xfb, 0x26, 0x6d, 0xe2, 0xd1, 0x83, 0x67, 0xff, - 0x0d, 0x05, 0x41, 0xa8, 0x7f, 0x80, 0xc7, 0x1e, 0x8b, 0x27, 0x4f, 0x55, 0xd2, 0x83, 0xff, 0x83, - 0x27, 0x99, 0x9d, 0x49, 0x48, 0xb1, 0x89, 0xa9, 0x5e, 0x3c, 0xcd, 0x9b, 0x79, 0x9f, 0xf7, 0xfb, - 0x7d, 0x76, 0x51, 0x01, 0x88, 0x87, 0xdd, 0x36, 0xf6, 0x43, 0xfb, 0x10, 0x43, 0xd0, 0x04, 0xce, - 0x22, 0x4c, 0x89, 0x7d, 0x50, 0xb6, 0x79, 0xdf, 0xea, 0x46, 0x8c, 0x33, 0x7d, 0x6d, 0x8c, 0xb1, - 0x26, 0x31, 0xd6, 0x41, 0x39, 0x6b, 0xba, 0x0c, 0x02, 0x06, 0x76, 0x0b, 0x83, 0xb0, 0x69, 0x11, - 0x8e, 0xcb, 0xb6, 0xcb, 0xfc, 0x50, 0x9a, 0x66, 0x57, 0x95, 0x3e, 0x00, 0x2a, 0x5c, 0x06, 0x40, - 0x95, 0x22, 0x43, 0x19, 0x65, 0xb1, 0x68, 0x0b, 0x49, 0xbd, 0xae, 0x49, 0x78, 0x53, 0x2a, 0xe4, - 0x45, 0xa9, 0x6e, 0x4f, 0x4f, 0xf4, 0x5c, 0x52, 0x31, 0xba, 0xf0, 0x5e, 0x43, 0xab, 0x0d, 0xa0, - 0xbb, 0x9c, 0x45, 0x64, 0x1b, 0x73, 0xec, 0x90, 0x17, 0x3d, 0x02, 0x7c, 0x0f, 0x43, 0xa0, 0x6f, - 0xa0, 0x34, 0x90, 0xd0, 0x23, 0x91, 0xa1, 0xe5, 0xb5, 0xe2, 0xff, 0x55, 0xe3, 0xf3, 0xc7, 0x52, - 0x46,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1e, 0xcc, 0xea, 0x06, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. @@ -464,8 +470,14 @@ const _ = grpc.SupportPackageIsVersion4 // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type MsgClient interface { + // The StoreDataRequestWasm method stores a dr wasm in the wasm-storage + // module. StoreDataRequestWasm(ctx context.Context, in *MsgStoreDataRequestWasm, opts ...grpc.CallOption) (*MsgStoreDataRequestWasmResponse, error) + // The StoreOverlayWasm method stores an overlay wasm in the wasm-storage + // module. StoreOverlayWasm(ctx context.Context, in *MsgStoreOverlayWasm, opts ...grpc.CallOption) (*MsgStoreOverlayWasmResponse, error) + // The InstantiateAndRegisterProxyContract method instantiates the proxy + // contract and registers it's address. InstantiateAndRegisterProxyContract(ctx context.Context, in *MsgInstantiateAndRegisterProxyContract, opts ...grpc.CallOption) (*MsgInstantiateAndRegisterProxyContractResponse, error) } @@ -506,8 +518,14 @@ func (c *msgClient) InstantiateAndRegisterProxyContract(ctx context.Context, in // MsgServer is the server API for Msg service. type MsgServer interface { + // The StoreDataRequestWasm method stores a dr wasm in the wasm-storage + // module. StoreDataRequestWasm(context.Context, *MsgStoreDataRequestWasm) (*MsgStoreDataRequestWasmResponse, error) + // The StoreOverlayWasm method stores an overlay wasm in the wasm-storage + // module. StoreOverlayWasm(context.Context, *MsgStoreOverlayWasm) (*MsgStoreOverlayWasmResponse, error) + // The InstantiateAndRegisterProxyContract method instantiates the proxy + // contract and registers it's address. InstantiateAndRegisterProxyContract(context.Context, *MsgInstantiateAndRegisterProxyContract) (*MsgInstantiateAndRegisterProxyContractResponse, error) } diff --git a/x/wasm-storage/types/wasm_storage.pb.go b/x/wasm-storage/types/wasm_storage.pb.go index 7e513952..008d4015 100644 --- a/x/wasm-storage/types/wasm_storage.pb.go +++ b/x/wasm-storage/types/wasm_storage.pb.go @@ -27,14 +27,20 @@ var _ = time.Kitchen // proto package needs to be updated. const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package +// WasmType is an enum for the type of wasm. type WasmType int32 const ( - WasmTypeNil WasmType = 0 - WasmTypeDataRequest WasmType = 1 - WasmTypeTally WasmType = 2 + // An unspecified kind of wasm. + WasmTypeNil WasmType = 0 + // A wasm that is a data request. + WasmTypeDataRequest WasmType = 1 + // A wasm that is a DR tally. + WasmTypeTally WasmType = 2 + // A wasm that is an overlay executor. WasmTypeDataRequestExecutor WasmType = 3 - WasmTypeRelayer WasmType = 4 + // A wasm that is an overlay relayer. + WasmTypeRelayer WasmType = 4 ) var WasmType_name = map[int32]string{ @@ -61,10 +67,11 @@ func (WasmType) EnumDescriptor() ([]byte, []int) { return fileDescriptor_9a4bda463450c942, []int{0} } +// A Wasm msg. type Wasm struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Bytecode []byte `protobuf:"bytes,2,opt,name=bytecode,proto3" json:"bytecode,omitempty"` - WasmType WasmType `protobuf:"varint,3,opt,name=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasmType,omitempty"` + WasmType WasmType `protobuf:"varint,3,opt,name=wasm_type,json=wasmType,proto3,enum=sedachain.wasm_storage.v1.WasmType" json:"wasm_type,omitempty"` AddedAt time.Time `protobuf:"bytes,4,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` } @@ -129,6 +136,7 @@ func (m *Wasm) GetAddedAt() time.Time { return time.Time{} } +// Params to define the max wasm size allowed. type Params struct { MaxWasmSize uint64 `protobuf:"varint,1,opt,name=max_wasm_size,json=maxWasmSize,proto3" json:"max_wasm_size,omitempty"` } @@ -184,39 +192,39 @@ func init() { } var fileDescriptor_9a4bda463450c942 = []byte{ - // 501 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x6e, 0xda, 0x4c, - 0x14, 0xc5, 0x3d, 0xc4, 0xca, 0x87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, 0x69, 0x0b, 0x57, 0x16, 0xb1, 0xfe, 0xec, 0x9e, 0x29, 0x64, 0xc6, 0x06, 0x53, 0xc1, 0x27, - 0xa8, 0x0e, 0x77, 0x37, 0x5d, 0x6c, 0xd2, 0xb4, 0x7a, 0xc4, 0x2e, 0xa9, 0x78, 0x6f, 0x11, 0xeb, - 0xc5, 0xf5, 0x9f, 0x67, 0x01, 0x9d, 0xb3, 0x09, 0x56, 0xbf, 0x7c, 0xd3, 0x94, 0x93, 0x8b, 0x9b, - 0xa5, 0x06, 0x6e, 0x97, 0x1a, 0xf8, 0xbd, 0xd4, 0xc0, 0xf5, 0x4a, 0x53, 0x6e, 0x57, 0x9a, 0xf2, - 0x63, 0xa5, 0x29, 0xef, 0x5f, 0x7a, 0xbe, 0x18, 0x4d, 0xfb, 0xc6, 0x80, 0x87, 0x66, 0xb2, 0x4f, - 0xb9, 0x8b, 0x01, 0x0f, 0xa4, 0x38, 0x48, 0x2f, 0x75, 0x26, 0x6f, 0xf3, 0x20, 0xbb, 0x55, 0x31, - 0x1f, 0xb3, 0xa8, 0xbf, 0x2d, 0xc9, 0xe3, 0x3f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x03, 0xe0, 0x75, - 0x6e, 0xd2, 0x02, 0x00, 0x00, + // 504 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x4f, 0x6e, 0xd3, 0x40, + 0x18, 0xc5, 0x3d, 0xad, 0x55, 0xc2, 0x84, 0x92, 0x74, 0xca, 0x9f, 0x30, 0x48, 0x8e, 0x15, 0x24, + 0x14, 0x45, 0xad, 0xad, 0xb6, 0x0b, 0x96, 0xe0, 0x36, 0x83, 0x54, 0x29, 0x94, 0xd4, 0x71, 0x54, + 0xc2, 0xc6, 0x9a, 0x24, 0x83, 0x63, 0xc9, 0x66, 0x42, 0x3c, 0x69, 0x93, 0x9e, 0x00, 0x85, 0x4d,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2, 0xea, 0xd7, 0xef, + 0x9a, 0x72, 0x78, 0x7a, 0x3d, 0xd7, 0xc0, 0xcd, 0x5c, 0x03, 0x7f, 0xe6, 0x1a, 0xb8, 0x5a, 0x68, + 0xca, 0xcd, 0x42, 0x53, 0x7e, 0x2e, 0x34, 0xe5, 0xe3, 0x2b, 0xcf, 0x17, 0x83, 0x71, 0xd7, 0xe8, + 0xf1, 0xd0, 0x4c, 0xee, 0x53, 0xde, 0x45, 0x8f, 0x07, 0x52, 0xec, 0xa6, 0x55, 0x9d, 0xc8, 0x72, + 0xee, 0x66, 0x65, 0x4d, 0x3a, 0x10, 0x75, 0x37, 0x24, 0x79, 0xf0, 0x37, 0x00, 0x00, 0xff, 0xff, + 0xc7, 0x4e, 0x21, 0x9a, 0xd3, 0x02, 0x00, 0x00, } func (m *Wasm) Marshal() (dAtA []byte, err error) {