Extend the wait

This commit is contained in:
David Boreham 2023-08-17 07:23:33 -06:00
parent 7fc6375886
commit 4e656df709

View File

@ -27,7 +27,7 @@ $TEST_TARGET_SO --stack fixturenet-eth deploy ps
echo "$(date +"%Y-%m-%d %T"): Getting initial block number" echo "$(date +"%Y-%m-%d %T"): Getting initial block number"
initial_block_number=$($TEST_TARGET_SO --stack fixturenet-eth deploy exec foundry "cast block-number") initial_block_number=$($TEST_TARGET_SO --stack fixturenet-eth deploy exec foundry "cast block-number")
# Check that the block number increases some time later # Check that the block number increases some time later
sleep 24 sleep 120
echo "$(date +"%Y-%m-%d %T"): Getting subsequent block number" echo "$(date +"%Y-%m-%d %T"): Getting subsequent block number"
subsequent_block_number=$($TEST_TARGET_SO --stack fixturenet-eth deploy exec foundry "cast block-number") subsequent_block_number=$($TEST_TARGET_SO --stack fixturenet-eth deploy exec foundry "cast block-number")
block_number_difference=$((subsequent_block_number - initial_block_number)) block_number_difference=$((subsequent_block_number - initial_block_number))