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

a few issues in the "Cosmwasm testnet deployment" tutorial #259

Open
bap2pecs opened this issue Jun 10, 2024 · 0 comments
Open

a few issues in the "Cosmwasm testnet deployment" tutorial #259

bap2pecs opened this issue Jun 10, 2024 · 0 comments

Comments

@bap2pecs
Copy link

bap2pecs commented Jun 10, 2024

I was following https://docs.osmosis.zone/cosmwasm/testnet/cosmwasm-deployment/ and found a few problems:

  1. the binary generated is not called my_first_contract.wasm, instead it's cw_tpl_osmosis.wasm
  2. update code command failed
    $ RES=$(osmosisd tx wasm store artifacts/cw_tpl_osmosis.wasm --from wallet --gas-prices 0.1uosmo --gas auto --gas- 
    adjustment 1.3 -y --output json -b block)
    gas estimate: 1909784
    Error: unsupported return type block; supported types: sync, async
    
  3. changing it to -b block fixed it but RES is not correct set:
    {"height":"0","txhash":"F872EF7CE8534D50F7754E0ADF5521D58A24DDD8FEB1AFC6F6C160F2F9CDC549","codespace":"","code":0,"data":"","raw_log":"","logs":[],"info":"","gas_wanted":"0","gas_used":"0","tx":null,"timestamp":"","events":[]}
    
    in the end I decided to instantiate the contract and execute/query it on the explorer
  4. the recommended explorer has limited features. instead I used https://celatone.osmosis.zone/osmo-test-5 as recommended here
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

1 participant