mirror of
https://github.com/lens-protocol/core.git
synced 2026-01-09 14:18:04 -05:00
misc: run script to skip tests
This commit is contained in:
@@ -17,7 +17,7 @@ CALLDATA=$(cast calldata "run(string)" $TARGET)
|
||||
echo "Interactions calldata:"
|
||||
echo "$CALLDATA"
|
||||
|
||||
forge script script/$1.s.sol:$1 -s $CALLDATA --rpc-url $NETWORK -vv
|
||||
forge script script/$1.s.sol:$1 -s $CALLDATA --rpc-url $NETWORK -vv --skip test
|
||||
|
||||
read -p "Please verify the data and confirm the interactions logs (y/n):" CONFIRMATION
|
||||
|
||||
@@ -25,7 +25,7 @@ if [[ "$CONFIRMATION" == "y" || "$CONFIRMATION" == "Y" ]]
|
||||
then
|
||||
echo "Broadcasting on-chain..."
|
||||
|
||||
FORGE_OUTPUT=$(forge script script/$1.s.sol:$1 -s $CALLDATA --rpc-url $NETWORK --broadcast --legacy)
|
||||
FORGE_OUTPUT=$(forge script script/$1.s.sol:$1 -s $CALLDATA --rpc-url $NETWORK --broadcast --legacy --skip test)
|
||||
echo "$FORGE_OUTPUT"
|
||||
else
|
||||
echo "Deployment cancelled. Execution terminated."
|
||||
|
||||
Reference in New Issue
Block a user