Skip to content

Commit

Permalink
Use ContractCodeHistoryEntry instead of ContractDetails in the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
webmaster128 committed Jul 24, 2020
1 parent a49ec58 commit 32be9d4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function main(originalArgs: readonly string[]): void {
"Code",
"CodeDetails",
"Contract",
"ContractDetails",
"ContractCodeHistoryEntry",
"CosmWasmClient",
"GetSequenceResult",
"PostTxResult",
Expand Down
1 change: 1 addition & 0 deletions packages/cosmwasm/src/cosmwasmclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ export class CosmWasmClient {
label: result.label,
};
}

/**
* Throws an error if no contract was found at the address
*/
Expand Down
1 change: 1 addition & 0 deletions packages/cosmwasm/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export {
Code,
CodeDetails,
Contract,
ContractCodeHistoryEntry,
CosmWasmClient,
GetSequenceResult,
PostTxResult,
Expand Down
1 change: 1 addition & 0 deletions packages/cosmwasm/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export {
Code,
CodeDetails,
Contract,
ContractCodeHistoryEntry,
CosmWasmClient,
GetSequenceResult,
PostTxResult,
Expand Down

0 comments on commit 32be9d4

Please sign in to comment.