Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
klkvr committed Oct 2, 2024
1 parent dc09964 commit d86fe50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sign/BLS.sol
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ pragma solidity ^0.8.23;
/// @dev Precompile addresses come from the BLS addresses submodule in AlphaNet, see
/// <https://github.com/paradigmxyz/alphanet/blob/main/crates/precompile/src/addresses.rs>
/// @notice `hashToCurve` logic is based on <https://github.com/ethyla/bls12-381-hash-to-curve/blob/main/src/HashToCurve.sol>
/// with small modifications.
/// with small modifications including:
/// - Removal of low-level assembly in _modexp to ensure compatibility with EOF which does not support low-level staticcall
/// - Usage of Fp2/G2Point structs defined here for better compatibility with existing methods
library BLS {
/// @dev A base field element (Fp) is encoded as 64 bytes by performing the
/// BigEndian encoding of the corresponding (unsigned) integer. Due to the size of p,
Expand Down

0 comments on commit d86fe50

Please sign in to comment.