From 69627bfb42a355380a67e9f038a14ad7d3facd74 Mon Sep 17 00:00:00 2001 From: pasta Date: Tue, 29 Sep 2026 17:33:32 -0500 Subject: [PATCH] fix(platform-version): point PLATFORM_V15 at query versions V2 after v4.2 merge The v4.2-dev forward-merge (704307eaf) left v4.3-dev failing to compile: error[E0432]: unresolved import `crate::version::drive_abci_versions::drive_abci_query_versions::v3` --> packages/rs-platform-version/src/version/v15.rs:19 #5043 (v4.3) defined PLATFORM_V15 as a copy of PLATFORM_V14 using DRIVE_ABCI_QUERY_VERSIONS_V3. #5057 (v4.2) folded V3 into V2 and deleted v3.rs, and git merged both without a conflict. Point v15 at V2. Its component tables then match PLATFORM_V14 exactly again, as #5043 intends. Also clean up the dpns.rs import block from the same merge: drop the IdentityGettersV0 import, unused since #4764 (and flagged as an unused-import warning), and the doubled blank lines the conflict resolution left. Co-Authored-By: Claude Opus 5.5 (1M context) --- packages/rs-platform-version/src/version/v15.rs | 4 ++-- .../rs-platform-wallet/src/wallet/identity/network/dpns.rs | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/rs-platform-version/src/version/v15.rs b/packages/rs-platform-version/src/version/v15.rs index e49b5133ace..151896fed16 100644 --- a/packages/rs-platform-version/src/version/v15.rs +++ b/packages/rs-platform-version/src/version/v15.rs @@ -16,7 +16,7 @@ use crate::version::dpp_versions::dpp_voting_versions::v2::VOTING_VERSION_V2; use crate::version::dpp_versions::DPPVersion; use crate::version::drive_abci_versions::drive_abci_checkpoint_parameters::v1::DRIVE_ABCI_CHECKPOINT_PARAMETERS_V1; use crate::version::drive_abci_versions::drive_abci_method_versions::v10::DRIVE_ABCI_METHOD_VERSIONS_V10; -use crate::version::drive_abci_versions::drive_abci_query_versions::v3::DRIVE_ABCI_QUERY_VERSIONS_V3; +use crate::version::drive_abci_versions::drive_abci_query_versions::v2::DRIVE_ABCI_QUERY_VERSIONS_V2; use crate::version::drive_abci_versions::drive_abci_structure_versions::v2::DRIVE_ABCI_STRUCTURE_VERSIONS_V2; use crate::version::drive_abci_versions::drive_abci_validation_versions::v10::DRIVE_ABCI_VALIDATION_VERSIONS_V10; use crate::version::drive_abci_versions::drive_abci_withdrawal_constants::v3::DRIVE_ABCI_WITHDRAWAL_CONSTANTS_V3; @@ -43,7 +43,7 @@ pub const PLATFORM_V15: PlatformVersion = PlatformVersion { methods: DRIVE_ABCI_METHOD_VERSIONS_V10, validation_and_processing: DRIVE_ABCI_VALIDATION_VERSIONS_V10, withdrawal_constants: DRIVE_ABCI_WITHDRAWAL_CONSTANTS_V3, - query: DRIVE_ABCI_QUERY_VERSIONS_V3, + query: DRIVE_ABCI_QUERY_VERSIONS_V2, checkpoints: DRIVE_ABCI_CHECKPOINT_PARAMETERS_V1, }, dpp: DPPVersion { diff --git a/packages/rs-platform-wallet/src/wallet/identity/network/dpns.rs b/packages/rs-platform-wallet/src/wallet/identity/network/dpns.rs index ae770c1207c..1dacd612155 100644 --- a/packages/rs-platform-wallet/src/wallet/identity/network/dpns.rs +++ b/packages/rs-platform-wallet/src/wallet/identity/network/dpns.rs @@ -1,11 +1,8 @@ //! DPNS name registration, resolution, search, and contest queries. - use super::signing_key::AvailableSigningKey; use dpp::fee::Credits; -use dpp::identity::accessors::IdentityGettersV0; - use dpp::identity::Identity; use dpp::identity::IdentityPublicKey;