Skip to content

fix(dpp): compile without default features - #5498

Merged
QuantumExplorer merged 3 commits into
v5.0-devfrom
claude/nice-bohr-be5b89
Oct 20, 2026
Merged

QuantumExplorer merged 3 commits into
v5.0-devfrom
claude/nice-bohr-be5b89

Conversation

@QuantumExplorer

@QuantumExplorer QuantumExplorer commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Basic explanation

Every night a CI job builds dpp once with no optional features and then once per feature, to catch code that only compiles because some other feature happens to be on. Since 2026-04-28 the very first of those builds has failed, so the job has been red every night and the roughly 90 per-feature builds after it never ran. This PR fixes that first build and the per-feature builds that were broken behind it. It only adds or moves #[cfg(feature = ...)] gates. Every build that compiled before compiles to the same code, so nothing changes at any protocol version.

Issue being fixed or feature implemented

"Nightly: Long-running Rust tests" has failed every night for 60+ days. Only its "Check each feature (dpp)" matrix job fails; the long-running tests and the other 7 crates pass. The job runs under set -ex, and the first command is cargo check --no-default-features --package dpp --locked, which fails, so the loop over features never starts.

Before (last night's run, job 118333824992, same locally at 5303dd3):

$ cargo check --no-default-features --package dpp --locked
error[E0433]: cannot find `state_transition` in `crate`
  --> packages/rs-dpp/src/data_contract/document_type/action_fees/mod.rs:25:12
error[E0433]: cannot find `state_transition` in `crate`
  --> packages/rs-dpp/src/data_contract/document_type/action_fees/agreement/mod.rs:25:12
error[E0433]: cannot find `state_transition` in `crate`
  --> packages/rs-dpp/src/shielded/sighash.rs:16:12
error[E0433]: cannot find `state_transition` in `crate`
  --> packages/rs-dpp/src/shielded/sighash.rs:17:12
error[E0433]: cannot find `state_transition` in `crate`
  --> packages/rs-dpp/src/shielded/sighash.rs:18:12
warning: unused import: `crate::address_funds::PlatformAddress`
 --> packages/rs-dpp/src/identity/identity.rs:1:5
warning: unused import: `AddressNonce`
 --> packages/rs-dpp/src/identity/identity.rs:4:22
error: could not compile `dpp` (lib) due to 5 previous errors; 2 warnings emitted

Once that passed, the per-feature loop hit two more kinds of failure:

$ cargo check --no-default-features -p dpp --features validation        # also json-conversion, data-contract-json-conversion
error[E0433]: cannot find `state_transition` in `crate`
 --> packages/rs-dpp/src/serialization/json/safe_fields.rs:8:12   (and :11, :12)

$ cargo check --no-default-features -p dpp --features serde-conversion  # also every *-serde/-value/-cbor-conversion cut
error[E0433]: cannot find `json` in `serialization`
  --> packages/rs-dpp/src/tokens/token_event.rs:14:27              (and :390, :396)
error[E0433]: cannot find `json_safe_u128_content` in `serialization`
  --> packages/rs-dpp/src/data_contract/document_type/index/mod.rs:257:24
error[E0433]: cannot find `json_safe_option_u64` in `serialization`
  --> packages/rs-dpp/src/data_contract/associated_token/token_configuration_item.rs:178:44   (and json_safe_u64 at :206)
error[E0277]: the trait bound `[u8; 64]: serde::Serialize` is not satisfied
  --> packages/rs-dpp/src/shielded/mod.rs:249:12                   (SerializedAction::spend_auth_sig)
error[E0277]: the trait bound `[u8; 64]: serde::Serialize` is not satisfied
  --> packages/rs-dpp/src/tokens/token_payment_info/v1/mod.rs:31:12  (TokenShieldedPayment::binding_signature)

After:

$ cargo check --no-default-features --package dpp --locked
    Finished `dev` profile [unoptimized + debuginfo] target(s)

and every sampled per-feature cut (listed under testing) finishes with 0 errors and 0 warnings.

What was done?

Gated behind state-transitions (the items that use state transition types):

  • shielded::sighash and its pub use re-exports. Every function in it builds a sighash preimage for a shielded state transition, and its only in-crate callers are shielded::builder (needs shielded-client, which implies state-transitions) and state_transition.
  • DocumentActionFees::action_fee and DocumentActionFeeAgreement::for_document_type_action (both take a DocumentTransitionActionType), plus the imports only they use.
  • The JsonSafeFields markers for DocumentBaseTransition, TokenBaseTransition, DocumentTransition, TokenTransition and BatchedTransition, with their imports.
  • The PlatformAddress and AddressNonce imports in identity/identity.rs, used only by the already-gated Identity::new_with_input_addresses_and_keys.

Serde without json (serde-conversion on, json-conversion off):

  • serialization::json and the json_safe_* re-exports now compile under serde-conversion instead of json-conversion. Code gated on serde-conversion (the TokenEvent deserializer, the ContestedIndexFieldMatch and TokenConfigurationChangeItem reprs) already names these helpers, and they need only serde and serde_json, which are always dependencies. safe_fields / JsonSafeFields stay under json-conversion.
  • SerializedAction::spend_auth_sig and TokenShieldedPayment::binding_signature get #[cfg_attr(all(feature = "serde-conversion", not(feature = "json-conversion")), serde(with = "crate::serialization::serde_bytes"))]. With json-conversion on, #[json_safe_fields] already adds exactly this attribute and the new one evaluates to nothing. The same attribute is on the 22 [u8; 64] binding-signature fields of the shielded transitions and the batched token-pool transitions, which break the same way once state-transitions is on too (serde-conversion,state-transitions).

Why behaviour cannot change: before this PR dpp failed to compile whenever state-transitions was off, and whenever serde-conversion was on without json-conversion. In every build that did compile, each new #[cfg(feature = "state-transitions")] and #[cfg(feature = "serde-conversion")] is true, and the two new field attributes are false. So those builds compile the same code as before. Every crate outside dpp that uses a newly gated item enables state-transitions itself: drive (state-transitions), drive-abci (abci), rs-sdk (dash-sdk-features and client, both reaching it through state-transition-signing / client), wasm-dpp2 (state-transitions). No consensus code, no versioned method and no serialization format is touched.

How Has This Been Tested?

Local cargo check --no-default-features -p dpp --locked, one feature at a time, as the nightly loop runs them:

features before after
(none) 5 errors, 2 warnings ok, 0 warnings
state-transitions, shielded-client, client, all_features, abci not reached ok, 0 warnings
validation, json-conversion, data-contract-json-conversion not reached (3 errors once reached) ok, 0 warnings
serde-conversion, value-conversion, data-contract-{serde,value,cbor}-conversion, identity-serde-conversion, state-transition-serde-conversion not reached (12 errors once reached) ok, 0 warnings
serde-conversion,state-transitions, value-conversion,state-transitions, json-conversion,state-transitions (combined cuts, not in the nightly loop) 75 errors in the first ok, 0 warnings

cargo fmt --all -- --check is clean. "Nightly: Long-running Rust tests" was dispatched on this branch to run the full per-feature loop: https://github.com/dashpay/platform/actions/runs/39390569837

Side note: RUSTFLAGS="-D warnings" in the workflow

The check step sets RUSTFLAGS="-D warnings" as a plain shell variable without export, so cargo never sees it and warnings have not been errors in this job since #1783. This PR does not change that. To turn it on:

  • Use export RUSTFLAGS="--cfg tokio_unstable -D warnings", not just -D warnings. An environment RUSTFLAGS replaces the [target.'cfg(all())'] rustflags = ["--cfg", "tokio_unstable"] from .cargo/config.toml instead of adding to it, and drive-abci checks tokio_unstable.
  • First fix the one warning the other crates emit today: last night's dapi-grpc --features drive cut warns unused import: crate::platform::* at packages/dapi-grpc/src/lib.rs:116. The other six crates' loops were warning-free. With this PR, the sampled dpp cuts are warning-free too.

Breaking Changes

None. Each gated item was already unusable without state-transitions, because dpp did not compile without it.

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have added "!" to the title and described breaking changes in the corresponding section if my code contains any
  • I have made corresponding changes to the documentation if needed
  • If I added or changed GroveDB structure, I described it in the area's structure.rs, regenerated grovedb-structure.json, and checked the structure viewer link posted on this pull request

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

🤖 Generated with Claude Code

PR Hygiene · 3fe986e

  • Bots — coderabbitai ✓ · thepastaclaw not yet — /skip-bots proceeds without the ones not yet reported
  • Self-review — post /self-reviewed
  • Build failed
  • Approvals — you own every area touched; none needed

When every merge requirement is met, the PR Hygiene check passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.

Summary by CodeRabbit

  • Bug Fixes

    • Improved compatibility across feature configurations by preventing unavailable state-transition functionality from being referenced when disabled.
    • Corrected serialization of byte-based signatures when serde conversion is enabled without JSON conversion.
  • Refactor

    • Aligned JSON serialization modules and safe-value utilities with their appropriate conversion features.
    • Limited action-fee, shielded-transaction, and transition-specific functionality to supported configurations.

QuantumExplorer and others added 2 commits October 20, 2026 10:51
`cargo check --no-default-features -p dpp` stopped compiling: the
shielded sighash builders and the action-fee helpers that take a
`DocumentTransitionActionType` import from `crate::state_transition`,
which only exists with the `state-transitions` feature. The nightly
"Check each feature (dpp)" job runs that check first under `bash -e`,
so none of its per-feature checks have run since.

Gate `shielded::sighash` (and its re-exports), `DocumentActionFees::action_fee`
and `DocumentActionFeeAgreement::for_document_type_action` behind
`state-transitions`, together with the imports only they use, and gate
the two `identity.rs` imports only `new_with_input_addresses_and_keys`
(already gated) uses. Every build that compiled before has
`state-transitions` on and is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
With the no-default check passing, the per-feature loop of the nightly
job reaches two more failures:

- `json-conversion` without `state-transitions`: the `JsonSafeFields`
  markers for the batch transition wrappers import from
  `crate::state_transition`. Gate them behind `state-transitions`.
- `serde-conversion` without `json-conversion`: serde code compiled
  under `serde-conversion` names the `json_safe_*` helpers, which were
  compiled only with `json-conversion`, and two `[u8; 64]` fields get
  their `serde_bytes` only from `#[json_safe_fields]`. Compile
  `serialization::json` under `serde-conversion` (the helpers need only
  serde and serde_json, both always present; `JsonSafeFields` stays
  under `json-conversion`) and give the two fields `serde_bytes` in a
  serde build without `json-conversion`.

Every changed `cfg` is either true in every build that compiled before
or, for the two field attributes, false in all of them.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added this to the v5.0.0 milestone Oct 20, 2026
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: dashpay/platform/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: dd3e7ef6-4804-4735-8f90-a13bb57c4d8a
📥 Commits

Reviewing files that changed from the base of the PR and between 4e49e5e and 3fe986e.

📒 Files selected for processing: 19
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_burn_from_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_claim_to_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_direct_purchase_to_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_mint_to_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_shield_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_shielded_transfer_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_unshield_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/identity_create_from_shielded_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/identity_top_up_from_shielded_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shield_from_asset_lock_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shield_from_asset_lock_transition/v1/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shield_from_identity_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shield_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shielded_transfer_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/shielded_withdrawal_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/token_purchase_from_shielded_pool_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/token_shielded_transfer_with_shielded_fee_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/token_unshield_with_shielded_fee_transition/v0/mod.rs
  • packages/rs-dpp/src/state_transition/state_transitions/shielded/unshield_transition/v0/mod.rs

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

The change updates feature gates across DPP APIs and serialization modules. It also adds conditional serde_bytes adapters for signature fields in builds with serde-conversion enabled and json-conversion disabled.

Changes: DPP feature gates

Layer / File(s) Summary
Gate state-transition APIs and types
packages/rs-dpp/src/data_contract/document_type/action_fees/..., packages/rs-dpp/src/identity/identity.rs, packages/rs-dpp/src/serialization/json/safe_fields.rs, packages/rs-dpp/src/shielded/mod.rs
State-transition imports, APIs, implementations, and sighash exports are compiled only with state-transitions.
Align serialization feature gates and modules
packages/rs-dpp/src/serialization/mod.rs, packages/rs-dpp/src/serialization/json/mod.rs
The public JSON module and safe-integer exports use serde-conversion. safe_fields remains gated by json-conversion.
Add serde-only byte adapters
packages/rs-dpp/src/shielded/mod.rs, packages/rs-dpp/src/tokens/token_payment_info/v1/mod.rs, packages/rs-dpp/src/state_transition/state_transitions/...
Signature fields use crate::serialization::serde_bytes when serde-conversion is enabled without json-conversion.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: shumkov

Merge Risk: ⚪ Minimal · up to 3fe98

No actionable merge-blocking risk was found in the reviewed feature-gating and serialization changes.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly identifies the main change: enabling dpp to compile without default features.
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 3 functions across 27 files.
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches: 💡 1
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
🛠️ Fix failing CI checks: 💡
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown
Contributor

Waiting for bot review — coderabbitai not yet · thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added the waiting-bots Waiting for the review bots to report on this head label Oct 20, 2026
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@thepastaclaw

thepastaclaw commented Oct 20, 2026 •

Copy link
Copy Markdown
Collaborator

🔍 Review in progress — actively reviewing now (commit 3fe986e) · triage: normal
█████████████░░░░░░░ 63% · about 10 min left · running for 13 min
✅ triage → ✅ Phase 1 → ✅ verify 1 → ✅ gate → ⏳ Phase 2 (1/3 lanes) → ▫️ verify 2 → ▫️ publish
Estimated from recent reviews of this tier · updated 13:01 UTC · live progress

@thepastaclaw thepastaclaw left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Final validation — Phase 1 + Phase 2

The feature-gating changes are correctly scoped and preserve behavior for previously compiling configurations. One in-scope compile gap remains: enabling serde-conversion together with state-transitions but without json-conversion still fails for numerous shielded and token-pool transition structs containing bare [u8; 64] fields. The failing Rust workspace test is unrelated and pre-existing on the base branch.

🟡 1 suggestion(s)

1 finding(s) not shown inline (the lines are not part of this PR's diff)

🟡 Suggestion: Serde-only fallback is missing from sibling shielded and token-pool transitions
packages/rs-dpp/src/state_transition/state_transitions/shielded/shielded_transfer_transition/v0/mod.rs:44-45

The new serde_bytes fallback fixes [u8; 64] fields in SerializedAction and TokenShieldedPayment, but the same feature combination remains broken in this transition and its siblings. With serde-conversion enabled, json-conversion disabled, and state-transitions enabled, json_safe_fields does not add a serde adapter and serde has no Serialize/Deserialize implementation for arrays longer than 32 elements. This leaves the binding_signature fields in the shielded transitions and the seven batched token-pool transition V0 structs unusable, even though the PR explicitly extends serde-only compilation. The current CI matrix checks individual features and does not exercise this pair. Add the same conditional serde_bytes attribute to every affected [u8; 64] field, or add a matrix cut for serde-conversion,state-transitions and fix all resulting failures.

#[cfg_attr(
    all(feature = "serde-conversion", not(feature = "json-conversion")),
    serde(with = "crate::serialization::serde_bytes")
)]
pub binding_signature: [u8; 64],

