chore: download contracts to tmp dir
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-03-01 17:06:01 +03:00
parent 525aab8c77
commit 9ae198f0f6
2 changed files with 18 additions and 9 deletions

View File

@@ -56,7 +56,8 @@ def execute(config: Config, eargs: ExtraArgs):
skip_gen = eargs.skip_gen
skip_deploy = eargs.skip_deploy
wallet_keystore = eargs.y
config.add(wallet_keystore, "WALLET_KEY_FILE", exists_ok=True)
if wallet_keystore:
config.add(wallet_keystore, "WALLET_KEY_FILE", exists_ok=True)
if not skip_gen:
contract = generate_contract(directory, [target], config, interactive=True)