osmosis-labs / beaker

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

feat: allow to execute messages by code id instead of contract name #105

Closed p0mvn closed 1 year ago

p0mvn commented 1 year ago

Background

Currently (0.0.8), it is only possible to execute messages by contract name:

USAGE:
    beaker wasm execute [OPTIONS] <CONTRACT_NAME>

ARGS:
    <CONTRACT_NAME>  

As a contract developer, I would like the ability to execute messages by code id so that I can have multiple versions of a contract with the same name deployed on a localnet to simplify debugging.

A/C

p0mvn commented 1 year ago

Seems that I can do this by providing --label flag so my request might be obsolete