source: glm-5.3-flash (phase1-reviewer: general, rust-quality)

Review provenance

Source: reviewer 1: glm-5.3-flash (agent: phase1-reviewer, role: general); reviewer 2: glm-5.3-flash (agent: phase1-reviewer, role: rust-quality); reviewer 3: gpt-6.1-sol (agent: phase2-reviewer, role: general); reviewer 4: gpt-6.1-sol (agent: phase2-reviewer, role: architecture-layering); reviewer 5: gpt-6.1-sol (agent: phase2-reviewer, role: rust-quality); final verifier: gpt-6.1-sol (agent: sol-verifier, role: final-verifier)

  • Triage: low by gpt-6.1-sol (effort low) — This small, contained change adjusts Rust feature gates to restore isolated-feature builds without changing runtime logic or protocol behavior.
  • Phase 1 reviewers: glm-5.3-flash — general (completed, effort high); agent phase1-reviewer, glm-5.3-flash — rust-quality (completed, effort high); agent phase1-reviewer
  • Phase 1 model: glm-5.3-flash — zai quota: 5h 100% left, weekly 99% left; passed over gemini-3.8-flash-high (lane failed)
  • Fresh verifier: gpt-6.1-sol — final-verifier; agent sol-verifier
  • Phase 2 reviewers: gpt-6.1-sol — general (completed, effort medium); agent phase2-reviewer, gpt-6.1-sol — architecture-layering (completed, effort medium); agent phase2-reviewer, gpt-6.1-sol — rust-quality (completed, effort medium); agent phase2-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/rs-dpp/src/state_transition/state_transitions/shielded/shielded_transfer_transition/v0/mod.rs`:
- [SUGGESTION] packages/rs-dpp/src/state_transition/state_transitions/shielded/shielded_transfer_transition/v0/mod.rs:44-45: Serde-only fallback is missing from sibling shielded and token-pool transitions
  The new `serde_bytes` fallback fixes `[u8; 64]` fields in `SerializedAction` and `TokenShieldedPayment`, but the same feature combination remains broken in this transition and its siblings. With `serde-conversion` enabled, `json-conversion` disabled, and `state-transitions` enabled, `json_safe_fields` does not add a serde adapter and serde has no `Serialize`/`Deserialize` implementation for arrays longer than 32 elements. This leaves the `binding_signature` fields in the shielded transitions and the seven batched token-pool transition V0 structs unusable, even though the PR explicitly extends serde-only compilation. The current CI matrix checks individual features and does not exercise this pair. Add the same conditional `serde_bytes` attribute to every affected `[u8; 64]` field, or add a matrix cut for `serde-conversion,state-transitions` and fix all resulting failures.
Out-of-scope follow-up suggestions (1)

These are valid observations, but they are outside this PR's scope and should be handled in separate issues or author/maintainer-requested PRs rather than blocking this review.

  • Rust workspace test has a stale inactive-version expectation on the base branch — The required Rust workspace test fails in action_fees.rs because the test still expects an InternalError containing not active, while commit 5303dd391ce changed inactive-version transitions to return UnpaidConsensusError(StateTransitionNotActiveError). The PR does not touch this code path, and the same failure is present on v5.0-dev; update it in a separate PR.
    • Follow-up: Update the test expectation in a separate change against v5.0-dev.

@github-actions

Copy link
Copy Markdown
Contributor

Bots are done — your move: post /self-reviewed.
Full checklist in the description.

@github-actions github-actions Bot added waiting-self-review Waiting for the author to post /self-reviewed and removed waiting-bots Waiting for the review bots to report on this head labels Oct 20, 2026
…builds

`serde-conversion` with `state-transitions` but without
`json-conversion` still failed: 22 `[u8; 64]` binding-signature fields
in the shielded transitions and the batched token-pool transitions get
`serde_bytes` only from `#[json_safe_fields]`, which is applied with
`json-conversion` alone, and serde has no impl for arrays longer than
32. Give them the same serde-only attribute as
`SerializedAction::spend_auth_sig`. It is false in every build with
`json-conversion`, so those builds are unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions

