don't run deneb on_block tests for peerdas (changed behavior)
This commit is contained in:
parent
111123723a
commit
37c08a3081
|
@ -2,9 +2,11 @@ from random import Random
|
|||
|
||||
from eth2spec.test.context import (
|
||||
spec_state_test,
|
||||
with_deneb_and_later,
|
||||
with_phases,
|
||||
)
|
||||
|
||||
from eth2spec.test.helpers.constants import DENEB
|
||||
|
||||
from eth2spec.test.helpers.block import (
|
||||
build_empty_block_for_next_slot,
|
||||
)
|
||||
|
@ -34,7 +36,7 @@ def get_block_with_blob(spec, state, rng=None):
|
|||
return block, blobs, blob_kzg_proofs
|
||||
|
||||
|
||||
@with_deneb_and_later
|
||||
@with_phases([DENEB])
|
||||
@spec_state_test
|
||||
def test_simple_blob_data(spec, state):
|
||||
rng = Random(1234)
|
||||
|
@ -69,7 +71,7 @@ def test_simple_blob_data(spec, state):
|
|||
yield 'steps', test_steps
|
||||
|
||||
|
||||
@with_deneb_and_later
|
||||
@with_phases([DENEB])
|
||||
@spec_state_test
|
||||
def test_invalid_incorrect_proof(spec, state):
|
||||
rng = Random(1234)
|
||||
|
@ -97,7 +99,7 @@ def test_invalid_incorrect_proof(spec, state):
|
|||
yield 'steps', test_steps
|
||||
|
||||
|
||||
@with_deneb_and_later
|
||||
@with_phases([DENEB])
|
||||
@spec_state_test
|
||||
def test_invalid_data_unavailable(spec, state):
|
||||
rng = Random(1234)
|
||||
|
@ -125,7 +127,7 @@ def test_invalid_data_unavailable(spec, state):
|
|||
yield 'steps', test_steps
|
||||
|
||||
|
||||
@with_deneb_and_later
|
||||
@with_phases([DENEB])
|
||||
@spec_state_test
|
||||
def test_invalid_wrong_proofs_length(spec, state):
|
||||
rng = Random(1234)
|
||||
|
@ -153,7 +155,7 @@ def test_invalid_wrong_proofs_length(spec, state):
|
|||
yield 'steps', test_steps
|
||||
|
||||
|
||||
@with_deneb_and_later
|
||||
@with_phases([DENEB])
|
||||
@spec_state_test
|
||||
def test_invalid_wrong_blobs_length(spec, state):
|
||||
rng = Random(1234)
|
||||
|
@ -178,4 +180,4 @@ def test_invalid_wrong_blobs_length(spec, state):
|
|||
|
||||
assert spec.get_head(store) != signed_block.message.hash_tree_root()
|
||||
|
||||
yield 'steps', test_steps
|
||||
yield 'steps', test_steps
|
Loading…
Reference in New Issue