diff --git a/docs/proto/proto-docs.md b/docs/proto/proto-docs.md index 895122161d..8c335e87cc 100644 --- a/docs/proto/proto-docs.md +++ b/docs/proto/proto-docs.md @@ -1522,7 +1522,7 @@ Query defines the gRPC querier service. | Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint | | ----------- | ------------ | ------------- | ------------| ------- | -------- | | `InactiveContracts` | [QueryInactiveContractsRequest](#lbm.wasm.v1.QueryInactiveContractsRequest) | [QueryInactiveContractsResponse](#lbm.wasm.v1.QueryInactiveContractsResponse) | InactiveContracts queries all inactive contracts | GET|/lbm/wasm/v1/inactive_contracts| -| `InactiveContract` | [QueryInactiveContractRequest](#lbm.wasm.v1.QueryInactiveContractRequest) | [QueryInactiveContractResponse](#lbm.wasm.v1.QueryInactiveContractResponse) | | GET|/lbm/wasm/v1/inactive_contracts/{address}| +| `InactiveContract` | [QueryInactiveContractRequest](#lbm.wasm.v1.QueryInactiveContractRequest) | [QueryInactiveContractResponse](#lbm.wasm.v1.QueryInactiveContractResponse) | InactiveContract check it the contract is inactive state or not | GET|/lbm/wasm/v1/inactive_contracts/{address}| diff --git a/x/wasmplus/types/genesis.pb.go b/x/wasmplus/types/genesis.pb.go index 3dfe136c35..ac95ec1614 100644 --- a/x/wasmplus/types/genesis.pb.go +++ b/x/wasmplus/types/genesis.pb.go @@ -32,7 +32,7 @@ type GenesisState struct { Sequences []types.Sequence `protobuf:"bytes,4,rep,name=sequences,proto3" json:"sequences,omitempty"` GenMsgs []types.GenesisState_GenMsgs `protobuf:"bytes,5,rep,name=gen_msgs,json=genMsgs,proto3" json:"gen_msgs,omitempty"` // InactiveContractAddresses is a list of contract address that set inactive - InactiveContractAddresses []string `protobuf:"bytes,6,rep,name=inactive_contract_addresses,json=inactiveContractAddresses,proto3" json:"inactive_contract_address, omitempty"` + InactiveContractAddresses []string `protobuf:"bytes,6,rep,name=inactive_contract_addresses,json=inactiveContractAddresses,proto3" json:"inactive_contract_address,omitempty"` } func (m *GenesisState) Reset() { *m = GenesisState{} } @@ -117,33 +117,32 @@ func init() { func init() { proto.RegisterFile("lbm/wasm/v1/genesis.proto", fileDescriptor_3308f670fed712dc) } var fileDescriptor_3308f670fed712dc = []byte{ - // 401 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x8b, 0xda, 0x40, - 0x14, 0xc7, 0x93, 0xfa, 0xa3, 0x35, 0x16, 0x0a, 0x69, 0x69, 0x63, 0x2c, 0x31, 0x94, 0x22, 0x39, - 0x48, 0x82, 0x16, 0x7a, 0x6e, 0x53, 0x4a, 0x4f, 0x85, 0x45, 0xd9, 0xcb, 0xc2, 0x22, 0xf9, 0x31, - 0x8c, 0x81, 0x4c, 0x26, 0x9b, 0x37, 0xba, 0xeb, 0x7d, 0xff, 0x80, 0xfd, 0xb3, 0x3c, 0x7a, 0xdc, - 0x93, 0x2c, 0x7a, 0xf3, 0xaf, 0x58, 0x32, 0xc9, 0x68, 0x16, 0xd7, 0x53, 0x92, 0xf7, 0x3e, 0xdf, - 0xcf, 0xcb, 0x0c, 0x4f, 0xe9, 0xc4, 0x3e, 0x71, 0x6e, 0x3d, 0x20, 0xce, 0x62, 0xe8, 0x60, 0x94, - 0x20, 0x88, 0xc0, 0x4e, 0x33, 0xca, 0xa8, 0xda, 0x8e, 0x7d, 0x62, 0xe7, 0x2d, 0x7b, 0x31, 0xd4, - 0x3f, 0x61, 0x8a, 0x29, 0xaf, 0x3b, 0xf9, 0x5b, 0x81, 0xe8, 0x5f, 0x03, 0x0a, 0x84, 0xa7, 0x85, - 0x82, 0x2d, 0x53, 0x54, 0x0a, 0x74, 0xe3, 0xa4, 0xfb, 0x62, 0xc0, 0xb7, 0xfb, 0xba, 0xf2, 0xfe, - 0x5f, 0x51, 0x99, 0x30, 0x8f, 0x21, 0xf5, 0xa7, 0xd2, 0x4c, 0xbd, 0xcc, 0x23, 0xa0, 0xc9, 0xa6, -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 0x6b, 0xc8, 0x4f, 0x5b, 0x43, 0x7e, 0xd8, 0x19, 0xd2, - 0x7a, 0x67, 0x48, 0x8f, 0x3b, 0x43, 0xba, 0xea, 0xe3, 0x88, 0xcd, 0xe6, 0xbe, 0x1d, 0x50, 0xe2, - 0xc4, 0x51, 0x82, 0xf8, 0x1e, 0x85, 0xce, 0x1d, 0x7f, 0xa6, 0xf1, 0x1c, 0x8a, 0x75, 0xf3, 0x9b, - 0x7c, 0x9f, 0x7e, 0x3c, 0x07, 0x00, 0x00, 0xff, 0xff, 0xf8, 0xb5, 0x23, 0x84, 0xcd, 0x02, 0x00, - 0x00, + // 399 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0xcf, 0x4b, 0xe3, 0x40, + 0x14, 0xc7, 0x93, 0xed, 0x8f, 0xdd, 0xa6, 0x0b, 0x0b, 0xd9, 0x65, 0x37, 0x4d, 0x97, 0xb4, 0x28, + 0xd4, 0x1e, 0x24, 0xa1, 0x15, 0x3c, 0x6b, 0x44, 0x3c, 0x09, 0xd2, 0xe2, 0x45, 0x90, 0x92, 0x1f, + 0xc3, 0x18, 0xc8, 0x64, 0x62, 0xde, 0xb4, 0xda, 0xb3, 0xff, 0x80, 0x7f, 0x56, 0x8f, 0x3d, 0x7a, + 0x2a, 0xd2, 0xde, 0xfa, 0x57, 0x48, 0x26, 0x99, 0x36, 0x52, 0x7b, 0x4a, 0xf2, 0xde, 0xe7, 0xfb, + 0x79, 0x99, 0xe1, 0x29, 0x8d, 0xd0, 0x25, 0xd6, 0x93, 0x03, 0xc4, 0x9a, 0xf4, 0x2c, 0x8c, 0x22, + 0x04, 0x01, 0x98, 0x71, 0x42, 0x19, 0x55, 0xeb, 0xa1, 0x4b, 0xcc, 0xb4, 0x65, 0x4e, 0x7a, 0xfa, + 0x1f, 0x4c, 0x31, 0xe5, 0x75, 0x2b, 0x7d, 0xcb, 0x10, 0xfd, 0xbf, 0x47, 0x81, 0xf0, 0xb4, 0x50, + 0xb0, 0x69, 0x8c, 0x72, 0x81, 0x6e, 0xec, 0x74, 0x3f, 0x0d, 0x38, 0x78, 0x29, 0x2b, 0x3f, 0xaf, + 0xb2, 0xca, 0x90, 0x39, 0x0c, 0xa9, 0xa7, 0x4a, 0x35, 0x76, 0x12, 0x87, 0x80, 0x26, 0xb7, 0xe5, + 0x6e, 0xbd, 0xaf, 0x99, 0xc2, 0x20, 0xfe, 0xc3, 0xbc, 0xe1, 0x7d, 0xbb, 0x3c, 0x5b, 0xb4, 0xa4, + 0x41, 0x4e, 0xab, 0x97, 0x4a, 0xc5, 0xa3, 0x3e, 0x02, 0xed, 0x5b, 0xbb, 0xd4, 0xad, 0xf7, 0xff, + 0xee, 0xc6, 0x2e, 0xa8, 0x8f, 0xec, 0x7f, 0x69, 0x68, 0xbd, 0x68, 0xfd, 0xe2, 0xf0, 0x31, 0x25, + 0x01, 0x43, 0x24, 0x66, 0xd3, 0x41, 0x96, 0x56, 0x6f, 0x95, 0x9a, 0x47, 0x23, 0x96, 0x38, 0x1e, + 0x03, 0xad, 0xc4, 0x55, 0xfa, 0x57, 0xaa, 0x0c, 0xb1, 0x9b, 0xb9, 0xee, 0xf7, 0x26, 0x54, 0x50, + 0x6e, 0x4d, 0xa9, 0x16, 0xd0, 0xe3, 0x18, 0x45, 0x1e, 0x02, 0xad, 0xbc, 0x4f, 0x3b, 0xcc, 0x91, + 0xad, 0x76, 0x13, 0x2a, 0x6a, 0x37, 0x45, 0xf5, 0x5e, 0xf9, 0x81, 0x51, 0x34, 0x22, 0x80, 0x41, + 0xab, 0x70, 0x6b, 0x67, 0xd7, 0x5a, 0xbc, 0xde, 0xf4, 0xe3, 0x1a, 0x30, 0xd8, 0x7a, 0x3e, 0x41, + 0x15, 0xf9, 0xc2, 0x80, 0xef, 0x38, 0x83, 0x54, 0xac, 0x34, 0x83, 0xc8, 0xf1, 0x58, 0x30, 0x41, + 0x23, 0x71, 0x96, 0x91, 0xe3, 0xfb, 0x09, 0x02, 0x40, 0xa0, 0x55, 0xdb, 0xa5, 0x6e, 0xcd, 0x3e, + 0x5a, 0x2f, 0x5a, 0x87, 0x7b, 0xb1, 0x82, 0xb6, 0x21, 0x20, 0x71, 0x7b, 0xe7, 0xc2, 0x64, 0x9f, + 0xcd, 0x96, 0x86, 0x3c, 0x5f, 0x1a, 0xf2, 0xfb, 0xd2, 0x90, 0x5f, 0x57, 0x86, 0x34, 0x5f, 0x19, + 0xd2, 0xdb, 0xca, 0x90, 0xee, 0x3a, 0x38, 0x60, 0x0f, 0x63, 0xd7, 0xf4, 0x28, 0xb1, 0xc2, 0x20, + 0x42, 0x7c, 0x8d, 0x7c, 0xeb, 0x99, 0x3f, 0xe3, 0x70, 0x0c, 0xd9, 0xb6, 0xb9, 0x55, 0xbe, 0x4e, + 0x27, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x90, 0xa2, 0x83, 0x75, 0xcc, 0x02, 0x00, 0x00, } func (m *GenesisState) Marshal() (dAtA []byte, err error) { diff --git a/x/wasmplus/types/query.pb.go b/x/wasmplus/types/query.pb.go index 7c347d947b..d2673d2dc1 100644 --- a/x/wasmplus/types/query.pb.go +++ b/x/wasmplus/types/query.pb.go @@ -243,6 +243,7 @@ const _ = grpc.SupportPackageIsVersion4 type QueryClient interface { // InactiveContracts queries all inactive contracts InactiveContracts(ctx context.Context, in *QueryInactiveContractsRequest, opts ...grpc.CallOption) (*QueryInactiveContractsResponse, error) + // InactiveContract check it the contract is inactive state or not InactiveContract(ctx context.Context, in *QueryInactiveContractRequest, opts ...grpc.CallOption) (*QueryInactiveContractResponse, error) } @@ -276,6 +277,7 @@ func (c *queryClient) InactiveContract(ctx context.Context, in *QueryInactiveCon type QueryServer interface { // InactiveContracts queries all inactive contracts InactiveContracts(context.Context, *QueryInactiveContractsRequest) (*QueryInactiveContractsResponse, error) + // InactiveContract check it the contract is inactive state or not InactiveContract(context.Context, *QueryInactiveContractRequest) (*QueryInactiveContractResponse, error) }