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/src/drive/document/estimation_costs/stateless_delete_of_non_tree_for_costs/v0/mod.rs#L80
warning: using `clone` on type `EstimatedLayerInformation` which implements the `Copy` trait
--> packages/rs-drive/src/drive/document/estimation_costs/stateless_delete_of_non_tree_for_costs/v0/mod.rs:80:39
|
80 | Ok((s as u64, layer_info.clone()))
| ^^^^^^^^^^^^^^^^^^ help: try dereferencing it: `*layer_info`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
= note: `#[warn(clippy::clone_on_copy)]` on by default
|
packages/rs-drive/src/drive/identity/contract_info/keys/mod.rs#L44
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/identity/contract_info/keys/mod.rs:44:10
|
44 | ) -> (
| __________^
45 | | BTreeMap<String, Vec<(KeyID, Purpose)>>,
46 | | Vec<(KeyID, Purpose)>,
47 | | ) {
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
packages/rs-drive/src/drive/verify/contract/verify_contract/v0/mod.rs#L174
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/drive/verify/contract/verify_contract/v0/mod.rs:174:10
|
174 | ) -> Result<(RootHash, BTreeMap<[u8; 32], Option<DataContract>>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
This job succeeded
Loading