mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-31 21:05:24 +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,
|
||||
)
|
||||
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,
|
||||
build_empty_block_for_next_slot,
|
||||
fill_aggregate_attestation,
|
||||
get_crosslink_committee,
|
||||
get_valid_attestation,
|
||||
next_epoch,
|
||||
next_slot,
|
||||
apply_empty_block
|
||||
)
|
||||
|
||||
|
||||
|
@ -4,10 +4,7 @@ from eth2spec.phase0.spec import (
|
||||
get_current_epoch,
|
||||
is_active_validator,
|
||||
)
|
||||
from eth2spec.test.helpers import (
|
||||
next_epoch,
|
||||
)
|
||||
|
||||
from eth2spec.test.helpers.state import next_epoch
|
||||
from eth2spec.test.context import spec_state_test
|
||||
|
||||
|
||||
|
@ -5,14 +5,16 @@ from eth2spec.phase0.state_transition import (
|
||||
state_transition,
|
||||
)
|
||||
from .context import spec_state_test
|
||||
from .helpers import (
|
||||
build_empty_block_for_next_slot,
|
||||
from .helpers.state import (
|
||||
next_epoch,
|
||||
apply_empty_block
|
||||
)
|
||||
from .helpers.block import build_empty_block_for_next_slot
|
||||
from .helpers.attestations import (
|
||||
fill_aggregate_attestation,
|
||||
get_current_epoch,
|
||||
get_epoch_start_slot,
|
||||
get_valid_attestation,
|
||||
next_epoch,
|
||||
apply_empty_block
|
||||
)
|
||||
|
||||
|
||||
|
@ -19,18 +19,20 @@ from eth2spec.phase0.spec import (
|
||||
from eth2spec.phase0.state_transition import (
|
||||
state_transition,
|
||||
)
|
||||
from .helpers import (
|
||||
from .helpers.state import (
|
||||
get_balance,
|
||||
build_empty_block_for_next_slot,
|
||||
get_state_root,
|
||||
get_valid_attestation,
|
||||
get_valid_attester_slashing,
|
||||
get_valid_proposer_slashing,
|
||||
get_valid_transfer,
|
||||
prepare_state_and_deposit,
|
||||
get_state_root
|
||||
)
|
||||
from .helpers.transfers import get_valid_transfer
|
||||
from .helpers.block import build_empty_block_for_next_slot
|
||||
from .helpers.keys import (
|
||||
privkeys,
|
||||
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user