Finschia / finschia-js

finschia-js is javascript sdk for Finschia
Apache License 2.0
7 stars 4 forks source link

fix not to import wrong execute msg #54

Closed loin3 closed 1 year ago

loin3 commented 1 year ago

lbmjs used wrong execute msg object because wasmd make mistake that numbering funds as 5 in proto file and cosmjs-types and cosmjs imported it. In this PR, lbmjs changed to import lbmjs-types from comjs-types while making wasmTypes that is used in registry.

wasmd : https://github.com/CosmWasm/wasmd/blob/main/proto/cosmwasm/wasm/v1/tx.proto#L126 lbm-sdk : https://github.com/line/lbm-sdk/blob/main/proto/cosmwasm/wasm/v1/tx.proto#L80