eth2.0-specs/specs
George Kadianakis 86e15764ad
EIP4844: Update cryptography API (#3038)
This commit changes the public API of the KZG library to the following high-level API:

```
- verify_kzg_proof()
- compute_aggregate_kzg_proof()
- verify_aggregate_kzg_proof()
- blob_to_kzg_commitment()
```

compared to the previous much more low-level API:

```
- compute_powers()
- matrix_lincomb()
- lincomb()
- bytes_to_bls_field()
- evaluate_polynomial_in_evaluation_form()
- verify_kzg_proof()
- compute_kzg_proof()
```

This means that all the cryptographic logic (including Fiat-Shamir) is now isolated and hidden in the KZG library and the `validator.md` file ends up being significantly simplified, only calling high-level KZG functions.

Some additional things that this commit does:

- Moves all EIP4844 cryptography into polynomial-commitments.md
- Improves the Fiat-Shamir stack by removing the need for SSZ and by introducing simple domain separators

Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
Co-authored-by: Dankrad Feist <mail@dankradfeist.de>
2022-11-03 17:01:32 +02:00
..
altair Merge pull request #3063 from etan-status/lc-gossipdigests 2022-11-02 13:12:23 +08:00
bellatrix Remove work-in-progress notes in Bellatrix specs (#3033) 2022-10-15 05:05:45 +08:00
capella Merge pull request #3040 from ethereum/capella-test-vectors 2022-10-23 06:44:03 +08:00
custody_game `doctoc` on `custody_game` specs 2022-01-17 12:56:51 +01:00
das Update reserved libp2p error documentation 2022-01-28 00:33:38 +01:00
eip4844 EIP4844: Update cryptography API (#3038) 2022-11-03 17:01:32 +02:00
phase0 Fix codespell errors (#2975) 2022-08-18 22:08:44 +08:00
sharding WIP implementation of Danksharding (#2792) 2022-07-18 11:20:25 -06:00