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

fixed bug reading from long execute msg #115

Closed Zetazzz closed 1 year ago

Zetazzz commented 1 year ago

Hi, I've changed the logic of 'findExecuteMsg' into this:

  schema.title.startsWith('ExecuteMsg')

Hope this can be correct without side-effect. For now, it works and missing code has been generated. Please let me know if there's further issue using this.

And I also noticed that lots of imports changed to 'from "@cosmjs/cosmwasm-stargate"', is this as expected?