osmosis-labs / beaker

Beaker helps streamlining CosmWasm development workflow.
Apache License 2.0
106 stars 30 forks source link

Instantiate should not error when there is no store code proposal #111

Closed iboss-ptk closed 1 year ago

iboss-ptk commented 1 year ago

Current Behaviour

When there is no store code proposal registered in beaker and run

beaker wasm instantiate c --signer-account test1

I causes

Error: Proposal store code not found for contract `c` on network `local`

Expected behaviour

I should not error and let user instantiate the contract

iboss-ptk commented 1 year ago

it's caused by proposal syncing process, user can ignore that by --no-proposal-sync option. This suggestion for when there is this error:

https://github.com/osmosis-labs/beaker/commit/c89e3d7ec6895343c98fcb25af2395ee0fcd358f