Skip to content

Commit a763ce1

Browse files
committed
fix: improve deploy-scenario script error handling
- Add -vv flag for better visibility of console.log statements - Add || true to evm_* commands to handle RPC methods that may not be supported
1 parent 8710e12 commit a763ce1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

deploy-scenario.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SCENARIO=$1
77
rm -rf dev-ctx/
88
mkdir -p dev-ctx/{addresses,labels,priceapi}/31337
99

10-
forge script --rpc-url ${RPC_URL:-http://127.0.0.1:8545} "script/scenarios/$SCENARIO.s.sol" --broadcast --code-size-limit 100000
11-
cast rpc evm_increaseTime 86400
12-
cast rpc evm_mine
10+
forge script --rpc-url ${RPC_URL:-http://127.0.0.1:8545} "script/scenarios/$SCENARIO.s.sol" --broadcast --code-size-limit 100000 -vv
11+
cast rpc evm_increaseTime 86400 || true
12+
cast rpc evm_mine || true
1313

1414
node chains.js

0 commit comments

Comments
 (0)