From a25830c6623e1c3a3fc41b2b732a4c300d7c0fe3 Mon Sep 17 00:00:00 2001 From: yerke26 Date: Thu, 23 Jan 2025 22:45:08 +0700 Subject: [PATCH] add todo for ChainSpecBasedSpecProviderTests --- .../ChainSpecStyle/ChainSpecBasedSpecProviderTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Nethermind/Nethermind.Specs.Test/ChainSpecStyle/ChainSpecBasedSpecProviderTests.cs b/src/Nethermind/Nethermind.Specs.Test/ChainSpecStyle/ChainSpecBasedSpecProviderTests.cs index bcd2704069e..8f3a4560894 100644 --- a/src/Nethermind/Nethermind.Specs.Test/ChainSpecStyle/ChainSpecBasedSpecProviderTests.cs +++ b/src/Nethermind/Nethermind.Specs.Test/ChainSpecStyle/ChainSpecBasedSpecProviderTests.cs @@ -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 HoleskyActivations @@ -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()); @@ -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); }