Skip to content

Commit 9a6dfdb

Browse files
committed
fix: use alternative default multisig for optimism and base
1 parent a4669da commit 9a6dfdb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

multisig_ci/ci_override.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ def mine_override(timestamp: Optional[int] = None) -> None:
3434
DELEGATE_ADDRESS = os.environ.get("DELEGATE_ADDRESS")
3535
home_directory = os.environ.get("HOME")
3636
BASE_CHAIN_ID = 8453
37+
OPTIMISM_CHAIN_ID = 10
3738
FANTOM_CHAIN_ID = 250
39+
ALT_DEFAULT_MULTISEND = "0x998739BFdAAdde7C933B942a68053933098f9EDa"
3840

3941
gnosis_frontend_urls = {
4042
1: 'https://app.safe.global/transactions/queue?safe=eth:{0}',
@@ -187,6 +189,9 @@ def DelegateSafe(address, base_url=None, multisend=None):
187189
if not base_url and network.chain.id == FANTOM_CHAIN_ID:
188190
base_url = "https://safe-txservice.fantom.network"
189191

192+
if not multisend and (network.chain.id == OPTIMISM_CHAIN_ID or network.chain.id == BASE_CHAIN_ID):
193+
multisend = ALT_DEFAULT_MULTISEND
194+
190195
safe = BrownieSafe(address, base_url, multisend)
191196
safe.frontend_url = frontend_url
192197
return safe

0 commit comments

Comments
 (0)