eth2.0-specs/tests/core/pyspec/eth2spec
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
..
config Add `CONFIG_NAME` to configs 2021-12-29 13:02:36 +01:00
debug fix spacing for linter 2021-06-24 09:24:58 -07:00
gen_helpers Apply PR feedback from @michaelsproul 2022-09-02 20:45:51 +08:00
test EIP4844: Update cryptography API (#3038) 2022-11-03 17:01:32 +02:00
utils Add `test_process_deposit::test_key_validate_invalid` 2022-09-12 22:31:49 +08:00
VERSION.txt bump VERSION.txt to 1.3.0-alpha.0 (#3056) 2022-10-25 11:45:04 +08:00
__init__.py more explicit about version file location 2020-02-08 23:59:08 +01:00