Add stack logs in case of fail

This commit is contained in:
David Boreham 2023-08-17 00:36:36 -06:00
parent f62a8ff54f
commit 69d59b109b

View File

@ -37,6 +37,8 @@ if [[ $block_number_difference -gt 1 && $block_number_difference -lt 10 ]]; then
test_result=0
else
echo "Test failed: block numbers were ${initial_block_number} and ${subsequent_block_number}"
echo "Logs from stack:"
$TEST_TARGET_SO --stack fixturenet-eth deploy logs
test_result=1
fi
$TEST_TARGET_SO --stack fixturenet-eth deploy down