Closed onurinanc closed 1 year ago
The checks are done for the BigInt3 not for the BigInt4, x.d3 == 0 needs to be added to both functions
https://github.com/keep-starknet-strange/garaga/blob/main/src/bls12_381/fq.cairo#L28
Thank you for noticing that point. Will fix soon.
The checks are done for the BigInt3 not for the BigInt4, x.d3 == 0 needs to be added to both functions