Expose gateway from workspace config
armaniferrante opened this issue · comments
The oasis.workspace
namespace currently reads the cli-config to construct a gateway + wallet upon deploying a contract.
For example, oasis.workspace.MyService.deploy(...)
will read the config.toml
and set the default gateway. However, this would be more generally useful, even if the client is not deploying.
Motivated by @omitar's use case, I propose that we expose the config's gateway so that users of the client can use it without dealing with gateway urls and wallets without that info leaving their config files.
Done by #247.