remove classic and mordor network support#9671
Merged
macfarla merged 16 commits intobesu-eth:mainfrom Feb 9, 2026
Merged
Conversation
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Contributor
|
It seems there is some more leftover code. For example everything starting with |
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Contributor
Author
|
all tests pass. also running 2 mainnet syncs on aws nodes |
Contributor
Author
53 tasks
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
jflo
approved these changes
Feb 9, 2026
chris-mercer
added a commit
to chris-mercer/besu
that referenced
this pull request
Mar 3, 2026
Reverts commit 1167c5a (PR besu-eth#9671) which removed all Ethereum Classic support from Besu. This restores: - ClassicProtocolSpecs.java: All ETC fork definitions (Classic Recovery through Spiral) - ClassicBlockProcessor.java: ECIP-1017 era-based reward calculation - ClassicDifficultyCalculators.java: 4 ETC difficulty calculators (bomb paused/delayed/removed + EIP100) - ClassicEVMs.java: ETC-specific EVM operations (Spiral: Istanbul + PUSH0) - ClassicForkPeerValidator.java: DAO fork block hash validation - classic.json: ETC mainnet genesis (chain ID 61) - mordor.json: Mordor testnet genesis (chain ID 63) - EtcHashTest.java: Epoch calculator tests (30K vs 60K) Also restores ETC code in 22 modified files: - GenesisConfigOptions: 13 Classic fork block getters - HardforkId: ClassicHardforkId enum (14 values) - EpochCalculator: Ecip1099EpochCalculator (60K epoch) - MilestoneDefinitions: Classic milestone definitions - MainnetProtocolSpecFactory: 10 Classic factory methods - ProtocolScheduleBuilder: Classic fork scheduling - BesuControllerBuilder: ClassicForkPeerValidator setup - NetworkDefinition: CLASSIC + MORDOR network entries - 7 test files with Classic test coverage ETC is a PoW chain requiring continued client support for the upcoming Olympia hard fork (ECIP-1121). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
chris-mercer
added a commit
to chris-mercer/besu
that referenced
this pull request
Mar 5, 2026
Reverts commit 1167c5a (PR besu-eth#9671) which removed all Ethereum Classic support from Besu. This restores: - ClassicProtocolSpecs.java: All ETC fork definitions (Classic Recovery through Spiral) - ClassicBlockProcessor.java: ECIP-1017 era-based reward calculation - ClassicDifficultyCalculators.java: 4 ETC difficulty calculators (bomb paused/delayed/removed + EIP100) - ClassicEVMs.java: ETC-specific EVM operations (Spiral: Istanbul + PUSH0) - ClassicForkPeerValidator.java: DAO fork block hash validation - classic.json: ETC mainnet genesis (chain ID 61) - mordor.json: Mordor testnet genesis (chain ID 63) - EtcHashTest.java: Epoch calculator tests (30K vs 60K) Also restores ETC code in 22 modified files: - GenesisConfigOptions: 13 Classic fork block getters - HardforkId: ClassicHardforkId enum (14 values) - EpochCalculator: Ecip1099EpochCalculator (60K epoch) - MilestoneDefinitions: Classic milestone definitions - MainnetProtocolSpecFactory: 10 Classic factory methods - ProtocolScheduleBuilder: Classic fork scheduling - BesuControllerBuilder: ClassicForkPeerValidator setup - NetworkDefinition: CLASSIC + MORDOR network entries - 7 test files with Classic test coverage ETC is a PoW chain requiring continued client support for the upcoming Olympia hard fork (ECIP-1121). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

PR description
Fixed Issue(s)
fixes #9461,
fixes #9462
Thanks for sending a pull request! Have you done the following?
doc-change-requiredlabel to this PR if updates are required.Locally, you can run these tests to catch failures early:
./gradlew spotlessApply./gradlew build./gradlew acceptanceTest./gradlew integrationTest./gradlew ethereum:referenceTests:referenceTests