mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-08 00:34:37 +00:00
update remaining imports
This commit is contained in:
parent
e07f1bc98f
commit
5c3e760c28
@ -10,15 +10,17 @@ from eth2spec.phase0.state_transition import (
|
|||||||
state_transition,
|
state_transition,
|
||||||
)
|
)
|
||||||
from eth2spec.test.context import spec_state_test
|
from eth2spec.test.context import spec_state_test
|
||||||
from eth2spec.test.helpers import (
|
from eth2spec.test.helpers.state import (
|
||||||
|
next_epoch,
|
||||||
|
next_slot,
|
||||||
|
apply_empty_block
|
||||||
|
)
|
||||||
|
from eth2spec.test.helpers.attestations import (
|
||||||
add_attestation_to_state,
|
add_attestation_to_state,
|
||||||
build_empty_block_for_next_slot,
|
build_empty_block_for_next_slot,
|
||||||
fill_aggregate_attestation,
|
fill_aggregate_attestation,
|
||||||
get_crosslink_committee,
|
get_crosslink_committee,
|
||||||
get_valid_attestation,
|
get_valid_attestation,
|
||||||
next_epoch,
|
|
||||||
next_slot,
|
|
||||||
apply_empty_block
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,10 +4,7 @@ from eth2spec.phase0.spec import (
|
|||||||
get_current_epoch,
|
get_current_epoch,
|
||||||
is_active_validator,
|
is_active_validator,
|
||||||
)
|
)
|
||||||
from eth2spec.test.helpers import (
|
from eth2spec.test.helpers.state import next_epoch
|
||||||
next_epoch,
|
|
||||||
)
|
|
||||||
|
|
||||||
from eth2spec.test.context import spec_state_test
|
from eth2spec.test.context import spec_state_test
|
||||||
|
|
||||||
|
|
||||||
|
@ -5,14 +5,16 @@ from eth2spec.phase0.state_transition import (
|
|||||||
state_transition,
|
state_transition,
|
||||||
)
|
)
|
||||||
from .context import spec_state_test
|
from .context import spec_state_test
|
||||||
from .helpers import (
|
from .helpers.state import (
|
||||||
build_empty_block_for_next_slot,
|
next_epoch,
|
||||||
|
apply_empty_block
|
||||||
|
)
|
||||||
|
from .helpers.block import build_empty_block_for_next_slot
|
||||||
|
from .helpers.attestations import (
|
||||||
fill_aggregate_attestation,
|
fill_aggregate_attestation,
|
||||||
get_current_epoch,
|
get_current_epoch,
|
||||||
get_epoch_start_slot,
|
get_epoch_start_slot,
|
||||||
get_valid_attestation,
|
get_valid_attestation,
|
||||||
next_epoch,
|
|
||||||
apply_empty_block
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,18 +19,20 @@ from eth2spec.phase0.spec import (
|
|||||||
from eth2spec.phase0.state_transition import (
|
from eth2spec.phase0.state_transition import (
|
||||||
state_transition,
|
state_transition,
|
||||||
)
|
)
|
||||||
from .helpers import (
|
from .helpers.state import (
|
||||||
get_balance,
|
get_balance,
|
||||||
build_empty_block_for_next_slot,
|
get_state_root
|
||||||
get_state_root,
|
)
|
||||||
get_valid_attestation,
|
from .helpers.transfers import get_valid_transfer
|
||||||
get_valid_attester_slashing,
|
from .helpers.block import build_empty_block_for_next_slot
|
||||||
get_valid_proposer_slashing,
|
from .helpers.keys import (
|
||||||
get_valid_transfer,
|
|
||||||
prepare_state_and_deposit,
|
|
||||||
privkeys,
|
privkeys,
|
||||||
pubkeys,
|
pubkeys,
|
||||||
)
|
)
|
||||||
|
from .helpers.attester_slashings import get_valid_attester_slashing
|
||||||
|
from .helpers.proposer_slashings import get_valid_proposer_slashing
|
||||||
|
from .helpers.attestations import get_valid_attestation
|
||||||
|
from .helpers.deposits import prepare_state_and_deposit
|
||||||
|
|
||||||
from .context import spec_state_test
|
from .context import spec_state_test
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user