Skip to content

Commit

Permalink
run forge script in non-interactive mode in shell script (#270)
Browse files Browse the repository at this point in the history
  • Loading branch information
ClaytonNorthey92 authored Oct 1, 2024
1 parent c0dab9f commit 44ce468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/genesisl2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 44ce468

Please sign in to comment.