Fix optional types in MsgStoreCode

If they are unset, signatures are invalid.
This commit is contained in:
Simon Warta 2020-02-07 17:32:14 +01:00
parent 80b49841a6
commit 5bcdf286f6
2 changed files with 8 additions and 8 deletions

View File

@ -51,10 +51,10 @@ export interface MsgStoreCode extends MsgTemplate {
readonly sender: string;
/** Base64 encoded Wasm */
readonly wasm_byte_code: string;
/** A valid URI reference to the contract's source code, optional */
readonly source?: string;
/** A docker tag, optional */
readonly builder?: string;
/** A valid URI reference to the contract's source code. Can be empty. */
readonly source: string;
/** A docker tag. Can be empty. */
readonly builder: string;
};
}

View File

@ -39,10 +39,10 @@ export interface MsgStoreCode extends MsgTemplate {
readonly sender: string;
/** Base64 encoded Wasm */
readonly wasm_byte_code: string;
/** A valid URI reference to the contract's source code, optional */
readonly source?: string;
/** A docker tag, optional */
readonly builder?: string;
/** A valid URI reference to the contract's source code. Can be empty. */
readonly source: string;
/** A docker tag. Can be empty. */
readonly builder: string;
};
}
/**