run historical_summary ef tests for 4844

This commit is contained in:
realbigsean 2023-01-12 11:15:33 -05:00
parent 63da81de62
commit c705be202b
No known key found for this signature in database
GPG Key ID: B372B64D866BF8CC
2 changed files with 5 additions and 5 deletions

View File

@ -64,9 +64,9 @@ pub fn previous_fork(fork_name: ForkName) -> ForkName {
match fork_name {
ForkName::Base => ForkName::Base,
ForkName::Altair => ForkName::Base,
ForkName::Merge => ForkName::Altair, // TODO: Check this when tests are released..
ForkName::Capella => ForkName::Merge, // TODO: Check this when tests are released..
ForkName::Eip4844 => ForkName::Capella, // TODO: Check this when tests are released..
ForkName::Merge => ForkName::Altair,
ForkName::Capella => ForkName::Merge,
ForkName::Eip4844 => ForkName::Capella,
}
}

View File

@ -386,8 +386,8 @@ mod ssz_static {
#[test]
fn historical_summary() {
SszStaticHandler::<HistoricalSummary, MinimalEthSpec>::capella_only().run();
SszStaticHandler::<HistoricalSummary, MainnetEthSpec>::capella_only().run();
SszStaticHandler::<HistoricalSummary, MinimalEthSpec>::capella_and_later().run();
SszStaticHandler::<HistoricalSummary, MainnetEthSpec>::capella_and_later().run();
}
}