github-actions Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Waiting for bot review — coderabbitai ✓ · thepastaclaw not yet. Wait for the missing reviews, or a writer can post /skip-bots to proceed without them; blocking findings still need addressing.
Full checklist in the description.

@github-actions github-actions Bot added waiting-bots Waiting for the review bots to report on this head and removed waiting-self-review Waiting for the author to post /self-reviewed labels Oct 20, 2026
@QuantumExplorer
QuantumExplorer merged commit 8d903eb into v5.0-dev Oct 20, 2026
42 of 44 checks passed
@QuantumExplorer
QuantumExplorer deleted the claude/nice-bohr-be5b89 branch October 20, 2026 13:02
thepastaclaw pushed a commit to thepastaclaw/platform that referenced this pull request Oct 27, 2026
Brings 5.0.0-rc.5, rc.6 and rc.7 (v5.0-dev 79693ec) into v5.1-dev.

Conflict resolutions:
- Cargo.toml: GroveDB moves to 6.1.1 (2128ea18, dashpay#5499; fast-forward of
  fc7028d8). rust-dashcore stays on dev aca02026; v5.0-dev's v0.45.0 pin
  (d631aaca) is not taken.
- Cargo.lock: v5.1-dev's lockfile, re-resolved for GroveDB 6.1.1, with
  dashpay#5499's RUSTSEC bumps replayed via cargo update --precise (h2 0.4.20,
  rustls 0.23.46, rustls-webpki 0.103.15, quinn-proto 0.11.19,
  crossbeam-epoch 0.9.21, rust_decimal 1.43.0, anyhow 1.0.104,
  event-listener 5.4.2, chacha20 0.10.2, spin 0.9.9).
