From 44ce4680e974404a0329b73fe344132dcdb9ec27 Mon Sep 17 00:00:00 2001 From: ClaytonNorthey92 Date: Tue, 1 Oct 2024 13:54:31 -0400 Subject: [PATCH] run forge script in non-interactive mode in shell script (#270) --- e2e/genesisl2.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e2e/genesisl2.sh b/e2e/genesisl2.sh index 41c3dd8e..38b2a3dd 100644 --- a/e2e/genesisl2.sh +++ b/e2e/genesisl2.sh @@ -51,7 +51,7 @@ curl $JSON_RPC -X 'POST' -H 'Content-Type: application/json' --data "{\"jsonrpc\ cd /git/optimism/packages/contracts-bedrock -forge script ./scripts/Deploy.s.sol:Deploy --private-key=$ADMIN_PRIVATE_KEY --broadcast --rpc-url $JSON_RPC +forge script ./scripts/Deploy.s.sol:Deploy --non-interactive --private-key=$ADMIN_PRIVATE_KEY --broadcast --rpc-url $JSON_RPC curl -H 'Content-Type: application/json' -X POST --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x2", true],"id":1}' $JSON_RPC > /tmp/blockl1.json