feat(platform)!: masternode voting based conflict resolution #2479
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-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
|
packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs#L383
warning: unused variable: `document_type_name`
--> packages/rs-drive/src/drive/verify/state_transition/verify_state_transition_was_executed_with_proof/v0/mod.rs:383:32
|
383 | let (contract, document_type_name) = match vote {
| ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_document_type_name`
|
packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs#L59
warning: unused variable: `root_hash`
--> packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs:59:14
|
59 | let (root_hash, mut proved_key_values) = if verify_subset_of_proof {
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_root_hash`
|
packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs#L65
warning: unused variable: `path`
--> packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs:65:18
|
65 | let (path, key, maybe_element) = &proved_key_values.remove(0);
| ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
|
packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs#L65
warning: unused variable: `key`
--> packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs:65:24
|
65 | let (path, key, maybe_element) = &proved_key_values.remove(0);
| ^^^ help: if this is intentional, prefix it with an underscore: `_key`
|
packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs#L65
warning: unused variable: `maybe_element`
--> packages/rs-drive/src/drive/verify/voting/verify_masternode_vote/v0/mod.rs:65:29
|
65 | let (path, key, maybe_element) = &proved_key_values.remove(0);
| ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maybe_element`
|
packages/rs-drive/src/drive/prefunded_specialized_balances/fetch/single_balance/mod.rs#L110
warning: method `fetch_prefunded_specialized_balance_operations` is never used
--> packages/rs-drive/src/drive/prefunded_specialized_balances/fetch/single_balance/mod.rs:110:19
|
14 | impl Drive {
| ---------- method in this implementation
...
110 | pub(crate) fn fetch_prefunded_specialized_balance_operations(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs#L97
warning: unused variable: `credits`
--> packages/rs-drive-abci/src/execution/validation/state_transition/state_transitions/documents_batch/action_validation/document_create_transition_action/state_v0/mod.rs:97:61
|
97 | if let Some((contested_document_resource_vote_poll, credits)) =
| ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_credits`
|
= note: `#[warn(unused_variables)]` on by default
|
packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-drive-abci/src/execution/platform_events/core_based_updates/update_masternode_identities/mod.rs:11:1
|
11 | mod update_masternode_identities;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
= note: `#[warn(clippy::module_inception)]` on by default
|
packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs#L40
warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do
--> packages/rs-drive-abci/src/execution/platform_events/state_transition_processing/process_raw_state_transitions/mod.rs:40:32
|
40 | raw_state_transitions: &Vec<Vec<u8>>,
| ^^^^^^^^^^^^^ help: change this to: `&[Vec<u8>]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg
= note: `#[warn(clippy::ptr_arg)]` on by default
|
This job succeeded
Loading