Hsiao-Wei Wang
a4e04ebf64
Misc fix
2024-04-27 12:11:29 +08:00
kevaundray
bd48cefdd7
Update tests/core/pyspec/eth2spec/utils/bls.py
2024-04-23 17:10:15 +01:00
Kevaundray Wedderburn
f3302a3836
- return serialized identity points
...
- result = None initially
2024-04-23 15:11:46 +01:00
Kevaundray Wedderburn
309979d778
add check for multi_exp
2024-04-23 14:58:32 +01:00
Kevaundray Wedderburn
274d013d5c
mke multi_exp polymorphic for pyecc
2024-04-23 14:53:06 +01:00
Kevaundray Wedderburn
b58012845f
check if there are any points
2024-04-23 14:28:53 +01:00
Kevaundray Wedderburn
5230d8e81e
fix: function description
2024-04-23 14:22:13 +01:00
Kevaundray Wedderburn
d55da1bdb1
use one method for both G1 and G2 multiexp
2024-04-23 14:21:37 +01:00
Kevaundray Wedderburn
941d9a9476
trigger CI again
2024-04-23 13:55:23 +01:00
Kevaundray Wedderburn
6aa950e1dd
add g2_multi_exp and lint fixes
2024-04-23 13:38:04 +01:00
Kevaundray Wedderburn
640675f628
add `g1_multi_exp`
2024-04-23 12:44:50 +01:00
Hsiao-Wei Wang
03583b1b47
Fix fft helper and add basic test
2024-01-05 20:31:09 +08:00
Hsiao-Wei Wang
8d6b28b752
set default bls lib to `fastest_bls`
2023-10-16 17:47:14 +08:00
Hsiao-Wei Wang
661cca59c0
Import `curve_order as BLS_MODULUS`
2023-03-07 16:52:09 +08:00
dankrad
86fb82b221
Test generators for kzg-4844 libraries ( #3274 )
...
Arkworks integration and test generators for kzg-4844 libraries
2023-03-02 20:49:10 +00:00
Hsiao-Wei Wang
7c016f3236
Add testing KZG trusted setups generator tool and load the file during building pyspec
2022-11-03 10:17:42 -05:00
Hsiao-Wei Wang
e4407c64e3
Add `test_process_deposit::test_key_validate_invalid`
2022-09-12 22:31:49 +08:00
George Kadianakis
567a25f883
EIP-4844: Make the spec executable
...
- Implement all the required glue code to make things executable
- Implement a dummy KZG trusted setup
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
2022-07-13 13:14:05 +03:00
Hsiao-Wei Wang
93af122b2d
PR feedback from @ralexstokes and add single pubkey aggregate tests
2021-08-05 12:09:30 +08:00
Hsiao-Wei Wang
43a1617ffa
Ensure that the given PKs are valid PKs + fix typos
2021-08-04 21:25:37 +08:00
Hsiao-Wei Wang
00a19e583e
Bump milagro_bls_binding to 1.5.0
2020-10-06 16:17:29 +08:00
Hsiao-Wei Wang
4d3ac72473
Bump milagro_bls_binding to `1.4.0`, handle the exception cases
2020-10-05 21:55:49 +08:00
Hsiao-Wei Wang
19d6c8336a
Add IETF BLS draft 04 edge cases test vectors
2020-09-25 15:01:38 +08:00
protolambda
e9d887be4d
Enable BLS in finality tests, use Milagro
2020-07-24 01:19:14 +02:00
Hsiao-Wei Wang
f72d14a747
Bump `milagro_bls_binding` to 1.2.0
...
Also verify it in BLS test generator
2020-05-21 01:37:12 +08:00
Hsiao-Wei Wang
21a4143d99
Merge branch 'dev' into fast-bls-option
2020-05-20 16:26:43 +08:00
Hsiao-Wei Wang
d27f2350a2
Update BLS test suite to BLS standard draft v2 format
...
1. Make sure that BLS -Verify APIs would only return `True` or `False` , no exceptions.
2. Use `eth2spec.utils.bls` instead of py_ecc for test generator
3. Add assertions in test generator
4. Add some special test cases for the -Verify APIs
5. Clean up the test format documents
2020-05-15 00:55:06 +08:00
protolambda
b1c2c6e3a2
Default BLS to ON, keep CI BLS off for now, add milagro option
2020-05-11 19:18:49 +02:00
Hsiao-Wei Wang
cdd0ed0f7b
Update to IETF BLS draft-irtf-cfrg-bls-signature-02
2020-05-09 11:48:48 +08:00
Hsiao-Wei Wang
bdae27e317
Add bls.AggregatePKs helper
2020-04-27 21:47:25 +08:00
Danny Ryan
676e216beb
reorg specs by fork and move ssz out to own folder. make all of the build and link changes to support move
2020-01-10 11:55:13 -07:00