[BUG] Wrong report for long running POC status #2011
bug
Wrong reporting on POC challenge status when host rejected it due to training
Summary
Host which is under training, rejects POC challenge. So it is not generating commits. However, the on-chain status:
decentai@702127:/srv/dai/gonka/deploy/join$ cat /tmp/chal.json | tail -1 | jq '{code, txhash}' # the successful tx
docker exec node $INF q inference open-poc-challenges -o json \
| jq '.challenges[] | {target:.challenge.target, challenger:.challenge.challenger,
start:.challenge.start_height, finish, generating, locked:.challenge.locked_payment, commits:(.commits|length)}'
parse error: Invalid numeric literal at line 1, column 4
{
"target": "gonka197twxyr3j0a8uqdk9a25z7yfz6jk2e7tpqzrkz",
"challenger": "gonka1l6dcl83kdv2ujn6uls8q92e4lt6ylqrj2pctcg",
"start": "30167",
"finish": "30390",
**"generating": true,**
"locked": "7062332259334",
**"commits": 0**
}
decentai@702127:/srv/dai/gonka/deploy/join$ docker exec node $INF q inference all-poc-v2-store-commits 30166 -o j
{}
💬 Comments (2)
thank you, working
🔄 Auto-synced from Issue #2011 every hour.
https://github.com/gonka-ai/gonka/commit/0853195ca2da7bb7553805ba26be9d0fb03ffaf1