Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions bins/revme/src/cmd/statetest/models/spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub enum SpecName {
Berlin,
BerlinToLondonAt5,
London,
Merge,
Paris,
Shanghai,
Cancun,
Prague,
Expand All @@ -43,7 +43,7 @@ impl SpecName {
Self::Istanbul => SpecId::ISTANBUL,
Self::Berlin => SpecId::BERLIN,
Self::London | Self::BerlinToLondonAt5 => SpecId::LONDON,
Self::Merge => SpecId::MERGE,
Self::Paris => SpecId::MERGE,
Self::Shanghai => SpecId::SHANGHAI,
Self::Cancun => SpecId::CANCUN,
Self::Prague => SpecId::PRAGUE,
Expand Down
10 changes: 4 additions & 6 deletions bins/revme/src/cmd/statetest/runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,10 @@ pub fn execute_test_suite(

// post and execution
for (spec_name, tests) in unit.post {
if matches!(
spec_name,
SpecName::ByzantiumToConstantinopleAt5
| SpecName::Constantinople
| SpecName::Unknown
) {
// Constantinople was immediately extended by Petersburg.
// There isn't any production Constantinople transaction
// so we don't support it and skip right to Petersburg.
if spec_name == SpecName::Constantinople {
continue;
}

Expand Down