This PR checks for an arithmetic side effect lint, which can help prevent unintended behavior.
It also updates the API such that proof verification now returns Result<(), ProofError> instead of bool. This simplifies the implementation and seems like a safer design.
BREAKING CHANGE: Updates the API relating to proof verification.
This PR checks for an arithmetic side effect lint, which can help prevent unintended behavior.
It also updates the API such that proof verification now returns
Result<(), ProofError>
instead ofbool
. This simplifies the implementation and seems like a safer design.BREAKING CHANGE: Updates the API relating to proof verification.