From f0e543059a06e1a66d9f2646bec2cbbebba3a7a7 Mon Sep 17 00:00:00 2001 From: DanielZlotin Date: Mon, 28 Oct 2024 15:42:50 +0200 Subject: [PATCH] deploy --- deploy.zsh | 16 +++++++++------- script/input/config.json | 2 +- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/deploy.zsh b/deploy.zsh index c17d9da..035033c 100755 --- a/deploy.zsh +++ b/deploy.zsh @@ -7,12 +7,14 @@ trap chain EXIT chains=(eth arb bnb matic ftm op linea blast base zkevm manta sei) -echo $chains | tr ' ' '\n' | parallel "\ - echo \"šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”— {} šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€\";\ - chain {};\ - forge script Deploy --broadcast \$([[ -n \$ETHERSCAN_API_KEY ]] && echo '--verify --retries 100')" | \ - tee >( \ - grep ': address ' | sed 's/: address / /' | while read c a; do; [[ $a != $(jq -r ".$c" $config) ]] && echo "āŒ address mismatch: $c $a"; done; \ +echo $chains | tr ' ' '\n' | parallel --keep-order " + echo \"\nšŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”—šŸ”— {} šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€šŸš€\n\"; + chain {}; + forge script Deploy --broadcast --verify --resume \ + \$([[ -n \$VERIFIER ]] && echo --verifier \$VERIFIER)" | + tee >( + grep ': address ' | sed 's/: address / /' | while read c a; do; + [[ $a != $(jq -r ".$c" $config) ]] && echo "āŒ address mismatch: $c $a"; + done; ) - diff --git a/script/input/config.json b/script/input/config.json index 5f51a39..01dd5aa 100644 --- a/script/input/config.json +++ b/script/input/config.json @@ -1,6 +1,6 @@ { "admin": "0x000066320a467dE62B1548f46465abBB82662331", - "executor": "0x0b4201791F0f4AeB5c9b28099fF254229418Eec5", + "executor": "0xD60EA669f0b8f1C094F02cEc5ba5ae1Ec321F4E0", "reactor": "0xc19E284C8f5ccef721a761d0CA18dc8E9a612aFd", "reactor2": "0x41EECa1CAccD83757c84ad6531B935F4600AA094", "reactorPartial": "0x733aB5c10ad6D5183a135C733C135F9aBD4Ef0EA",