Skip to content

Commit 4e68f8e

Browse files
committed
Resolve compilation issues for Hoodi changes
1 parent af9e54e commit 4e68f8e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Nethermind/Nethermind.Network.Test/ForkInfoTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,8 @@ public void Fork_id_and_hash_as_expected_on_chiado(long head, ulong headTimestam
175175
[TestCase(5_000_000, HoodiSpecProvider.PragueTimestamp + 100000, "0x929E24E", 0ul, "Future Prague timestamp")]
176176
public void Fork_id_and_hash_as_expected_on_hoodi(long head, ulong headTimestamp, string forkHashHex, ulong next, string description)
177177
{
178-
var loader = new ChainSpecFileLoader(new EthereumJsonSerializer(), LimboTraceLogger.Instance);
179-
ChainSpec spec = loader.LoadEmbeddedOrFromFile("../../../../Chains/hoodi.json");
178+
ChainSpecLoader loader = new ChainSpecLoader(new EthereumJsonSerializer());
179+
ChainSpec spec = loader.LoadFromFile("../../../../Chains/hoodi.json");
180180
ChainSpecBasedSpecProvider provider = new ChainSpecBasedSpecProvider(spec);
181181
Test(head, headTimestamp, KnownHashes.HoodiGenesis, forkHashHex, next, description, provider);
182182
}

src/Nethermind/Nethermind.Specs/Forks/18_Prague.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class Prague : Cancun
1111
{
1212
private static IReleaseSpec _instance;
1313

14-
protected Prague()
14+
public Prague()
1515
{
1616
Name = "Prague";
1717
IsEip2537Enabled = true;

0 commit comments

Comments
 (0)