Import `curve_order as BLS_MODULUS`
This commit is contained in:
parent
ca8a51fcf9
commit
661cca59c0
|
@ -12,7 +12,7 @@ from eth2spec.test.helpers.sharding import (
|
|||
from eth2spec.utils import bls
|
||||
|
||||
|
||||
BLS_MODULUS = bls.curve_order
|
||||
BLS_MODULUS = bls.BLS_MODULUS
|
||||
|
||||
|
||||
def bls_add_one(x):
|
||||
|
|
|
@ -12,6 +12,7 @@ from py_ecc.optimized_bls12_381 import ( # noqa: F401
|
|||
FQ12 as py_ecc_GT,
|
||||
)
|
||||
from py_ecc.bls.g2_primitives import ( # noqa: F401
|
||||
curve_order as BLS_MODULUS,
|
||||
G1_to_pubkey as py_ecc_G1_to_bytes48,
|
||||
pubkey_to_G1 as py_ecc_bytes48_to_G1,
|
||||
G2_to_signature as py_ecc_G2_to_bytes96,
|
||||
|
|
Loading…
Reference in New Issue