Repository navigation
fix(dashmate): run Dash Core v24 by default - #5827
Conversation
New configs use dashpay/dashd:24. The 5.0.4 migration moves mainnet and testnet configs, and the local preset, from the stock dashpay/dashd:23 image to dashpay/dashd:24. Any other image is left as the operator set it. Existing local and devnet nodes stay on v23, because Core v24 drops the sporks a v23 node stored. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
@shumkov here's the dashmate Core v24 PR, ready for review. It targets
Open question: do you want a 5.0.4 release cut from 🤖 Posted autonomously by Claude on behalf of pasta. |
|
✅ Final review complete — no blockers (commit 0cdec98) · triage: normal |
A node `setup local` adds to an existing local network now runs the Core image of the nodes already there, not the v24 preset: Core v24 next to v23 peers marks them bad in DKG and never asks them for sporks. The 5.0.4 migration now pins its target image as a literal. The idempotency test now runs the migration body twice, and docs/update.md says how to move a local network or devnet to Core v24. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…o Core v24 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
One addition since the first comment, after an internal review (head
The full dashmate unit suite passes (896, 0 failing) and lint has 0 errors. The known limits are in the description. 🤖 Posted autonomously by Claude on behalf of pasta. |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
Static verification of head 0cdec98 found no blocking defects and one documentation clarification for devnet operators. Current CI reports passing Dashmate tests, lint, Docker builds, functional tests, and all three Dashmate E2E jobs; three Platform test-suite jobs remain pending. No local builds or tests were run.
💬 1 nitpick(s)
Review provenance
Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)
- Triage:
normalbygpt-6.1-sol(effort low) — The change introduces config migration and local-network image inheritance logic with meaningful compatibility cases, but the diff does not itself modify an intricate critical surface. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort xhigh); agentphase1-reviewer - Phase 1 model:
muse-spark-1.3-contributor— not quota-gated; passed overgemini-3.8-flash-high(antigravity quota lookup failed),glm-5.3-flash(not used above high effort; tier asks max) - Fresh verifier:
gpt-6.1-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.1-sol— general (completed, effort high); agentphase2-reviewer,gpt-6.1-sol— architecture-layering (completed, effort high); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify each finding against the current code and only fix it if needed.
In `packages/dashmate/docs/update.md`:
- [NITPICK] packages/dashmate/docs/update.md:90-95: Explain which config devnet operators should use for spork commands
This paragraph covers both local networks and devnets, but every command below selects `local_seed`, which is created by local setup rather than being a standard devnet configuration. Add a sentence telling devnet operators to replace `--config=local_seed` with their own node configuration holding the network's spork private key. This makes the recovery instructions usable for both audiences named in the paragraph.
| Local networks and devnets keep their nodes on Core v23, since a Core v24 node discards the sporks a v23 node stored and does not request them from v23 peers. Move such a network as a whole: set `core.docker.image` on every node, restart them, then sign the sporks again on a node holding the spork key (any node of a local network): | ||
|
|
||
| ```bash | ||
| $ dashmate core cli "sporkupdate SPORK_2_INSTANTSEND_ENABLED 0" --config=local_seed | ||
| $ dashmate core cli "sporkupdate SPORK_17_QUORUM_DKG_ENABLED 0" --config=local_seed | ||
| $ dashmate core cli "sporkupdate SPORK_19_CHAINLOCKS_ENABLED 0" --config=local_seed |
There was a problem hiding this comment.
💬 Nitpick: Explain which config devnet operators should use for spork commands
This paragraph covers both local networks and devnets, but every command below selects local_seed, which is created by local setup rather than being a standard devnet configuration. Add a sentence telling devnet operators to replace --config=local_seed with their own node configuration holding the network's spork private key. This makes the recovery instructions usable for both audiences named in the paragraph.
source: muse-spark-1.3-contributor (phase1-reviewer: general)
|
Bots are done — your move: post |
Issue being fixed or feature implemented
Dashmate 5.0.3 still runs
dashpay/dashd:23. Once Core's V24 deployment activates, Core v23 rejects the network's blocks, so nodes on the default image fall off the chain. Today operators have to override the image themselves.What was done?
dashpay/dashd:24.5.0.4config migration moves mainnet and testnet configs, and thelocalpreset, from the image releases have stored since 3.0.1 (exactlydashpay/dashd:23) todashpay/dashd:24.dashpay/dashd:24.0.0,23.1.10,latest, digest pins,docker.io/…and private registries.setup localgives a node it adds to an existing local network the Core image of the nodes already there, not the v24 preset, so one network never mixes v23 and v24.docs/config/core.mdlists the new default.docs/update.mdexplains how to move a local network or devnet to v24: all nodes at once, then re-sign sporks; orgroup reset --hardplussetup local.What operators see
After installing the release, the first dashmate command migrates the config. Then:
On 5.0.3, the interim workaround is still:
A node that already did this keeps its
24.0.0pin after this release;dashmate config set core.docker.image dashpay/dashd:24returns it to the floating tag.How Has This Been Tested?
coreImageMigration.spec.js::23to:24;:23;:24;dash.conffor a mainnet/testnet masternode meets Core v24's startup rules:blockfilterindex=basic,peerblockfilters=1, noblocksonly,deprecatedrpc=service, andgetspecialtxes/getdeploymentinfoin Drive's RPC whitelist.migrateConfigFileFactory.spec.jsfixture updated for the new default; 18/18 pass.getLocalGroupConfigs.spec.js: a new network gets v24, and nodes added to a v23 network get v23. The test fails with the fix removed.dashd:23todashpay/dashd:24.0.0with the override above. The registry index digestsha256:50133644…is the same one:24points at today.Known limits
reset --hard --config <one local_N node>resets that single node to the code default, now v24, while its peers stay on v23. That reset already discarded the node's keys; prefergroup reset --hard.v5.1-devgains a migration keyed above5.0.4before this is merged forward, configs stamped by those dev builds would skip this one.Breaking Changes
None. Nodes on the stock image move to Core v24 when they restart.
Checklist:
structure.rs, regeneratedgrovedb-structure.json, and checked the structure viewer link posted on this pull requestFor repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
0cdec98/self-revieweddashmate(packages/dashmate/configs/defaults/getBaseConfigFactory.js,packages/dashmate/configs/getConfigFileMigrationsFactory.js,packages/dashmate/docs/config/core.mdand 6 more) — ktechmidas or shumkovWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.