Fix conflicts
This commit is contained in:
parent
c34eae33d0
commit
a1e74b2c18
|
@ -1,12 +1,12 @@
|
|||
from eth2spec.test.context import (
|
||||
spec_state_test,
|
||||
with_phases,
|
||||
LIGHTCLIENT_PATCH,
|
||||
ALTAIR,
|
||||
)
|
||||
from eth2spec.test.helpers.merkle import build_proof
|
||||
|
||||
|
||||
@with_phases([LIGHTCLIENT_PATCH])
|
||||
@with_phases([ALTAIR])
|
||||
@spec_state_test
|
||||
def test_next_sync_committee_tree(spec, state):
|
||||
state.next_sync_committee: object = spec.SyncCommittee(
|
||||
|
@ -22,7 +22,7 @@ def test_next_sync_committee_tree(spec, state):
|
|||
)
|
||||
|
||||
|
||||
@with_phases([LIGHTCLIENT_PATCH])
|
||||
@with_phases([ALTAIR])
|
||||
@spec_state_test
|
||||
def test_finality_root_tree(spec, state):
|
||||
finality_branch = build_proof(state.get_backing(), spec.FINALIZED_ROOT_INDEX)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from eth2spec.test.context import (
|
||||
LIGHTCLIENT_PATCH,
|
||||
ALTAIR,
|
||||
MINIMAL,
|
||||
spec_state_test,
|
||||
with_configs,
|
||||
|
@ -20,7 +20,7 @@ from eth2spec.test.helpers.sync_committee import (
|
|||
from eth2spec.test.helpers.merkle import build_proof
|
||||
|
||||
|
||||
@with_phases([LIGHTCLIENT_PATCH])
|
||||
@with_phases([ALTAIR])
|
||||
@spec_state_test
|
||||
def test_process_light_client_update_not_updated(spec, state):
|
||||
pre_snapshot = spec.LightClientSnapshot(
|
||||
|
@ -78,7 +78,7 @@ def test_process_light_client_update_not_updated(spec, state):
|
|||
assert store.snapshot == pre_snapshot
|
||||
|
||||
|
||||
@with_phases([LIGHTCLIENT_PATCH])
|
||||
@with_phases([ALTAIR])
|
||||
@spec_state_test
|
||||
@with_configs([MINIMAL], reason="too slow")
|
||||
def test_process_light_client_update_timeout(spec, state):
|
||||
|
@ -143,7 +143,7 @@ def test_process_light_client_update_timeout(spec, state):
|
|||
assert store.snapshot.header == update.header
|
||||
|
||||
|
||||
@with_phases([LIGHTCLIENT_PATCH])
|
||||
@with_phases([ALTAIR])
|
||||
@spec_state_test
|
||||
@with_configs([MINIMAL], reason="too slow")
|
||||
def test_process_light_client_update_finality_updated(spec, state):
|
||||
|
|
Loading…
Reference in New Issue