You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ActivationHeights stops at fingerroot500; five later forks have their heights written inline #214
So behaviour is correct today. What is missing is a single place that says when each fork activates.
Why it is worth fixing
A height repeated at call sites drifts.7_338_024 appears as a literal; if the activation ever needed correcting, every occurrence would have to be found. The existing table exists precisely to stop that, and half the forks are outside it.
Nothing can enumerate the forks. Code that wants to reason about activations generally — a chain-config dump, a compatibility report, anything keying decisions off fork boundaries — can only see five of ten.
It came up designing difficulty checkpoints. A checkpoint wants to key off a known activation height, and there is no complete list to key off.
Suggested
Extend ActivationHeights with hop400, hop401, arrowhead600, arrowhead631, lovell700 for mainnet and testnet, and replace the inline literals with references. Purely mechanical, and the tests that pin current behaviour should be unchanged by it.
Worth checking testnet's values against config/testnet.conf at the same time — rustock's table has testnet activations for only the same five.
ActivationHeights has gained hop400, but the rest of the list is still absent: hop401, arrowhead600, arrowhead631 and lovell700.
Note the later upgrades do exist as RskNetworkUpgrade variants in crates/execution/src/hardfork.rs — Lovell700, Reed800 and Vetiver900 are all there and in use. So the gap is now specifically ActivationHeights in crates/core/src/config.rs lagging behind the hardfork ladder, which is a narrower and more confusing problem than when this was filed: two places describe the same schedule and they disagree.
Activity
SDL-A1 commentedon Nov 18, 2026
Partially addressed, so leaving this open.
ActivationHeightshas gainedhop400, but the rest of the list is still absent:hop401,arrowhead600,arrowhead631andlovell700.Note the later upgrades do exist as
RskNetworkUpgradevariants incrates/execution/src/hardfork.rs— Lovell700, Reed800 and Vetiver900 are all there and in use. So the gap is now specificallyActivationHeightsincrates/core/src/config.rslagging behind the hardfork ladder, which is a narrower and more confusing problem than when this was filed: two places describe the same schedule and they disagree.