feat(platform)!: state transition fee increase and priorities #1493
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/.
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/identity/mod.rs#L21
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:21:1
|
21 | mod fields;
| ^^^^^^^^^^^
|
note: the name `fields` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:6:9
|
6 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:21:1
|
21 | mod fields;
| ^^^^^^^^^^^
= note: `#[warn(hidden_glob_reexports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/identity/mod.rs#L27
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
note: the name `methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:6:9
|
6 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:27:1
|
27 | mod methods;
| ^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/identity/mod.rs#L30
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
note: the name `v0` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/identity/mod.rs:6:9
|
6 | pub use identity_public_key::*;
| ^^^^^^^^^^^^^^^^^^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/identity/mod.rs:30:1
|
30 | mod v0;
| ^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/identity/mod.rs#L10
warning: module has the same name as its containing module
--> packages/rs-dpp/src/identity/mod.rs:10:1
|
10 | mod identity;
| ^^^^^^^^^^^^^
|
= 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
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:9:9
|
9 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_delete_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs#L3
warning: private item shadows public glob re-export
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
note: the name `v0_methods` in the type namespace is supposed to be publicly re-exported here
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:13:9
|
13 | pub use v0::*;
| ^^^^^
note: but the private item here shadows it
--> packages/rs-dpp/src/state_transition/state_transitions/document/documents_batch_transition/document_transition/document_replace_transition/mod.rs:3:1
|
3 | mod v0_methods;
| ^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/document/document_factory/v0/mod.rs#L174
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/document_factory/v0/mod.rs:174:24
|
174 | let documents: Vec<(
| ________________________^
175 | | DocumentTransitionActionType,
176 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
177 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= 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-dpp/src/document/specialized_document_factory/v0/mod.rs#L183
warning: very complex type used. Consider factoring parts into `type` definitions
--> packages/rs-dpp/src/document/specialized_document_factory/v0/mod.rs:183:24
|
183 | let documents: Vec<(
| ________________________^
184 | | DocumentTransitionActionType,
185 | | Vec<(Document, DocumentTypeRef, Bytes32)>,
186 | | )> = documents_iter.into_iter().collect();
| |__________^
|
= 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-dpp/src/identity/state_transition/asset_lock_proof/mod.rs#L28
warning: large size difference between variants
--> packages/rs-dpp/src/identity/state_transition/asset_lock_proof/mod.rs:28:1
|
28 | / pub enum AssetLockProof {
29 | | Instant(#[bincode(with_serde)] InstantAssetLockProof),
| | ----------------------------------------------------- the largest variant contains at least 640 bytes
30 | | Chain(#[bincode(with_serde)] ChainAssetLockProof),
| | ------------------------------------------------- the second-largest variant contains at least 40 bytes
31 | | }
| |_^ the entire enum is at least 640 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
29 | Instant(#[bincode(with_serde)] Box<InstantAssetLockProof>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/util/cbor_value/mod.rs#L11
warning: module has the same name as its containing module
--> packages/rs-dpp/src/util/cbor_value/mod.rs:11:1
|
11 | mod cbor_value;
| ^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception
|
Loading