Skip to content

fix: improve reorg handling logic #118

fix: improve reorg handling logic

fix: improve reorg handling logic #118

Triggered via pull request February 8, 2025 13:51
@PJColomboPJColombo
synchronize #81
Status Success
Total duration 1m 53s
Artifacts

ci.yml

on: pull_request_target
Fit to window
Zoom out
Zoom in

Annotations

1 warning
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: src/slots_processor/helpers.rs#L17
warning: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> src/slots_processor/helpers.rs:17:28 | 17 | .for_each(|tx| match &tx.blob_versioned_hashes { | ____________________________^ 18 | | Some(versioned_hashes) => { 19 | | tx_to_versioned_hashes.insert(tx.hash, versioned_hashes.clone()); 20 | | } 21 | | None => {} 22 | | }); | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `#[warn(clippy::single_match)]` on by default help: try | 17 ~ .for_each(|tx| if let Some(versioned_hashes) = &tx.blob_versioned_hashes { 18 + tx_to_versioned_hashes.insert(tx.hash, versioned_hashes.clone()); 19 ~ }); |