Skip to content

feat: add reorgs support + indexer restructuring #21

feat: add reorgs support + indexer restructuring

feat: add reorgs support + indexer restructuring #21

Triggered via pull request January 30, 2024 12:18
Status Failure
Total duration 1m 23s
Artifacts

ci.yml

on: pull_request
build-test
0s
build-test
Deploy blobscan api (staging)
0s
Deploy blobscan api (staging)
Fit to window
Zoom out
Zoom in

Annotations

4 errors
unused variable: `last_indexed_beacon_block`: src/indexer.rs#L102
error: unused variable: `last_indexed_beacon_block` --> src/indexer.rs:102:13 | 102 | let last_indexed_beacon_block = self | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_last_indexed_beacon_block` | = note: `-D unused-variables` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_variables)]`
unused variable: `event_source`: src/indexer.rs#L109
error: unused variable: `event_source` --> src/indexer.rs:109:13 | 109 | let event_source = beacon_client.subscribe_to_events(vec![Topic::Head])?; | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_event_source`
method `handle_reorg` is never used: src/clients/blobscan/mod.rs#L65
error: method `handle_reorg` is never used --> src/clients/blobscan/mod.rs:65:18 | 30 | impl BlobscanClient { | ------------------- method in this implementation ... 65 | pub async fn handle_reorg(&self, slot: u32, depth: u32) -> ClientResult<()> { | ^^^^^^^^^^^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
lint
Clippy has exited with exit code 101