Repository navigation
v2.0.0.0
⚠️ Known issues: upgrade to v2.2.2.0
Syncing, block validation and mining work. Two things don't:
- Snap sync is off by default. The bundled
classic.cfgandmordor.cfgdisableSync.FastSyncandSync.SnapSyncand ship no pivot, so the node full-syncs from genesis. Snap sync works if you pass a recent pivot (--Sync.PivotNumber,--Sync.PivotHash,--Sync.PivotTotalDifficulty) and turn both flags on. Fixed in v2.1.0.0. - Two startup checks don't run, because Nethermind 2.0 removed the plugin hooks they ran from. An invalid mining configuration is not rejected at startup, and block logs show the reward as
ETHinstead ofETC. Fixed in v2.2.0.0.
Before upgrading, read the EtcMining.Coinbase breaking change in v2.2.0.0.
This release moves the plugin to Nethermind 2.0.0 and updates the network's peer discovery. It covers everything since the last stable release, v1.39.1.1, including the 1.39.2 and 1.39.3 updates.
⚠️ Requires Nethermind 2.0.0
Nethermind 2.0.0 changed block numbers from signed to unsigned integers across its plugin API, so this build does not load on Nethermind 1.x. The same change hits 1.x plugin builds going the other way. Upgrade the node and the plugin together, or use one of the bundles below, which ship both.
ETC consensus is unchanged. On mainnet the node reports the same current fork ID as core-geth, 0xbe46d57c (Spiral).
Changes
Nethermind 2.0.0 (#14)
- Every block-number value in the plugin is now unsigned, as in Nethermind 2.0.0. That covers the ECIP-1017 rewards, ECIP-1099 epochs, the difficulty bomb, mining and the chainspec parameters.
- Two difficulty-bomb branches relied on signed arithmetic. They now use explicit comparisons and have their own tests. Mainnet results are unchanged.
- Chainspec engine parameters now use the same System.Text.Json converters as upstream. The plugin no longer depends on
Newtonsoft.Json.
Bootnodes and DNS discovery (#15)
- The bootnodes in
classic.jsonandmordor.jsonmatch the ones core-geth ships. Each one was checked and is reachable. Network.DiscoveryDnsnow points atetcdisco.netfor both classic and mordor. It serves the same ENR tree, signed with the same key, as theblockd.infodomain it replaces.
Nethermind 1.39.2 and 1.39.3
- Rebuilt against both upstream patch releases. They were published as pre-releases.
Release automation (#13, #16)
- The auto-update job no longer assumes the plugin revision is always
.0. - The auto-update job no longer overwrites an open auto-update branch that already has manual fixes on it.
Verification
- 107 unit tests passing.
- Integration test against Nethermind 2.0.0: 10/10 across the Manual, Remote and Local mining modes.
Nethermind 2.0.0 Release Notes
Built from plugin ref main (commit 67afbb87).
Bundles include Nethermind from NethermindEth/nethermind@2.0.0.
Built from Nethermind 2.0.0 @ bec830cd