Open bap2pecs opened 4 months ago
I was following https://docs.osmosis.zone/cosmwasm/testnet/cosmwasm-deployment/ and found a few problems:
my_first_contract.wasm
cw_tpl_osmosis.wasm
$ 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
-b block
RES
{"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
I was following https://docs.osmosis.zone/cosmwasm/testnet/cosmwasm-deployment/ and found a few problems:
my_first_contract.wasm
, instead it'scw_tpl_osmosis.wasm
-b block
fixed it butRES
is not correct set:in the end I decided to instantiate the contract and execute/query it on the explorer