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