feat: abci state sync #4974
Annotations
10 warnings and 1 notice
Run clechasseur/rs-clippy-check@v3:
packages/rs-platform-value/src/inner_value.rs#L364
warning: elided lifetime has a name
--> packages/rs-platform-value/src/inner_value.rs:364:66
|
364 | pub fn get_array_slice<'a>(&'a self, key: &'a str) -> Result<&[Value], Error> {
| -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a`
|
= note: `#[warn(elided_named_lifetimes)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/identity/identity_credit_transfer_transition/v0/v0_methods.rs#L11
warning: unused import: `platform_value::Identifier`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/identity_credit_transfer_transition/v0/v0_methods.rs:11:5
|
11 | use platform_value::Identifier;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-dpp/src/state_transition/state_transitions/identity/identity_credit_transfer_transition/v0/v0_methods.rs#L15
warning: unused import: `crate::state_transition::GetDataContractSecurityLevelRequirementFn`
--> packages/rs-dpp/src/state_transition/state_transitions/identity/identity_credit_transfer_transition/v0/v0_methods.rs:15:5
|
15 | use crate::state_transition::GetDataContractSecurityLevelRequirementFn;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L18
warning: unused import: `dapi_grpc::tonic`
--> packages/rs-drive-abci/src/abci/app/consensus.rs:18:5
|
18 | use dapi_grpc::tonic;
| ^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L62
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:62:6
|
62 | impl<'p, C> PlatformApplication<C> for ConsensusAbciApplication<'p, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
62 - impl<'p, C> PlatformApplication<C> for ConsensusAbciApplication<'p, C> {
62 + impl<C> PlatformApplication<C> for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L68
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:68:6
|
68 | impl<'p, C> SnapshotManagerApplication for ConsensusAbciApplication<'p, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
68 - impl<'p, C> SnapshotManagerApplication for ConsensusAbciApplication<'p, C> {
68 + impl<C> SnapshotManagerApplication for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L84
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:84:6
|
84 | impl<'p, C> BlockExecutionApplication for ConsensusAbciApplication<'p, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
84 - impl<'p, C> BlockExecutionApplication for ConsensusAbciApplication<'p, C> {
84 + impl<C> BlockExecutionApplication for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L119
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:119:6
|
119 | impl<'p, C> Debug for ConsensusAbciApplication<'p, C> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
119 - impl<'p, C> Debug for ConsensusAbciApplication<'p, C> {
119 + impl<C> Debug for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L125
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:125:6
|
125 | impl<'p, C> tenderdash_abci::Application for ConsensusAbciApplication<'p, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
125 - impl<'p, C> tenderdash_abci::Application for ConsensusAbciApplication<'p, C>
125 + impl<C> tenderdash_abci::Application for ConsensusAbciApplication<'_, C>
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/handler/finalize_block.rs#L105
warning: unnecessary parentheses around `if` condition
--> packages/rs-drive-abci/src/abci/handler/finalize_block.rs:105:8
|
105 | if (app.platform().config.state_sync_config.snapshots_enabled) {
| ^ ^
|
= note: `#[warn(unused_parens)]` on by default
help: remove these parentheses
|
105 - if (app.platform().config.state_sync_config.snapshots_enabled) {
105 + if app.platform().config.state_sync_config.snapshots_enabled {
|
|
Post Setup sccache
100% - 918 hits, 0 misses, 0 errors
|
Loading