Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement cw3-flex-multisig helper #479

Merged
merged 5 commits into from
Oct 27, 2021
Merged

Conversation

orkunkl
Copy link
Contributor

@orkunkl orkunkl commented Oct 8, 2021

I am trying to implement cw3-flex-multisig helper.
Getting this error with current code:

▶ npx @cosmjs/cli@^0.26 --init helpers.ts
Initializing session for you. Have fun!
The following packages have been installed and can be imported:
@cosmjs/amino, @cosmjs/cosmwasm-stargate, @cosmjs/crypto, @cosmjs/encoding, @cosmjs/faucet-client, @cosmjs/launchpad, @cosmjs/math, @cosmjs/proto-signing, @cosmjs/stargate, @cosmjs/tendermint-rpc, @cosmjs/utils, axios
>> [eval].ts:80
    Vote = ;
           ^

SyntaxError: Unexpected token ';'
    at new Script (node:vm:100:7)
    at Object.executeJavaScriptAsync (/Users/orkunkl/.npm/_npx/45b61b9b8df9878c/node_modules/@cosmjs/cli/src/helpers.ts:16:18)
    at TsRepl.compileAndExecute (/Users/orkunkl/.npm/_npx/45b61b9b8df9878c/node_modules/@cosmjs/cli/src/tsrepl.ts:162:26)
    at reset (/Users/orkunkl/.npm/_npx/45b61b9b8df9878c/node_modules/@cosmjs/cli/src/tsrepl.ts:95:18)
    at TsRepl.start (/Users/orkunkl/.npm/_npx/45b61b9b8df9878c/node_modules/@cosmjs/cli/src/tsrepl.ts:98:11)
    at Object.main (/Users/orkunkl/.npm/_npx/45b61b9b8df9878c/node_modules/@cosmjs/cli/src/cli.ts:157:65)

@orkunkl orkunkl requested review from ethanfrey and removed request for ethanfrey October 17, 2021 19:53
Copy link
Member

@ethanfrey ethanfrey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. I'd love to see some tests somewhere... but that really involves moving these to an npm repo.

@ethanfrey ethanfrey merged commit ea05755 into CosmWasm:main Oct 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants