Skip to content

Commit

Permalink
test: temporary debug for evm in e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarranzav committed Sep 26, 2022
1 parent 80ef55a commit 98738cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/evm
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ evm_running() {

evm_start() {
echo "Starting our own evm instance at port $TESTRPC_PORT"
npx hardhat node --port "$TESTRPC_PORT" > /dev/null &
npx hardhat node --port "$TESTRPC_PORT" --show-stack-traces &
}

evm_kill() {
if evm_running; then
echo "Killing evm instance at port $TESTRPC_PORT"
kill -9 $(lsof -i:$TESTRPC_PORT -t)
fi
}
}

0 comments on commit 98738cd

Please sign in to comment.