- CHANGELOG.md: [Unreleased] on top, then the rc.7, rc.6 and rc.5 entries.
- rs-dpp serialization/mod.rs: keeps v5.1's dashcore module gate and takes
  dashpay#5498's serde-conversion gate for the json module.
- rs-sdk dpns_usernames, put_document: dashpay#5409's ResponseMetadata import with
  v5.1's dpp::secp256k1 rand imports.
- platform-wallet masternode/update_service.rs (dashpay#5408, dashpay#5497): v5.0's file
  ported to dpp::bls. rust-dashcore dev does not expose the coinbase of
  applied masternode list diffs, so the coinbase source is optional: with
  none, V24 is read from the list alone (any version-3 entry), as dashpay#5408
  did, instead of refusing every legacy evonode update.
- platform-wallet spv/runtime.rs: masternode_list_entries reads through
  DashSpvClient::latest_masternode_list (the engine is crate-private on
  dev); latest_coinbase is not carried over.
- platform-wallet platform_wallet_traits.rs: both branches forwarded
  unrecorded_spend_heights and note_chain_lock_height; one forward each is
  kept, and the tests of both branches.
- platform-wallet identity/network/profile.rs: v5.1's rs-sdk profile path
  (dashpay#5470). dashpay#5409's proven-balance persistence for profile writes follows in
  a separate commit.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-bots Waiting for the review bots to report on this head

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants