Used reserved keyword in protobuf
This commit is contained in:
@@ -20,8 +20,8 @@ message StoreCodeProposal {
|
||||
string run_as = 3;
|
||||
// WASMByteCode can be raw or gzip compressed
|
||||
bytes wasm_byte_code = 4 [ (gogoproto.customname) = "WASMByteCode" ];
|
||||
// 5 and 6 intentionally left empty (used in v1beta1)
|
||||
|
||||
// Used in v1beta1
|
||||
reserved 5, 6;
|
||||
// InstantiatePermission to apply on contract creation, optional
|
||||
AccessConfig instantiate_permission = 7;
|
||||
}
|
||||
|
||||
@@ -175,7 +175,8 @@ message CodeInfoResponse {
|
||||
bytes data_hash = 3
|
||||
[ (gogoproto.casttype) =
|
||||
"github.com/tendermint/tendermint/libs/bytes.HexBytes" ];
|
||||
// 4 and 5 intentionally left empty (used in v1beta1)
|
||||
// Used in v1beta1
|
||||
reserved 4, 5;
|
||||
}
|
||||
|
||||
// QueryCodeResponse is the response type for the Query/Code RPC method
|
||||
|
||||
@@ -31,8 +31,8 @@ message MsgStoreCode {
|
||||
string sender = 1;
|
||||
// WASMByteCode can be raw or gzip compressed
|
||||
bytes wasm_byte_code = 2 [ (gogoproto.customname) = "WASMByteCode" ];
|
||||
// 3 and 4 intentionally left empty (used in v1beta1)
|
||||
|
||||
// Used in v1beta1
|
||||
reserved 3, 4;
|
||||
// InstantiatePermission access control to apply on contract creation,
|
||||
// optional
|
||||
AccessConfig instantiate_permission = 5;
|
||||
|
||||
@@ -59,8 +59,8 @@ message CodeInfo {
|
||||
bytes code_hash = 1;
|
||||
// Creator address who initially stored the code
|
||||
string creator = 2;
|
||||
// 3 and 4 intentionally left empty (used in v1beta1)
|
||||
|
||||
// Used in v1beta1
|
||||
reserved 3, 4;
|
||||
// InstantiateConfig access control to apply on contract creation, optional
|
||||
AccessConfig instantiate_config = 5 [ (gogoproto.nullable) = false ];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user