CosmWasm / CosmWasm/wasmd

tx wasm upload --block flag

Open
#1,897 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
416
Forks
538
PR merge metrics
No merged PRs in 30d

Description

We're having an issue with v0.51.0 (also tested previous versions) where the `-b` or `--block` flag don't appear to work. We've tested putting the flag in different argument positions, to no effect.

For example:
```
wasmd tx wasm upload /app/asc.wasm --from --chain-id testing --gas-prices 0.25ucosm --gas auto --gas-adjustment 1.3 -y --output json -b sync
```

Yields a response like:
```
{"height":"0","txhash":"","codespace":"","code":0,"data":"","raw_log":"","logs":[],"info":"","gas_wanted":"0","gas_used":"0
","tx":null,"timestamp":"","events":[]}
```

I would expect those fields to be populated, as in the documentation https://docs.cosmwasm.com/docs/getting-started/interact-with-contract/

Please advise how to make synchronous calls. It's quite important to our automation.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.