PR feedback of Danny + verify `MAX_BLOBS_PER_BLOCK` size in unittest

This commit is contained in:
Hsiao-Wei Wang 2023-05-24 16:32:39 +08:00
parent f0a4281afd
commit e9cc8dcc05
No known key found for this signature in database
GPG Key ID: AE3D6B174F971DE4
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,12 @@
from eth2spec.test.context import (
single_phase,
spec_test,
with_deneb_and_later,
)
@with_deneb_and_later
@spec_test
@single_phase
def test_length(spec):
assert spec.MAX_BLOBS_PER_BLOCK < spec.MAX_BLOB_COMMITMENTS_PER_BLOCK