Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update safe_eth folder in addresses scripts #1310

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def create_pr(
def upsert_chain_id(
repo: Repository, branch_name: str, chain_id: int, chain_enum_name: str
) -> None:
file_path = "gnosis/eth/ethereum_network.py"
file_path = "safe_eth/eth/ethereum_network.py"
file = repo.get_contents(file_path, ref=branch_name)
content = file.decoded_content.decode("utf-8")

Expand Down Expand Up @@ -196,7 +196,7 @@ def upsert_contract_address_master_copy(
block_number: int,
version: str,
) -> None:
file_path = "gnosis/safe/addresses.py"
file_path = "safe_eth/safe/addresses.py"
file = repo.get_contents(file_path, ref=branch_name)
content = file.decoded_content.decode("utf-8")

Expand Down Expand Up @@ -286,7 +286,7 @@ def upsert_contract_address_proxy_factory(
block_number: int,
version: str,
) -> None:
file_path = "gnosis/safe/addresses.py"
file_path = "safe_eth/safe/addresses.py"
file = repo.get_contents(file_path, ref=branch_name)
content = file.decoded_content.decode("utf-8")
version = version.replace("+L2", "")
Expand Down Expand Up @@ -394,7 +394,7 @@ def execute_issue_changes() -> None:

if blockscout_client_url:
print("Updating Blockscout client")
file_path = "gnosis/eth/clients/blockscout_client.py"
file_path = "safe_eth/eth/clients/blockscout_client.py"
upsert_explorer_client_url(
repo,
branch_name,
Expand All @@ -406,7 +406,7 @@ def execute_issue_changes() -> None:

if etherscan_client_url:
print("Updating Etherscan client")
file_path = "gnosis/eth/clients/etherscan_client.py"
file_path = "safe_eth/eth/clients/etherscan_client.py"
upsert_explorer_client_url(
repo,
branch_name,
Expand All @@ -417,7 +417,7 @@ def execute_issue_changes() -> None:
)
if etherscan_client_api_url:
print("Updating Etherscan API client")
file_path = "gnosis/eth/clients/etherscan_client.py"
file_path = "safe_eth/eth/clients/etherscan_client.py"
upsert_explorer_client_url(
repo,
branch_name,
Expand Down