Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
apply PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
ChihChengLiang committed Apr 18, 2019
1 parent af18ca9 commit 0faeb2d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
7 changes: 3 additions & 4 deletions eth2/beacon/chains/testnet/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@
from eth2.beacon.state_machines.forks.xiao_long_bao import (
XiaoLongBaoStateMachine,
)
from .constants import (
TESTNET_CHAIN_ID,
)
from eth2.beacon.state_machines.forks.serenity.configs import (
SERENITY_CONFIG,
)

from .constants import (
TESTNET_CHAIN_ID,
)

if TYPE_CHECKING:
from eth2.beacon.typing import ( # noqa: F401
Expand Down
9 changes: 8 additions & 1 deletion tests/eth2/beacon/state_machines/forks/test_fork_classes.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
import pytest
from eth2.beacon.state_machines.forks.xiao_long_bao import XiaoLongBaoStateMachine

from eth2.beacon.state_machines.forks.serenity import (
SerenityStateMachine,
)
from eth2.beacon.state_machines.forks.xiao_long_bao import (
XiaoLongBaoStateMachine,
)


@pytest.mark.parametrize(
"sm_klass",
(
SerenityStateMachine,
XiaoLongBaoStateMachine,
)
)
Expand Down

0 comments on commit 0faeb2d

Please sign in to comment.