feat: abci state sync #5011
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#L59
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:59:6
|
59 | 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
|
59 - impl<'p, C> PlatformApplication<C> for ConsensusAbciApplication<'p, C> {
59 + impl<C> PlatformApplication<C> for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L65
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:65:6
|
65 | 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
|
65 - impl<'p, C> SnapshotManagerApplication for ConsensusAbciApplication<'p, C> {
65 + impl<C> SnapshotManagerApplication for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L81
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:81:6
|
81 | 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
|
81 - impl<'p, C> BlockExecutionApplication for ConsensusAbciApplication<'p, C> {
81 + impl<C> BlockExecutionApplication for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L116
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:116:6
|
116 | 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
|
116 - impl<'p, C> Debug for ConsensusAbciApplication<'p, C> {
116 + impl<C> Debug for ConsensusAbciApplication<'_, C> {
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/app/consensus.rs#L122
warning: the following explicit lifetimes could be elided: 'p
--> packages/rs-drive-abci/src/abci/app/consensus.rs:122:6
|
122 | 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
|
122 - impl<'p, C> tenderdash_abci::Application for ConsensusAbciApplication<'p, C>
122 + impl<C> tenderdash_abci::Application for ConsensusAbciApplication<'_, C>
|
|
Run clechasseur/rs-clippy-check@v3:
packages/rs-drive-abci/src/abci/handler/apply_snapshot_chunk.rs#L1
warning: unused import: `drive::grovedb_storage::rocksdb_storage::RocksDbStorage`
--> packages/rs-drive-abci/src/abci/handler/apply_snapshot_chunk.rs:1:5
|
1 | use drive::grovedb_storage::rocksdb_storage::RocksDbStorage;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
Post Setup sccache
100% - 918 hits, 0 misses, 0 errors
|
Loading