3 Commits

Author SHA1 Message Date
Mamy Ratsimbazafy
0f9b9e9606
Parallel Ethereum protocols (BLS signature and KZG) (#279)
* BLS sig: parallel batch verification

* BLS: speedup parallel batch verify with Miller loops on local threads

* shutdown bench

* nit: import style

* implement parallel KZG

* Parallel KZG commitments

* add benchmarks of KZG

* rename protocol file

* small optim: reorder await

* fix rebase

* Faster parallel BLS verification

* fix commitment status replacing previous error in verify_blob_kzg_proof_batch_parallel

* 2x faster parallel EC sum for less than 8192 points
2023-10-06 09:58:20 +02:00
Mamy Ratsimbazafy
7b64f85a29
KZG followup - Batch verification (#272)
* KZG: add batch verification

* workaround Clang and empty {.goto.} branches

* Apply suggestions from code review
2023-09-17 11:05:09 +02:00
Mamy Ratsimbazafy
153b37b77f
Ethereum KZG / EIP-4844 / Proto-danksharding followup (#270)
* Pass all verify_kzg_proof test cases

* pass blob_to_commitment tests

* move tests

* KZG: WIP on compute_proof

* eip4844: Pass all compute_kzg_proof tests

* pass compute_blob_kzg_proof tests

* pass all verify_blob_kzg_proof tests

* CI needs yaml

* fix memory leaks and add effect tags

* CI: lock yaml version too pre Nim 2.0
2023-09-15 08:21:04 +02:00