refactor(chain)!: update ChainOracle and TxGraph methods to being…
#5625
Annotations
2 errors and 5 warnings
|
manual implementation of `Option::map`:
crates/chain/src/local_chain.rs#L79
error: manual implementation of `Option::map`
--> crates/chain/src/local_chain.rs:79:9
|
79 | / match chain_tip_cp.get(block.height) {
80 | | Some(cp) => Some(cp.hash() == block.hash),
81 | | None => None,
82 | | }
| |_________^ help: try: `chain_tip_cp.get(block.height).map(|cp| cp.hash() == block.hash)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map
= note: `-D clippy::manual-map` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_map)]`
|
|
empty line after doc comment:
crates/chain/src/tx_graph.rs#L1291
error: empty line after doc comment
--> crates/chain/src/tx_graph.rs:1291:5
|
1291 | / ///
1292 | |
| |_^
...
1301 | pub fn list_expected_spk_txids<'a, C, I>(
| ------------------------------ the comment documents this function
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments
= note: `-D clippy::empty-line-after-doc-comments` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::empty_line_after_doc_comments)]`
= help: if the empty line is unintentional, remove it
help: if the documentation should include the empty line include it in the comment
|
1292 | ///
|
|
|
Code Coverage
Cache not found for keys: v0-rust-Codecov-Linux-x64-796f5237-e8264f82, v0-rust-Codecov-Linux-x64-796f5237
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Code Coverage
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-report
Expired
|
448 KB |
sha256:e55c3e90c3b1c9929c50f7b7079b9cfe464e459be991c2037831212b64a329f6
|
|