Merge pull request #77 from Blobscan/chore/alloy-migration #10
release.yml
on: push
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 ~ });
|
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Blobscan~blobscan-indexer.rs~K1D3KZ.dockerbuild
|
45.4 KB |
|