diff --git a/packages/sdk/src/types.ts b/packages/sdk/src/types.ts index 56da7b1a..5dfd60aa 100644 --- a/packages/sdk/src/types.ts +++ b/packages/sdk/src/types.ts @@ -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; }; } diff --git a/packages/sdk/types/types.d.ts b/packages/sdk/types/types.d.ts index 2d26a1b3..c2d760a3 100644 --- a/packages/sdk/types/types.d.ts +++ b/packages/sdk/types/types.d.ts @@ -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; }; } /**