feat: add reorgs support + indexer restructuring #34
Annotations
5 errors
cargo clippy:
src/indexer/mod.rs#L46
error: unused variable: `start_block_id`
--> src/indexer/mod.rs:46:33
|
46 | pub async fn run(&mut self, start_block_id: Option<BlockId>) -> IndexerResult<()> {
| ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_block_id`
|
= note: `-D unused-variables` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_variables)]`
|
cargo clippy:
src/indexer/mod.rs#L79
error: useless conversion to the same type: `indexer::error::IndexerError`
--> src/indexer/mod.rs:79:28
|
79 | return Err(error.into());
| ^^^^^^^^^^^^ help: consider removing `.into()`: `error`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `-D clippy::useless-conversion` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`
|
cargo clippy:
src/indexer/mod.rs#L134
error: useless conversion to the same type: `synchronizer::error::SynchronizerError`
--> src/indexer/mod.rs:134:80
|
134 | ... .map_err(|err| IndexerError::SynchronizerError(err.into()))?;
| ^^^^^^^^^^ help: consider removing `.into()`: `err`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
cargo clippy:
src/slots_processor/mod.rs#L34
error: useless conversion to the same type: `ethers::types::TxHash`
--> src/slots_processor/mod.rs:34:19
|
34 | root: block_header.root.into(),
| ^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `block_header.root`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
cargo clippy
Clippy has exited with exit code 101
|
The logs for this run have expired and are no longer available.
Loading