From 6932b239d8717804bc573b924ad162ffd1579967 Mon Sep 17 00:00:00 2001 From: RickVM Date: Fri, 31 May 2024 09:15:57 +0200 Subject: [PATCH 1/2] feat: add support for sepolia --- src/BatchScript.sol | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/BatchScript.sol b/src/BatchScript.sol index feb7fe7..e99507d 100644 --- a/src/BatchScript.sol +++ b/src/BatchScript.sol @@ -153,6 +153,9 @@ abstract contract BatchScript is Script, DelegatePrank { } else if (chainId == 43114) { SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; + } else if (chainId = 11155111) { + SAFE_API_BASE_URL = "https://safe-transaction-sepolia.safe.global/api/v1/safes/"; + SAFE_MULTISEND_ADDRESS = 0x998739BFdAAdde7C933B942a68053933098f9EDa; } else { revert("Unsupported chain"); } From 1221bf2dfbe3563eb09874d0deb512dea898d1a3 Mon Sep 17 00:00:00 2001 From: RickVM Date: Mon, 3 Jun 2024 15:03:52 +0200 Subject: [PATCH 2/2] fix: == comparison for sepolia --- src/BatchScript.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BatchScript.sol b/src/BatchScript.sol index e99507d..9f466f9 100644 --- a/src/BatchScript.sol +++ b/src/BatchScript.sol @@ -153,7 +153,7 @@ abstract contract BatchScript is Script, DelegatePrank { } else if (chainId == 43114) { SAFE_API_BASE_URL = "https://safe-transaction-avalanche.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0xA238CBeb142c10Ef7Ad8442C6D1f9E89e07e7761; - } else if (chainId = 11155111) { + } else if (chainId == 11155111) { SAFE_API_BASE_URL = "https://safe-transaction-sepolia.safe.global/api/v1/safes/"; SAFE_MULTISEND_ADDRESS = 0x998739BFdAAdde7C933B942a68053933098f9EDa; } else {