Try waiting longer for a new block
This commit is contained in:
parent
5a31cb50c3
commit
82a839d15f
@ -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 12
|
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user