Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/testing/src/execution_testing/forks/forks/transition.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
BPO2,
BPO3,
BPO4,
Amsterdam,
Berlin,
Cancun,
London,
Expand Down Expand Up @@ -66,6 +67,17 @@ class BPO1ToBPO2AtTime15k(BPO1):
pass


@transition_fork(to_fork=Amsterdam, at_timestamp=15_000)
class BPO2ToAmsterdamAtTime15k(BPO2):
"""BPO2 to Amsterdam transition at Timestamp 15k."""

# TODO: We may need to adjust which BPO Amsterdam inherits from as the
# related Amsterdam specs change over time, and before Amsterdam is
# live on mainnet.

pass


@transition_fork(to_fork=BPO3, at_timestamp=15_000)
class BPO2ToBPO3AtTime15k(BPO2):
"""BPO2 to BPO3 transition at Timestamp 15k."""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,9 @@ def get_fork_scenarios(fork: Fork) -> Iterator[ParameterSet]:
],
get_fork_scenarios,
)
@pytest.mark.valid_at_transition_to("Osaka", subsequent_forks=True)
@pytest.mark.valid_at_transition_to(
"Osaka", subsequent_forks=True, until="BPO4"
)
Comment thread
fselmo marked this conversation as resolved.
Outdated
@pytest.mark.valid_for_bpo_forks()
def test_reserve_price_at_transition(
blockchain_test: BlockchainTestFiller,
Expand Down
Loading