Skip to content

Commit

Permalink
chore: implement keep-starknet-strange#1443 workaround
Browse files Browse the repository at this point in the history
Signed-off-by: Iliya Savov <isavov@users.noreply.github.com>
  • Loading branch information
isavov committed May 13, 2024
1 parent cc93b90 commit cf6375c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gomu-gomu-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
./target/production/madara --dev > madara.log 2>&1 &
MADARA_RUN_PID=$!
while ! echo exit | nc localhost 9944; do sleep 1; done
# Wait for the first block to be produced (workaround for #1443)
until [[ "$(curl -s --request POST --url http://localhost:9944 --header 'accept: application/json' --header 'content-type: application/json' --data '{"id": 1, "jsonrpc": "2.0", "method": "starknet_blockNumber"}' | jq '.result')" -gt 1 ]]; do sleep 1; done
cd ../gomu-gomu-no-gatling
RUST_LOG=info cargo run -- shoot -c config/default.yaml
kill $MADARA_RUN_PID
Expand Down

0 comments on commit cf6375c

Please sign in to comment.