Closed d-never closed 1 year ago
what version and what environment are you running? I'm not able to reproduce this.
Are you using typescript, babel, yarn workspace, or do you have a repo with a reproducible code I can look at?
what version and what environment are you running? I'm not able to reproduce this.
Are you using typescript, babel, yarn workspace, or do you have a repo with a reproducible code I can look at? It's running with Node.js V16.17.1. It doesn't make any difference to use this one. Will it be the problem?
what version of osmojs?
do you have a codebase I can look at?
what version of osmojs?
do you have a codebase I can look at?
V0.32
what version of osmojs?
do you have a codebase I can look at?
Are different versions the cause of errors? Which version do you use?
try osmojs@0.33.0
and let me know, I switched it back to import Long from 'long'
and other TS fixes/cleanup.
osmojs@0.33.0
I updated to osmojs@0.33.0. There is a new error occurred.
/home/huzi/project/tx/node_modules/@cosmjs/stargate/build/aminotypes.js:21
throw new Error(`Type URL '${typeUrl}' does not exist in the Amino message type register. ` +
^
Error: Type URL '/cosmos.bank.v1beta1.MsgSend' does not exist in the Amino message type register. If you need support for this message type, you can pass in additional entries to the AminoTypes constructor. If you think this message type should be included by default, please open an issue at https://github.com/cosmos/cosmjs/issues.
at AminoTypes.toAmino (/home/huzi/project/tx/node_modules/@cosmjs/stargate/build/aminotypes.js:21:19)
at /home/huzi/project/tx/node_modules/@cosmjs/stargate/build/signingstargateclient.js:207:60
at Array.map (<anonymous>)
at SigningStargateClient.signAmino (/home/huzi/project/tx/node_modules/@cosmjs/stargate/build/signingstargateclient.js:207:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SigningStargateClient.signAndBroadcast (/home/huzi/project/tx/node_modules/@cosmjs/stargate/build/signingstargateclient.js:167:23)
at async file:///home/huzi/project/tx/core.js:47:16
are you still experiencing this issue in the latest version?
I'm not able to reproduce this. If possible, can you share a reproduce-able example repository I can clone and test?
I ran the following code according to the OsmoJS doc description, and an error occurred. What's the problem?
err as follows: