mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-22 00:20:28 +00:00
Fix linter issues
This commit is contained in:
parent
ddf7e8013b
commit
dfdbe15e42
@ -60,9 +60,9 @@ G1 = bls.G1_to_bytes48(bls.G1())
|
|||||||
G1_INVALID_TOO_FEW_BYTES = G1[:-1]
|
G1_INVALID_TOO_FEW_BYTES = G1[:-1]
|
||||||
G1_INVALID_TOO_MANY_BYTES = G1 + b"\x00"
|
G1_INVALID_TOO_MANY_BYTES = G1 + b"\x00"
|
||||||
G1_INVALID_P1_NOT_IN_G1 = bytes.fromhex("8123456789abcdef0123456789abcdef0123456789abcdef" +
|
G1_INVALID_P1_NOT_IN_G1 = bytes.fromhex("8123456789abcdef0123456789abcdef0123456789abcdef" +
|
||||||
"0123456789abcdef0123456789abcdef0123456789abcdef")
|
"0123456789abcdef0123456789abcdef0123456789abcdef")
|
||||||
G1_INVALID_P1_NOT_ON_CURVE = bytes.fromhex("8123456789abcdef0123456789abcdef0123456789abcdef" +
|
G1_INVALID_P1_NOT_ON_CURVE = bytes.fromhex("8123456789abcdef0123456789abcdef0123456789abcdef" +
|
||||||
"0123456789abcdef0123456789abcdef0123456789abcde0")
|
"0123456789abcdef0123456789abcdef0123456789abcde0")
|
||||||
INVALID_G1_POINTS = [G1_INVALID_TOO_FEW_BYTES, G1_INVALID_TOO_MANY_BYTES,
|
INVALID_G1_POINTS = [G1_INVALID_TOO_FEW_BYTES, G1_INVALID_TOO_MANY_BYTES,
|
||||||
G1_INVALID_P1_NOT_IN_G1, G1_INVALID_P1_NOT_ON_CURVE]
|
G1_INVALID_P1_NOT_IN_G1, G1_INVALID_P1_NOT_ON_CURVE]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user