Skip to content

Commit

Permalink
add todo for ChainSpecBasedSpecProviderTests
Browse files Browse the repository at this point in the history
  • Loading branch information
yerke26 committed Jan 23, 2025
1 parent 7d0ea7d commit a25830c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ public void Sepolia_loads_properly(ForkActivation forkActivation)
IReleaseSpec postCancunSpec = provider.GetSpec((2, SepoliaSpecProvider.CancunTimestamp));

VerifyCancunSpecificsForMainnetAndHoleskyAndSepolia(postCancunSpec);
// TODO: add VerifyPragueSpecifics
}

public static IEnumerable<TestCaseData> HoleskyActivations
Expand Down Expand Up @@ -192,6 +193,7 @@ public void Holesky_loads_properly(ForkActivation forkActivation)

IReleaseSpec postCancunSpec = provider.GetSpec((2, HoleskySpecProvider.CancunTimestamp));
VerifyCancunSpecificsForMainnetAndHoleskyAndSepolia(postCancunSpec);
// TODO: add VerifyPragueSpecifics
// because genesis time for holesky is set 5 minutes before the launch of the chain. this test fails.
//GetTransitionTimestamps(chainSpec.Parameters).Should().AllSatisfy(
// t => ValidateSlotByTimestamp(t, HoleskySpecProvider.GenesisTimestamp).Should().BeTrue());
Expand Down Expand Up @@ -442,6 +444,7 @@ public void Mainnet_loads_properly(ForkActivation forkActivation)
GetTransitionTimestamps(chainSpec.Parameters).Should().AllSatisfy(
static t => ValidateSlotByTimestamp(t, MainnetSpecProvider.BeaconChainGenesisTimestampConst).Should().BeTrue());
IReleaseSpec postCancunSpec = provider.GetSpec(MainnetSpecProvider.CancunActivation);
// TODO: add VerifyPragueSpecifics
VerifyCancunSpecificsForMainnetAndHoleskyAndSepolia(postCancunSpec);
}

Expand Down

0 comments on commit a25830c

Please sign in to comment.