diff --git a/examples/utils.py b/examples/utils.py index cb0edf080..6ccc019a4 100644 --- a/examples/utils.py +++ b/examples/utils.py @@ -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), diff --git a/yapapi/engine.py b/yapapi/engine.py index f24368a38..a278931b3 100644 --- a/yapapi/engine.py +++ b/yapapi/engine.py @@ -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")