G2Basic to G2ProofOfPossession for private_to_public_key bls test generator
Co-Authored-By: Carl Beekhuizen <carl@ethereum.org>
This commit is contained in:
parent
f012844493
commit
dd9325d9fa
|
@ -115,7 +115,7 @@ def case02_message_hash_G2_compressed():
|
|||
|
||||
|
||||
def case03_private_to_public_key():
|
||||
pubkeys = [bls.G2Basic.PrivToPub(privkey) for privkey in PRIVKEYS]
|
||||
pubkeys = [bls. G2ProofOfPossession.PrivToPub(privkey) for privkey in PRIVKEYS]
|
||||
pubkeys_serial = ['0x' + pubkey.hex() for pubkey in pubkeys]
|
||||
for privkey, pubkey_serial in zip(PRIVKEYS, pubkeys_serial):
|
||||
yield f'priv_to_pub_{int_to_hex(privkey)}', {
|
||||
|
|
Loading…
Reference in New Issue