Skip to content

Commit

Permalink
fix: completely deprecate gvc api url
Browse files Browse the repository at this point in the history
  • Loading branch information
saibatizoku committed Jan 23, 2024
1 parent 47e1e5f commit 5cfab76
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def import_snapshot(
catalyst_toolbox_path: str = typer.Option(
default="catalyst-toolbox", envvar="CATALYST_TOOLBOX_PATH", help="Path to the catalyst-toolbox"
),
gvc_api_url: str = typer.Option(..., envvar="GVC_API_URL", help="URL of the GVC API"),
gvc_api_url: str = typer.Option(default="", envvar="GVC_API_URL", help="DEPRECATED. URL of the GVC API"),
raw_snapshot_file: str = typer.Option(
None,
help=(
Expand Down Expand Up @@ -102,7 +102,6 @@ async def inner():
network_ids=network_ids,
snapshot_tool_path=snapshot_tool_path,
catalyst_toolbox_path=catalyst_toolbox_path,
gvc_api_url=gvc_api_url,
raw_snapshot_file=raw_snapshot_file,
ssh_config=ssh_config,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,14 +290,12 @@ def __init__(
network_ids: List[Literal["mainnet", "preprod", "testnet"]],
snapshot_tool_path: str,
catalyst_toolbox_path: str,
gvc_api_url: str,
raw_snapshot_file: Optional[str] = None,
ssh_config: Optional[SSHConfig] = None,
):
"""Initialize the importer."""
self.snapshot_tool_path = snapshot_tool_path
self.catalyst_toolbox_path = catalyst_toolbox_path
self.gvc_api_url = gvc_api_url

self.eventdb_url = eventdb_url
self.event_id = event_id
Expand Down

0 comments on commit 5cfab76

Please sign in to comment.