Skip to content

Commit

Permalink
Go back to the assumption that we *will* produce a block
Browse files Browse the repository at this point in the history
This is consistent with compatible. The test will also never work if we
don't produce blocks. We should fix that instead.
  • Loading branch information
mrmr1993 committed Jan 29, 2025
1 parent 05fd7d3 commit aced661
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildkite/scripts/rosetta-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ fi

mina client status --json

next_block_time=$(mina client status --json | jq '.next_block_production.timing[1]' | tr -d '"') curr_time=$(date +%s%N | cut -b1-13)
sleep_time=$((($next_block_time - $curr_time) / 10000000))
next_block_time=$(mina client status --json | jq '.next_block_production.timing[1].time' | tr -d '"') curr_time=$(date +%s%N | cut -b1-13)
sleep_time=$((($next_block_time - $curr_time) / 1000))
echo "Sleeping for ${sleep_time}s until next block is created..."
sleep $sleep_time
sleep ${sleep_time}

# Mina Rosetta Checks (spec construction data perf)
echo "============ ROSETTA CLI: VALIDATE CONF FILE ${ROSETTA_CONFIGURATION_FILE} =============="
Expand Down

0 comments on commit aced661

Please sign in to comment.