apollozkp / zkp-subnet

A subnet on Bittensor which is capable of computing zero-knowledge proofs in a collaborative way, providing linear scaling of prover speed with network size, creating an open and permissionless prover market.
MIT License
5 stars 3 forks source link

Fix signature verification error in staging #9

Closed cjtf0991 closed 7 months ago

cjtf0991 commented 7 months ago

Initially, this seems to happen since the validator seems to send itself validation queries, and verification for it fails, halting the validation call.

cjtf0991 commented 7 months ago

Fixed in 6dc067baaa4b7ced15d8c369a977a8397b5f9910.

The validator will now exclude any neuron with a stake greater than 0, and upon receiving a bogus response from a miner, sets their response to an empty bytestring and punishes them in the reward procedure. The validator no longer halts, so this issue can be considered resolved.