Fix optional types in MsgStoreCode
If they are unset, signatures are invalid.
This commit is contained in:
parent
80b49841a6
commit
5bcdf286f6
@ -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;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
8
packages/sdk/types/types.d.ts
vendored
8
packages/sdk/types/types.d.ts
vendored
@ -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;
|
||||
};
|
||||
}
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user