feat(platform)!: contested document resolution with masternode voting #2534
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: mozilla-actions/[email protected], strophy/actions-cache@opendal-update. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs#L5
warning: unused import: `crate::prelude::ConsensusValidationResult`
--> packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs:5:5
|
5 | use crate::prelude::ConsensusValidationResult;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs#L6
warning: unused import: `crate::serialization::PlatformSerializable`
--> packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs:6:5
|
6 | use crate::serialization::PlatformSerializable;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs#L7
warning: unused import: `crate::voting::contender_structs::ContenderWithSerializedDocument`
--> packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs:7:5
|
7 | use crate::voting::contender_structs::ContenderWithSerializedDocument;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs#L10
warning: unused import: `FeatureVersion`
--> packages/rs-dpp/src/voting/contender_structs/contender/v0/mod.rs:10:33
|
10 | use platform_version::version::{FeatureVersion, PlatformVersion};
| ^^^^^^^^^^^^^^
|
packages/rs-dpp/src/voting/contender_structs/contender/mod.rs#L4
warning: unused import: `crate::document::serialization_traits::DocumentPlatformConversionMethodsV0`
--> packages/rs-dpp/src/voting/contender_structs/contender/mod.rs:4:5
|
4 | use crate::document::serialization_traits::DocumentPlatformConversionMethodsV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
packages/rs-drive/src/drive/operations/apply_batch_low_level_drive_operations/v0/mod.rs#L4
warning: unused import: `crate::fee::op::LowLevelDriveOperation::GroveOperation`
--> packages/rs-drive/src/drive/operations/apply_batch_low_level_drive_operations/v0/mod.rs:4:5
|
4 | use crate::fee::op::LowLevelDriveOperation::GroveOperation;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L34
warning: unused import: `std::process::id`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:34:5
|
34 | use std::process::id;
| ^^^^^^^^^^^^^^^^
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L436
warning: unused variable: `key`
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:436:46
|
436 | ... .map(|(mut path, key, document)| {
| ^^^ help: if this is intentional, prefix it with an underscore: `_key`
|
packages/rs-drive/src/query/vote_poll_vote_state_query.rs#L465
warning: variable does not need to be mutable
--> packages/rs-drive/src/query/vote_poll_vote_state_query.rs:465:30
|
465 | for (mut path, first_key, element) in
| ----^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs#L383
warning: unused variable: `contract`
--> packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs:383:22
|
383 | let (contract, document_type_name) = match vote {
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract`
|
= note: `#[warn(unused_variables)]` on by default
|
This job succeeded
Loading