update remaining imports

This commit is contained in:
protolambda 2019-05-15 18:58:12 +02:00
parent e07f1bc98f
commit 5c3e760c28
No known key found for this signature in database
GPG Key ID: EC89FDBB2B4C7623
4 changed files with 23 additions and 20 deletions

View File

@ -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
)

View File

@ -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

View File

@ -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
)

View File

@ -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