CosmWasm / ts-codegen

Convert your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.
https://cosmology.zone/products/ts-codegen
Apache License 2.0
116 stars 27 forks source link

Complete issue 103 schema json #107

Open jawoznia opened 1 year ago

jawoznia commented 1 year ago

Ts-codegen command I run

cosmwasm-ts-codegen generate \
          --plugin client \
          --schema ./schema \
          --out ./ts \
          --name whitelist \
          --no-bundle

Nice explanation by Ethan how to generate this schema https://github.com/CosmWasm/ts-codegen/issues/103#issuecomment-1550142133

pyramation commented 1 year ago

thanks @jawoznia — can you update the tests? The CI is failing.

cd packages/wasm-ast-types
yarn test:watch
<press a> // press a to run all tests
<press u> // press u to update the snapshots