Skip to content

Commit

Permalink
4844: Fix ToC
Browse files Browse the repository at this point in the history
Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
  • Loading branch information
asn-d6 and kevaundray committed Oct 14, 2022
1 parent c432f25 commit 07bc7f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
11 changes: 8 additions & 3 deletions specs/eip4844/polynomial-commitments.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,19 @@
- [`bit_reversal_permutation`](#bit_reversal_permutation)
- [BLS12-381 helpers](#bls12-381-helpers)
- [`bytes_to_bls_field`](#bytes_to_bls_field)
- [`hash_to_bls_field`](#hash_to_bls_field)
- [`bls_modular_inverse`](#bls_modular_inverse)
- [`div`](#div)
- [`g1_lincomb`](#g1_lincomb)
- [`vector_lincomb`](#vector_lincomb)
- [`compute_powers`](#compute_powers)
- [KZG](#kzg)
- [`blob_to_kzg_commitment`](#blob_to_kzg_commitment)
- [`verify_kzg_proof`](#verify_kzg_proof)
- [`compute_kzg_proof`](#compute_kzg_proof)
- [`compute_aggregated_poly_and_commitment`](#compute_aggregated_poly_and_commitment)
- [`compute_aggregate_kzg_proof`](#compute_aggregate_kzg_proof)
- [`verify_aggregate_kzg_proof`](#verify_aggregate_kzg_proof)
- [Polynomials](#polynomials)
- [`evaluate_polynomial_in_evaluation_form`](#evaluate_polynomial_in_evaluation_form)

Expand Down Expand Up @@ -202,7 +207,8 @@ def vector_lincomb(vectors: Sequence[Sequence[BLSFieldElement]],
return [BLSFieldElement(x) for x in result]
```

### `compute_powers`
#### `compute_powers`

```python
def compute_powers(x: BLSFieldElement, n: uint64) -> Sequence[BLSFieldElement]:
"""
Expand Down Expand Up @@ -271,8 +277,7 @@ def compute_kzg_proof(polynomial: Sequence[BLSFieldElement], z: BLSFieldElement)
return KZGProof(g1_lincomb(bit_reversal_permutation(KZG_SETUP_LAGRANGE), quotient_polynomial))
```


### `compute_aggregated_poly_and_commitment`
#### `compute_aggregated_poly_and_commitment`

```python
def compute_aggregated_poly_and_commitment(
Expand Down
9 changes: 0 additions & 9 deletions specs/eip4844/validator.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,9 @@

- [Introduction](#introduction)
- [Prerequisites](#prerequisites)
- [Custom types](#custom-types)
- [Containers](#containers)
- [`BlobsAndCommitments`](#blobsandcommitments)
- [`PolynomialAndCommitment`](#polynomialandcommitment)
- [Helpers](#helpers)
- [`is_data_available`](#is_data_available)
- [`hash_to_bls_field`](#hash_to_bls_field)
- [`compute_powers`](#compute_powers)
- [`compute_aggregated_poly_and_commitment`](#compute_aggregated_poly_and_commitment)
- [`validate_blobs_sidecar`](#validate_blobs_sidecar)
- [`compute_proof_from_blobs`](#compute_proof_from_blobs)
- [`get_blobs_and_kzg_commitments`](#get_blobs_and_kzg_commitments)
- [Beacon chain responsibilities](#beacon-chain-responsibilities)
- [Block proposal](#block-proposal)
Expand Down Expand Up @@ -63,7 +55,6 @@ def is_data_available(slot: Slot, beacon_block_root: Root, blob_kzg_commitments:
return True
```


### `validate_blobs_sidecar`

```python
Expand Down

0 comments on commit 07bc7f7

Please sign in to comment.