Fix auto-rebase errors

This commit is contained in:
Hsiao-Wei Wang 2022-11-03 11:46:07 -05:00
parent 39e6ec5d14
commit ad36548480
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
2 changed files with 0 additions and 23 deletions

View File

@ -57,14 +57,6 @@ class SignedBeaconBlockAndBlobsSidecar(Container):
blobs_sidecar: BlobsSidecar
```
### `SignedBeaconBlockAndBlobsSidecar`
```python
class SignedBeaconBlockAndBlobsSidecar(Container):
beacon_block: SignedBeaconBlock
blobs_sidecar: BlobsSidecar
```
## The gossip domain: gossipsub
Some gossip meshes are upgraded in the fork of EIP4844 to support upgraded types.

View File

@ -13,21 +13,6 @@ from eth2spec.test.helpers.sharding import (
)
@with_eip4844_and_later
@spec_state_test
def test_verify_kzg_proof(spec, state):
x = 3
polynomial = get_sample_blob(spec)
polynomial = [int(i) for i in polynomial]
commitment = spec.blob_to_kzg_commitment(polynomial)
# Get the proof
proof = spec.compute_kzg_proof(polynomial, x)
y = spec.evaluate_polynomial_in_evaluation_form(polynomial, x)
assert spec.verify_kzg_proof(commitment, x, y, proof)
def _run_validate_blobs_sidecar_test(spec, state, blob_count):
block = build_empty_block_for_next_slot(spec, state)
opaque_tx, blobs, blob_kzg_commitments = get_sample_opaque_tx(spec, blob_count=blob_count)