Skip to content

Commit

Permalink
Merge pull request #231 from lambdaclass/fix/remove-ecPairing-outdate…
Browse files Browse the repository at this point in the history
…d-TODOs

fix: Remove ecPairing outdated TODOs
  • Loading branch information
ilitteri authored Feb 29, 2024
2 parents e9e2a74 + ee2c4b7 commit bb9d399
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions precompiles/EcPairing.yul
Original file line number Diff line number Diff line change
Expand Up @@ -1614,12 +1614,10 @@ object "EcPairing" {
let g2_y1 := mload(g2_y1_offset)
let g2_y0 := mload(g2_y0_offset)

// TODO: Double check if this is right
if iszero(and(coordinateIsOnFieldOrder(g2_x0), coordinateIsOnFieldOrder(g2_x1))) {
burnGas()
}

// TODO: Double check if this is right
if iszero(and(coordinateIsOnFieldOrder(g2_y0), coordinateIsOnFieldOrder(g2_y1))) {
burnGas()
}
Expand Down

0 comments on commit bb9d399

Please sign in to comment.