@@ -55,11 +55,6 @@ def __init__(self, channel): |
55 | 55 | request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.SerializeToString, |
56 | 56 | response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.FromString, |
57 | 57 | _registered_method=True) |
58 | | - self.CodeInfo = channel.unary_unary( |
59 | | - '/cosmwasm.wasm.v1.Query/CodeInfo', |
60 | | - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoRequest.SerializeToString, |
61 | | - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoResponse.FromString, |
62 | | - _registered_method=True) |
63 | 58 | self.PinnedCodes = channel.unary_unary( |
64 | 59 | '/cosmwasm.wasm.v1.Query/PinnedCodes', |
65 | 60 | request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.SerializeToString, |
@@ -75,11 +70,6 @@ def __init__(self, channel): |
75 | 70 | request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.SerializeToString, |
76 | 71 | response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.FromString, |
77 | 72 | _registered_method=True) |
78 | | - self.WasmLimitsConfig = channel.unary_unary( |
79 | | - '/cosmwasm.wasm.v1.Query/WasmLimitsConfig', |
80 | | - request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigRequest.SerializeToString, |
81 | | - response_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigResponse.FromString, |
82 | | - _registered_method=True) |
83 | 73 | self.BuildAddress = channel.unary_unary( |
84 | 74 | '/cosmwasm.wasm.v1.Query/BuildAddress', |
85 | 75 | request_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.SerializeToString, |
@@ -134,7 +124,7 @@ def SmartContractState(self, request, context): |
134 | 124 | raise NotImplementedError('Method not implemented!') |
135 | 125 |
|
136 | 126 | def Code(self, request, context): |
137 | | - """Code gets the binary code and metadata for a single wasm code |
| 127 | + """Code gets the binary code and metadata for a singe wasm code |
138 | 128 | """ |
139 | 129 | context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
140 | 130 | context.set_details('Method not implemented!') |
@@ -147,13 +137,6 @@ def Codes(self, request, context): |
147 | 137 | context.set_details('Method not implemented!') |
148 | 138 | raise NotImplementedError('Method not implemented!') |
149 | 139 |
|
150 | | - def CodeInfo(self, request, context): |
151 | | - """CodeInfo gets the metadata for a single wasm code |
152 | | - """ |
153 | | - context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
154 | | - context.set_details('Method not implemented!') |
155 | | - raise NotImplementedError('Method not implemented!') |
156 | | - |
157 | 140 | def PinnedCodes(self, request, context): |
158 | 141 | """PinnedCodes gets the pinned code ids |
159 | 142 | """ |
@@ -175,14 +158,6 @@ def ContractsByCreator(self, request, context): |
175 | 158 | context.set_details('Method not implemented!') |
176 | 159 | raise NotImplementedError('Method not implemented!') |
177 | 160 |
|
178 | | - def WasmLimitsConfig(self, request, context): |
179 | | - """WasmLimitsConfig gets the configured limits for static validation of Wasm |
180 | | - files, encoded in JSON. |
181 | | - """ |
182 | | - context.set_code(grpc.StatusCode.UNIMPLEMENTED) |
183 | | - context.set_details('Method not implemented!') |
184 | | - raise NotImplementedError('Method not implemented!') |
185 | | - |
186 | 161 | def BuildAddress(self, request, context): |
187 | 162 | """BuildAddress builds a contract address |
188 | 163 | """ |
@@ -233,11 +208,6 @@ def add_QueryServicer_to_server(servicer, server): |
233 | 208 | request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesRequest.FromString, |
234 | 209 | response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodesResponse.SerializeToString, |
235 | 210 | ), |
236 | | - 'CodeInfo': grpc.unary_unary_rpc_method_handler( |
237 | | - servicer.CodeInfo, |
238 | | - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoRequest.FromString, |
239 | | - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoResponse.SerializeToString, |
240 | | - ), |
241 | 211 | 'PinnedCodes': grpc.unary_unary_rpc_method_handler( |
242 | 212 | servicer.PinnedCodes, |
243 | 213 | request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryPinnedCodesRequest.FromString, |
@@ -253,11 +223,6 @@ def add_QueryServicer_to_server(servicer, server): |
253 | 223 | request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorRequest.FromString, |
254 | 224 | response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryContractsByCreatorResponse.SerializeToString, |
255 | 225 | ), |
256 | | - 'WasmLimitsConfig': grpc.unary_unary_rpc_method_handler( |
257 | | - servicer.WasmLimitsConfig, |
258 | | - request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigRequest.FromString, |
259 | | - response_serializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigResponse.SerializeToString, |
260 | | - ), |
261 | 226 | 'BuildAddress': grpc.unary_unary_rpc_method_handler( |
262 | 227 | servicer.BuildAddress, |
263 | 228 | request_deserializer=cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryBuildAddressRequest.FromString, |
@@ -491,33 +456,6 @@ def Codes(request, |
491 | 456 | metadata, |
492 | 457 | _registered_method=True) |
493 | 458 |
|
494 | | - @staticmethod |
495 | | - def CodeInfo(request, |
496 | | - target, |
497 | | - options=(), |
498 | | - channel_credentials=None, |
499 | | - call_credentials=None, |
500 | | - insecure=False, |
501 | | - compression=None, |
502 | | - wait_for_ready=None, |
503 | | - timeout=None, |
504 | | - metadata=None): |
505 | | - return grpc.experimental.unary_unary( |
506 | | - request, |
507 | | - target, |
508 | | - '/cosmwasm.wasm.v1.Query/CodeInfo', |
509 | | - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoRequest.SerializeToString, |
510 | | - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryCodeInfoResponse.FromString, |
511 | | - options, |
512 | | - channel_credentials, |
513 | | - insecure, |
514 | | - call_credentials, |
515 | | - compression, |
516 | | - wait_for_ready, |
517 | | - timeout, |
518 | | - metadata, |
519 | | - _registered_method=True) |
520 | | - |
521 | 459 | @staticmethod |
522 | 460 | def PinnedCodes(request, |
523 | 461 | target, |
@@ -599,33 +537,6 @@ def ContractsByCreator(request, |
599 | 537 | metadata, |
600 | 538 | _registered_method=True) |
601 | 539 |
|
602 | | - @staticmethod |
603 | | - def WasmLimitsConfig(request, |
604 | | - target, |
605 | | - options=(), |
606 | | - channel_credentials=None, |
607 | | - call_credentials=None, |
608 | | - insecure=False, |
609 | | - compression=None, |
610 | | - wait_for_ready=None, |
611 | | - timeout=None, |
612 | | - metadata=None): |
613 | | - return grpc.experimental.unary_unary( |
614 | | - request, |
615 | | - target, |
616 | | - '/cosmwasm.wasm.v1.Query/WasmLimitsConfig', |
617 | | - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigRequest.SerializeToString, |
618 | | - cosmwasm_dot_wasm_dot_v1_dot_query__pb2.QueryWasmLimitsConfigResponse.FromString, |
619 | | - options, |
620 | | - channel_credentials, |
621 | | - insecure, |
622 | | - call_credentials, |
623 | | - compression, |
624 | | - wait_for_ready, |
625 | | - timeout, |
626 | | - metadata, |
627 | | - _registered_method=True) |
628 | | - |
629 | 540 | @staticmethod |
630 | 541 | def BuildAddress(request, |
631 | 542 | target, |
|