Skip to content

Commit

Permalink
adding alpha-z comment
Browse files Browse the repository at this point in the history
  • Loading branch information
anupsv committed Aug 15, 2024
1 parent 71e4491 commit adba288
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osp/OneStepProverHostIo.sol
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ contract OneStepProverHostIo is IOneStepProver {
return uint256(hash) % BN254.FR_MODULUS;
}

// e((P - y) + gamma . (alpha - z), G2) = e((Q + gamma), (alpha - z))
// e((P - y) + gamma . (alpha - z), G2) = e((Q + gamma), (alpha - z))
// The last term, i.e (alpha - z) is passed into the contract.
function VerifyKzgProofWithG1Equivalence(
uint256[2] memory commitment,
uint256 y,
Expand Down

0 comments on commit adba288

Please sign in to comment.