Repository navigation
feat(platform)!: an emergency switch for funding from asset locks - #6416
Conversation
Adds `EmergencySwitch::AssetLockFunding` (id 8) to the switches of protocol version 16. While it is paused or off, every state transition funded by an asset lock is refused without a fee: creating an identity, topping one up, funding platform addresses and shielding. It is the way in from Dash Core, as `StopTransfersToCore` is the way out. The existing check in check tx and in block processing reads the new switch through `StateTransition::gating_emergency_switches`; it runs before the asset lock proof is checked, so a refused lock is not used and funds the same transition once the pause ends. The list of switches is edited in place: only protocol version 16 selects it, and that version is not released. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
📖 Book Preview built successfully. Download the preview from the workflow artifacts. Updated at 2026-12-01T01:10:00.802Z |
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
|
✅ Final review complete — no blockers (commit 6101e19) · triage: critical |
thepastaclaw
left a comment
There was a problem hiding this comment.
Final validation — Phase 1 + Phase 2
This PR adds the protocol-16 AssetLockFunding emergency switch and applies it to all four asset-lock-funded transition routes, with corresponding tests and documentation. CI has no failed code checks; policy, title, book preview, and CodeRabbit checks passed, while Kotlin build and changed-package detection remain in progress.
🟡 3 suggestion(s)
Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.
Review provenance
Source: reviewer 1: gpt-6.2-astra (agent: phase2-reviewer, role: general); reviewer 2: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 3: gpt-6.2-astra (agent: phase2-reviewer, role: architecture-layering); reviewer 4: gpt-6.2-astra (agent: phase2-reviewer, role: platform-versioning); reviewer 5: gpt-6.2-astra (agent: phase2-reviewer, role: rust-quality); reviewer 6: gpt-6.2-astra (agent: phase2-reviewer, role: security-auditor); reviewer 7: muse-spark-1.3-contributor (agent: phase1-reviewer, role: rust-quality); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
criticalbygpt-6.2-sol(effort low) — This change modifies consensus-critical state-transition gating for asset-lock-funded credit creation in rs-dpp and rs-drive-abci, directly affecting funds entering Platform and the validity/refusal behavior of transactions. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort xhigh); agentphase1-reviewer,muse-spark-1.3-contributor— rust-quality (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) - Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
- Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-astra— general (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— architecture-layering (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— platform-versioning (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— rust-quality (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— security-auditor (completed, effort high); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `packages/rs-dpp/src/state_transition/emergency_switches.rs`:
- [SUGGESTION] packages/rs-dpp/src/state_transition/emergency_switches.rs:582-598: Pool-funded identity transitions can be misclassified without a failing test
Impact: A future edit could classify identity creation or top-ups from the shielded pool as asset-lock funded and refuse users spending credits already on Platform while the switch is paused.
The new negative assertions cover `ShieldFromIdentity` and the address-funded identity routes, but `IdentityCreateFromShieldedPool` and `IdentityTopUpFromShieldedPool` are only checked for the `ShieldedPools` switch in the broader fixture list. Moving either variant into the `true` arm of `is_funded_by_an_asset_lock` would still compile and would not fail the current tests. Add the existing pool-funded identity fixtures to the negative assertions, or assert their exact switch sets, to pin that they remain exempt from `AssetLockFunding`.
- [SUGGESTION] packages/rs-dpp/src/state_transition/emergency_switches.rs:178-185: Address funding has conflicting asset-lock-proof classifications
Impact: Callers of `StateTransition::optional_asset_lock_proof()` see `None` for `AddressFundingFromAssetLock` even though the new emergency-switch classifier treats it as asset-lock funded.
The new `is_funded_by_an_asset_lock` match creates a second definition of which top-level transitions carry an asset-lock proof: the existing `OptionallyAssetLockProved for StateTransition` delegates only for identity creation, identity top-up, and shielding from an asset lock. This already makes the recheck path skip its dedicated asset-lock unspent/balance verification for address funding, and any future generic caller can make the same misclassification. Delegate the accessor for `AddressFundingFromAssetLock` and derive the emergency-switch gate from the accessor, while restructuring recheck so mixed-input address funding still performs both proof validation and address balance/nonce validation.
In `book/src/architecture/emergency-switches.md`:
- [SUGGESTION] book/src/architecture/emergency-switches.md:88-92: The operator guide says mempool refusal precedes all proof checks
Impact: During first-time `check_tx` admission, a malformed asset-lock proof can produce a structure error instead of error 41400 even though the guide says the switch is checked first.
Block processing checks the emergency switch before basic structure validation, but `FirstTimeCheck` runs `validate_basic_structure` before `validate_emergency_switches`; `AddressFundingFromAssetLock` explicitly validates the asset-lock proof structure in that earlier stage, and identity funding routes do the same through their basic-structure validators. Update this documentation to state the guarantee common to both paths—that refusal does not charge a fee or consume the lock—while noting that first-time mempool admission may inspect and reject proof structure before returning the switch refusal.
|
Bots are done — your move: post |
…ere check tx reads the switches The pool-funded identity transitions are now asserted to stay outside `AssetLockFunding`, and the gate is asserted to agree with `required_asset_lock_balance_for_processing_start`, the function that already says which transitions are asset lock transactions. The book no longer says the switch is read before the proof is: on first admission check tx validates structure, nonces, address inputs and the signature first, and a gated transition that fails one of those gets that error. Neither refusal is charged or uses the lock. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
Re-review — Final validation — Phase 1 + Phase 2
New on this head: This incremental head adds cross-check assertions for asset-lock transition classification, covers all shielded transition fixtures, and clarifies the emergency-switch operator guide. The book preview passed; the Kotlin SDK build and review checks are still in progress, with no failed code checks reported.
🟡 1 suggestion(s)
Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.
Review provenance
Source: reviewer 1: gpt-6.2-astra (agent: phase2-reviewer, role: general); reviewer 2: gpt-6.2-astra (agent: phase2-reviewer, role: architecture-layering); reviewer 3: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 4: gpt-6.2-astra (agent: phase2-reviewer, role: platform-versioning); reviewer 5: muse-spark-1.3-contributor (agent: phase1-reviewer, role: rust-quality); reviewer 6: gpt-6.2-astra (agent: phase2-reviewer, role: rust-quality); reviewer 7: gpt-6.2-astra (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
criticalbygpt-6.2-sol(effort low) — The change modifies consensus-critical state-transition admission and gates creation of Platform credits backed by Core asset locks, directly affecting funds movement inStateTransition::gating_emergency_switchesand protocol-version switch dispatch. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort xhigh); agentphase1-reviewer,muse-spark-1.3-contributor— rust-quality (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) - Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
- Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-astra— general (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— architecture-layering (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— platform-versioning (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— rust-quality (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— security-auditor (completed, effort high); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `book/src/architecture/emergency-switches.md`:
- [SUGGESTION] book/src/architecture/emergency-switches.md:163-167: A paused top-up can return 41400 before its asset-lock signature is checked
Impact: A client submitting an identity top-up with an invalid one-time asset-lock signature can receive 41400 during a pause instead of the signature error implied by this guide.
The wording overstates the checks completed before the emergency-switch decision. For `IdentityTopUp`, first-time admission retrieves the identity but does not verify an identity-key signature; the switch is checked before `transform_into_action`, where the asset-lock proof and its one-time signature are validated. Qualify “signature” as the identity-key signature check, when applicable, and distinguish it from the later asset-lock signature verification.
|
Bots are done — your move: post |
… emergency switches Only the signature of an identity key comes before the switches. An asset lock's proof and the signature of its one-time key, like a shielded bundle's proof, are verified after, so a gated transition that would fail there gets 41400 while a switch refuses. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
Re-review — Final validation — Phase 1 + Phase 2
New on this head: This head contains a documentation-only clarification of the emergency-switch check ordering, distinguishing identity-key signatures from later asset-lock and shielded proof checks. The book preview passed; Kotlin SDK build/tests, PastaClaw review, and PR Hygiene remain in progress or pending, with no failed code checks reported.
🟡 1 suggestion(s)
Approved: nothing here blocks the merge. The non-blocking findings are optional: fix them forward, in this PR or a follow-up, without waiting for another review round.
Review provenance
Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: muse-spark-1.3-contributor (agent: phase1-reviewer, role: rust-quality); reviewer 3: gpt-6.2-sol (agent: phase2-reviewer, role: general); reviewer 4: gpt-6.2-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 5: gpt-6.2-sol (agent: phase2-reviewer, role: platform-versioning); reviewer 6: gpt-6.2-sol (agent: phase2-reviewer, role: rust-quality); reviewer 7: gpt-6.2-sol (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
normalbygpt-6.2-sol(effort low) — The diff changes consensus transaction gating for asset-lock-funded credit creation, a funds-entry surface, but the implementation is a small, straightforward versioned enum and exhaustive match change rather than a large or intricate alteration. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort xhigh); agentphase1-reviewer,muse-spark-1.3-contributor— rust-quality (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.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-sol— general (completed, effort high); agentphase2-reviewer,gpt-6.2-sol— architecture-layering (completed, effort high); agentphase2-reviewer,gpt-6.2-sol— platform-versioning (completed, effort high); agentphase2-reviewer,gpt-6.2-sol— rust-quality (completed, effort high); agentphase2-reviewer,gpt-6.2-sol— security-auditor (completed, effort high); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review (PastaClaw). How to work through them:
- Verify each finding against the code; fix only what is real, as narrowly as the finding.
- If a finding is wrong, decline it on its thread in one or two sentences; the bot answers once and stops.
- To defer one, link a tracking issue on its thread (or reply asking the bot to file one).
- Suggestions don't block the merge, but most are worth fixing in this PR; judge each on its merits.
- Keep the PR's scope; don't grow it to satisfy hardening suggestions.
- Carried items were raised in an earlier round: read the thread first, and don't re-fix what you already fixed, declined or deferred there. Disputed and deferred items are already handled and are not listed.
In `book/src/architecture/emergency-switches.md`:
- [SUGGESTION] book/src/architecture/emergency-switches.md:170-171: Block processing is documented as using an identity-key signature for every transition
Impact: Readers may infer that every block transition passes an identity-key signature check before emergency-switch refusal, which misstates the order for identity top-ups and address-based transitions.
The guide gives an incorrect ordering for transitions that do not use an identity-key signature: `IdentityTopUp` retrieves identity information before calling `validate_emergency_switches`, while address-based transitions likewise may have no identity-key signature step. The block implementation branches between identity-signature validation and identity retrieval before the switch check, so the sentence should qualify the signature as applicable or describe both alternatives.
|
Bots are done — your move: post |
… switches A block reads them before structure, nonces and address inputs, and after only an identity key's signature when one signs the transition. A top up or a spend from platform addresses reaches them with no signature verified. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
Re-review — Final validation — Phase 1 + Phase 2
New on this head: This head only clarifies the operator guide's description of block-processing order for emergency-switch checks, distinguishing identity-signed transitions from top-ups and platform-address spends. The book preview and policy checks passed; Kotlin SDK and review-hygiene checks remain in progress, with no failed checks reported.
🔴 0 blocking | 🟡 0 suggestion(s) | 💬 0 nitpick(s)
Review provenance
Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: gpt-6.2-astra (agent: phase2-reviewer, role: general); reviewer 3: muse-spark-1.3-contributor (agent: phase1-reviewer, role: rust-quality); reviewer 4: gpt-6.2-astra (agent: phase2-reviewer, role: architecture-layering); reviewer 5: gpt-6.2-astra (agent: phase2-reviewer, role: ffi-engineer); reviewer 6: gpt-6.2-astra (agent: phase2-reviewer, role: platform-versioning); reviewer 7: gpt-6.2-astra (agent: phase2-reviewer, role: rust-quality); reviewer 8: gpt-6.2-astra (agent: phase2-reviewer, role: security-auditor); final verifier: gpt-6.2-sol (agent: sol-verifier, role: final-verifier)
- Triage:
criticalbygpt-6.2-sol(effort low) — The change is an intricate consensus-critical gating rule in StateTransition::gating_emergency_switches that controls asset-lock-funded credit creation and therefore directly affects funds movement, with protocol-versioned enum and dispatch changes. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort xhigh); agentphase1-reviewer,muse-spark-1.3-contributor— rust-quality (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) - Single stage: Phase 1 and Phase 2 reviewed this head side by side, with no blocker gate between them (triage tier)
- Fresh verifier:
gpt-6.2-sol— final-verifier; agentsol-verifier - Phase 2 reviewers:
gpt-6.2-astra— general (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— architecture-layering (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— ffi-engineer (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— platform-versioning (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— rust-quality (completed, effort high); agentphase2-reviewer,gpt-6.2-astra— security-auditor (completed, effort high); agentphase2-reviewer
🤖 Prompt for all review comments with AI agents
These findings are from an automated code review. Verify the current code and confirm that no unresolved issues remain.
No unresolved findings remain from the prior review on this head.
|
Bots are done — your move: post |
…dsa-65-keys v5.2-dev gained the emergency switch for funding from asset locks (#6416), EmergencySwitch::AssetLockFunding, which holds id 8. The ML_DSA_65 switch this branch added held the same id, so it moves to id 9, after it: EmergencySwitch::KeyTypeMlDsa65 = 9. Neither id has shipped. Conflicts: the switch enum, its list and its names in voting/emergency_switch/mod.rs, the EmergencySwitchName type of wasm-dpp2, and the table of the book chapter. Both switches are kept in each, in id order. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Basic explanation
What this does: Adds one more emergency switch,
AssetLockFunding. Emergency switches (#6395) let the evonodes pause a Platform feature by vote, and turn it off at three quarters. This one covers the way in from Dash Core: every transaction that turns Dash locked on Core into Platform credits. While it is paused or off, each of them is refused without a fee, and the locked Dash is not used up.Value: Credits are created on Platform when a transaction shows a proof that Dash was locked on Core. If a flaw is ever found in how that proof is checked, credits could be made that no Dash stands behind, and they could then leave through withdrawals. A fix needs a release and an upgrade vote. With this switch a quarter of the evonodes can stop new credits from entering for an hour within one block, and larger shares for longer, while the fix is prepared.
StopTransfersToCorealready closes the way out; this closes the way in. Credits already on Platform keep moving.Risks: Low to medium. The rule itself is small: one new entry in a list, and one function that says which transactions are funded by an asset lock. The risk is in using it. While the switch refuses, nobody can create an identity from Core or bring new Dash to Platform; Dash already locked on Core waits. If three quarters of the evonodes turn it off, that lasts until a later protocol version turns funding back on, and no such code exists yet. A quarter of the evonodes can stop funding for one hour, once in the life of the switch. Protocol version 16 is not released, so no running network changes.
Issue being fixed or feature implemented
Follow-up to #6395 and #6410. The switches so far cover transfers to Core, platform address spends, the identity key types and the shielded pools. Nothing covered the creation of credits from asset locks, the one place where value enters Platform from outside.
What was done?
The switch.
EmergencySwitch::AssetLockFunding, id 8, appended to the enum and to the list of switches of protocol version 16. It is voted on, counted, stored and queried like every other switch; no storage, vote, query or error code is new.What it gates.
StateTransition::gating_emergency_switchesinrs-dppstays the one place that decides. A state transition is gated when it carries an asset lock proof:IdentityCreateIdentityTopUpAddressFundingFromAssetLockPlatformAddressSpendswhen it names an address as an input)ShieldFromAssetLockShieldedPools)IdentityCreateFromAddresses,IdentityTopUpFromAddresses,IdentityCreateFromShieldedPool,IdentityTopUpFromShieldedPool,ShieldFromIdentity,ShieldThe list is an exhaustive match, so a new state transition does not compile until it is put on one side.
Decisions worth a look:
Where the refusal happens. No change: the existing check in check tx and in block processing reads the new switch through the gating function. It runs before the asset lock is verified against Core and before the lock is recorded as used, so a refused transition costs nothing and the same lock funds a transition once the pause ends. On first admission check tx reads the switches after structure, nonces, address inputs and the signature of an identity key, so a gated transition that fails one of those gets that error and not 41400. The asset lock's proof and the signature of its one-time key are verified after the switches, so a transition that would fail there gets 41400 during a pause. No refusal is charged.
Before and after, for an
IdentityTopUpsent while a quarter of the evonodes have the switch flipped:StateTransitionRefusedByEmergencySwitchError(41400), namingAssetLockFundingand the block time the pause ends at. Not charged; the identity's balance is unchanged; the asset lock is unused, and the same transition is accepted after the pause.Around it:
wasm-dpp2:"assetLockFunding"added to the hand-writtenEmergencySwitchNameTypeScript type. The test from feat(platform)!: an emergency switch for the shielded pools #6410 checks every switch is named in it.architecture/emergency-switches.md: the new row and what to know before flipping it.rs-platform-version.Public interface changes
dpp::voting::emergency_switch::EmergencySwitch::AssetLockFunding. Code that matches the enum exhaustively needs an arm.8, storage key0x0008.getEmergencySwitchesreturns one more status at protocol version 16."assetLockFunding". These layers pass switch names through to Rust, so the reads and the vote accept it with no other change:sdk.voting.emergencySwitchVote({ emergencySwitch: 'assetLockFunding', flipped: true, ... }).EmergencySwitchNamegains"assetLockFunding".How Has This Been Tested?
rs-dpp(29 emergency switch tests, 2 new, 1 changed): an identity create, an identity top up and an address funding from an asset lock are each gated by this switch alone; an address funding that also names an address input by this one andPlatformAddressSpends; shielding an asset lock by this one andShieldedPools; the same transitions funded from platform addresses, from an identity or by a batch are not gated by it; of the 12 shielded transitions onlyShieldFromAssetLockis; and the gate agrees withrequired_asset_lock_balance_for_processing_start, which already names the asset lock transitions.rs-drive-abci(19 emergency switch tests, 1 new): a top up from an asset lock is accepted before the flip and the balance grows; with one of four evonodes flipped a top up from another lock is refused by the switch in check tx at both levels and in a block, with the pause end in the error and the balance unchanged; after the pause the same serialized top up is accepted, which shows the refusal left its lock unused.wasm-dpp2: the TypeScript name list covers every switch.drive(5),dash-sdk(3) andrs-sdk-ffi(7) pass unchanged.cargo clippy --all-targets --all-features --locked -- --no-deps -D warningsondpp,drive-abci,wasm-dpp2andplatform-version.Not done: no run on a live network.
Breaking Changes
Consensus changes at protocol version 16 only: a new switch exists there, and once enough evonodes flip it transitions funded by an asset lock are refused. Earlier protocol versions are untouched.
The list of switches (
EmergencySwitch::existinggeneration 0) is edited in place. It is selected only by protocol version 16, which has not been released as stable or activated on testnet or mainnet, so no shipped generation changes.#6354 (ML-DSA-65 identity keys) also appends a switch with id 8,
KeyTypeMlDsa65. Whichever of the two merges second takes id 9; the enum conflicts textually, so it cannot merge unnoticed.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 ·
6101e19/self-reviewedWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.