Update Sepolia AncientBarriers to 1450409 per EIP-3675 for pre-merge PoW history expiry#8829
Closed
Copilot wants to merge 3 commits into
Closed
Update Sepolia AncientBarriers to 1450409 per EIP-3675 for pre-merge PoW history expiry#8829Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
…PoW history expiry Co-authored-by: MarekM25 <9356351+MarekM25@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Expire pre-merge PoW history in Sepolia by updating AncientReceiptsBarrier and AncientBodiesBarrier to 1450409 (sepolia.json only)
Update Sepolia AncientBarriers to 1450409 per EIP-3675 for pre-merge PoW history expiry
Jun 22, 2025
MarekM25
reviewed
Jun 22, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request updates the Sepolia configuration to properly expire pre-merge PoW block history by setting the barriers to 1450409 as required by EIP-3675.
- Updated barrier values in sepolia.json for AncientReceiptsBarrier and AncientBodiesBarrier.
- Adjusted the test expectation in ConfigFilesTests.cs to align with the configuration update.
- Left sepolia_archive.json unchanged per the requirements.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/Nethermind/Nethermind.Runner/configs/sepolia.json | Updated barrier values for expiring PoW history. |
| src/Nethermind/Nethermind.Runner.Test/ConfigFilesTests.cs | Updated test expectations to match new barrier values. |
This was referenced Jun 23, 2025
Contributor
|
Closed in favour of #8835 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates Sepolia's
AncientReceiptsBarrierandAncientBodiesBarrierfrom1450408to1450409to 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
AncientReceiptsBarrierandAncientBodiesBarrierfrom1450408→1450409EIP-3675 Reference
Per EIP-3675:
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
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:
3.134.214.169/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet block)3.146.117.118/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet block)3.146.213.65/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet block)34.65.173.88/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet block)34.65.205.244/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet block)65.108.70.101/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/cdbcba88841a4443911ef5eb6d84ca31/.p(packet 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.