Skip to content

Commit

Permalink
chore: add bn254g2 usage warning
Browse files Browse the repository at this point in the history
  • Loading branch information
algys committed Jan 22, 2025
1 parent 542fc41 commit 997cbde
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/libraries/BN254G2.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ pragma solidity ^0.8.0;
* @dev Homepage: https://github.com/musalbas/solidity-BN256G2
*/

// WARNING: this code is used ONLY for testing purposes, DO NOT USE IN PRODUCTION

library BN254G2 {
uint256 internal constant FIELD_MODULUS = 0x30644e72e131a029b85045b68181585d97816a916871ca8d3c208c16d87cfd47;
uint256 internal constant TWISTBX = 0x2b149d40ceb8aaae81be18991be06ac3b5b4c5e559dbefa33267e6dc24a138e5;
Expand Down

0 comments on commit 997cbde

Please sign in to comment.