Skip to content

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

@bap2pecs

Description

@bap2pecs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions