Skip to content

Commit

Permalink
Provide default subnet tag in Engine (#556)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmazurek authored Jul 21, 2021
1 parent d86894e commit e94fbdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions examples/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ def build_parser(description: str) -> argparse.ArgumentParser:
parser = argparse.ArgumentParser(description=description)
parser.add_argument("--driver", help="Payment driver name, for example `zksync`")
parser.add_argument("--network", help="Network name, for example `rinkeby`")
parser.add_argument(
"--subnet-tag", default="devnet-beta.2", help="Subnet name; default: %(default)s"
)
parser.add_argument("--subnet-tag", help="Subnet name; default: %(default)s")
parser.add_argument(
"--log-file",
default=str(default_log_path),
Expand Down
2 changes: 1 addition & 1 deletion yapapi/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

DEFAULT_DRIVER: str = os.getenv("YAGNA_PAYMENT_DRIVER", "zksync").lower()
DEFAULT_NETWORK: str = os.getenv("YAGNA_NETWORK", "rinkeby").lower()
DEFAULT_SUBNET: Optional[str] = os.getenv("YAGNA_SUBNET")
DEFAULT_SUBNET: Optional[str] = os.getenv("YAGNA_SUBNET", "devnet-beta.2")


logger = logging.getLogger("yapapi.executor")
Expand Down

0 comments on commit e94fbdf

Please sign in to comment.