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

my_first_contract.wasm interraction error #33

Closed
byjtew opened this issue Apr 13, 2021 · 1 comment
Closed

my_first_contract.wasm interraction error #33

byjtew opened this issue Apr 13, 2021 · 1 comment
Assignees

Comments

@byjtew
Copy link

byjtew commented Apr 13, 2021

Hi everyone,

At this step of the main tutorial: https://docs.terra.money/contracts/tutorial/interacting.html#uploading-code

We have a file in the 'artifacts' folder named 'my_first_contract.wasm'.
We are supposed to run this command: terracli tx wasm store my-first-contract.wasm --from test1 --chain-id=localterra --gas=auto --fees=100000uluna --broadcast-mode=block

This command fails (at least in Ubuntu 20.x.x LTS).
The "_" character isn't recognised correctly by the command AND the command is searching for a file in the root of the working directory.
That's why you need to rename the file, removing every "_" AND specify the path in the command.

This is the correct command to run terracli tx wasm store artifacts/myfirstcontract.wasm --from test1 --chain-id=localterra --gas=auto --fees=100000uluna --broadcast-mode=block.

Special thank's to davidkohcw#4184

@hanjukim
Copy link
Contributor

hanjukim commented May 1, 2021

Thanks for the report.

@hanjukim hanjukim closed this as completed May 1, 2021
gregnuj pushed a commit that referenced this issue Sep 14, 2022
completed a lot of little changes to styles to align with Figma mocks
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

No branches or pull requests

3 participants