nethermind icon indicating copy to clipboard operation
nethermind copied to clipboard

Update Sepolia AncientBarriers to 1450409 per EIP-3675 for pre-merge PoW history expiry

Open Copilot opened this issue 8 months ago • 1 comments

Summary

Updates Sepolia's AncientReceiptsBarrier and AncientBodiesBarrier from 1450408 to 1450409 to properly expire all pre-merge PoW block history including the terminal PoW block, as per EIP-3675.

Fixes #8629

Background

The current Sepolia configuration keeps the terminal PoW block (1450408) by setting barriers to 1450408. However, barriers define the "first block kept", not the "last block pruned". To expire all PoW block history including the terminal block, the barriers should be set to the first PoS block (1450409).

Changes

  • sepolia.json: Updated AncientReceiptsBarrier and AncientBodiesBarrier from 14504081450409
  • ConfigFilesTests.cs: Updated test expectation to match the new barrier value
  • sepolia_archive.json: Intentionally left unchanged as requested (barriers already removed)

EIP-3675 Reference

Per EIP-3675:

  • Terminal PoW block: Block 1450408 (last PoW block that satisfies terminal total difficulty)
  • Transition block: Block 1450409 (first PoS block)

This change ensures complete PoW history pruning up to and including the terminal PoW block 1450408, retaining only the PoS transition block 1450409 and onwards.

Testing

  • ✅ JSON configuration validation passes
  • ✅ Build verification successful
  • ✅ Configuration test updated to match new expected value
  • ✅ Confirmed no unintended changes to other config files

[!WARNING]

Firewall rules blocked me from connecting to one or more addresses

I tried to connect to the following addresses, but was blocked by firewall rules:

  • 138.197.51.181
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
  • 138.68.123.152
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 139.59.49.206
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/15581f1aed1a40fd88c26b4212f0db09/.p (packet block)
  • 146.190.13.128
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
  • 157.90.35.166
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
  • 170.64.250.88
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/15581f1aed1a40fd88c26b4212f0db09/.p (packet block)
  • 178.128.136.233
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 18.138.108.67
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/36c7b2cb8c9440de91be27d86d68bc9b/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
  • 184.72.129.189
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/36c7b2cb8c9440de91be27d86d68bc9b/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 3.146.117.118
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 3.146.213.65
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/36c7b2cb8c9440de91be27d86d68bc9b/.p (packet block)
  • 3.209.45.79
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/36c7b2cb8c9440de91be27d86d68bc9b/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
  • 3.231.11.52
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
  • 34.65.175.185
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/15581f1aed1a40fd88c26b4212f0db09/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 34.65.229.245
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
  • 52.15.54.8
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
  • 54.198.153.150
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/d3c76e8251c2473ea696431945ea15b8/.p (packet block)
  • 65.108.70.101
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/36c7b2cb8c9440de91be27d86d68bc9b/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/c30b1dc9d7554e49953930545b6a6a80/.p (packet block)
    • Triggering command: /home/REDACTED/.dotnet/dotnet exec /home/REDACTED/work/nethermind/nethermind/src/Nethermind/artifacts/bin/Nethermind.Runner.Test/debug/Nethermind.Runner.Test.dll --internal-msbuild-node /tmp/23eee7b86c394d62b3c7d092804b3e24/.p (packet block)
  • aka.ms
    • Triggering command: curl -I -sSL --retry 5 --retry-delay 2 --connect-timeout 15 REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot avatar Jun 23 '25 09:06 Copilot

Remove dotnet-install.sh + close other PRs, you open the next one

Removed the unrelated dotnet-install.sh file as requested. (de85549)

Copilot avatar Jun 23 '25 10:06 Copilot