Merkle Proofs of KZG commitments (#13159)

* Merkle Proofs of KZG commitments

* fix mock

* Implement Merkle proof spectests

* Check Proof construction in spectests

* fix Merkle proof generator

* Add unit test

* add ssz package unit tests

* add benchmark

* fix typo in comment

* ProposerSlashing was repeated

* Terence's review

* move to consensus_blocks

* use existing error
This commit is contained in:
Potuz
2023-11-06 08:49:35 -03:00
committed by GitHub
parent f663f605d2
commit afaeff9d4c
13 changed files with 488 additions and 126 deletions

View File

@@ -59,6 +59,7 @@ type ReadOnlyBeaconBlock interface {
// ReadOnlyBeaconBlockBody describes the method set employed by an object
// that is a beacon block body.
type ReadOnlyBeaconBlockBody interface {
Version() int
RandaoReveal() [field_params.BLSSignatureLength]byte
Eth1Data() *ethpb.Eth1Data
Graffiti() [field_params.RootLength]byte