refactor: drop unused includes; use calculate_sign_hash #1540
Annotations
1 error and 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/.
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/common/mod.rs#L63
warning: unused import: `dpp::prelude::Identifier`
--> packages/rs-drive/src/common/mod.rs:63:5
|
63 | use dpp::prelude::Identifier;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/common/mod.rs#L67
warning: unused import: `dpp::version::PlatformVersion`
--> packages/rs-drive/src/common/mod.rs:67:5
|
67 | use dpp::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/contract/contract_fetch_info.rs#L3
warning: unused import: `dpp::data_contracts`
--> packages/rs-drive/src/drive/contract/contract_fetch_info.rs:3:5
|
3 | use dpp::data_contracts;
| ^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/contract/contract_fetch_info.rs#L5
warning: unused import: `dpp::system_data_contracts::load_system_data_contract`
--> packages/rs-drive/src/drive/contract/contract_fetch_info.rs:5:5
|
5 | use dpp::system_data_contracts::load_system_data_contract;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/contract/contract_fetch_info.rs#L13
warning: unused import: `platform_version::version::PlatformVersion`
--> packages/rs-drive/src/drive/contract/contract_fetch_info.rs:13:5
|
13 | use platform_version::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/credit_pools/mod.rs#L50
warning: unused import: `dpp::fee::SignedCredits`
--> packages/rs-drive/src/drive/credit_pools/mod.rs:50:5
|
50 | use dpp::fee::SignedCredits;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/mod.rs#L37
warning: unused import: `crate::drive::defaults::DEFAULT_HASH_SIZE_U8`
--> packages/rs-drive/src/drive/document/mod.rs:37:5
|
37 | use crate::drive::defaults::DEFAULT_HASH_SIZE_U8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/mod.rs#L42
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-drive/src/drive/document/mod.rs:42:5
|
42 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/mod.rs#L43
warning: unused import: `dpp::data_contract::document_type::methods::DocumentTypeV0Methods`
--> packages/rs-drive/src/drive/document/mod.rs:43:5
|
43 | use dpp::data_contract::document_type::methods::DocumentTypeV0Methods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive/src/drive/document/mod.rs#L45
warning: unused import: `dpp::data_contract::document_type::DocumentTypeRef`
--> packages/rs-drive/src/drive/document/mod.rs:45:5
|
45 | use dpp::data_contract::document_type::DocumentTypeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
The logs for this run have expired and are no longer available.
Loading