mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-01-31 14:07:55 -05:00
Add unittest to check FIELD_ELEMENTS_PER_EXT_BLOB value
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
from eth2spec.test.context import (
|
||||
single_phase,
|
||||
spec_test,
|
||||
with_eip7594_and_later,
|
||||
)
|
||||
|
||||
|
||||
@with_eip7594_and_later
|
||||
@spec_test
|
||||
@single_phase
|
||||
def test_polynomical_commitments_sampling(spec):
|
||||
assert spec.FIELD_ELEMENTS_PER_EXT_BLOB == 2 * spec.FIELD_ELEMENTS_PER_BLOB
|
||||
Reference in New Issue
Block a user