refactor(dpp): generic wasm error #1820
Annotations
5 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/.
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs#L97
warning: unused variable: `validation_operations`
--> packages/rs-dpp/src/data_contract/document_type/class_methods/try_from_schema/v0/mod.rs:97:9
|
97 | validation_operations: &mut Vec<ProtocolValidationOperation>,
| ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_validation_operations`
|
= note: `#[warn(unused_variables)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
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
|
Run clechasseur/rs-clippy-check@v3:
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
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/query/conditions.rs#L465
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-drive/src/query/conditions.rs:465:10
|
465 | ) -> Result<(BTreeMap<String, Self>, Option<Self>, Option<Self>), Error> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
|
Loading