Skip to content

zcash_client_sqlite: Track Orchard commitment tree sizes in `TestState`

Sign in for the full log view
GitHub Actions / Clippy (MSRV) failed Mar 9, 2024 in 0s

Clippy (MSRV)

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.65.0 (897e37553 2022-11-02)
  • cargo 1.65.0 (4bc8f24d3 2022-10-20)
  • clippy 0.1.65 (897e375 2022-11-02)

Annotations

Check failure on line 1129 in zcash_client_sqlite/src/testing.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

this function has too many arguments (8/7)

error: this function has too many arguments (8/7)
    --> zcash_client_sqlite/src/testing.rs:1120:1
     |
1120 | / fn fake_compact_block<P: consensus::Parameters, Fvk: TestFvk>(
1121 | |     params: &P,
1122 | |     height: BlockHeight,
1123 | |     prev_hash: BlockHash,
...    |
1128 | |     initial_orchard_tree_size: u32,
1129 | | ) -> (CompactBlock, Fvk::Nullifier) {
     | |___________________________________^
     |
     = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

Check failure on line 283 in zcash_client_sqlite/src/testing.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (MSRV)

this function has too many arguments (8/7)

error: this function has too many arguments (8/7)
   --> zcash_client_sqlite/src/testing.rs:274:5
    |
274 | /     pub(crate) fn generate_block_at<Fvk: TestFvk>(
275 | |         &mut self,
276 | |         height: BlockHeight,
277 | |         prev_hash: BlockHash,
...   |
282 | |         initial_orchard_tree_size: u32,
283 | |     ) -> (Cache::InsertResult, Fvk::Nullifier) {
    | |______________________________________________^
    |
    = note: `-D clippy::too-many-arguments` implied by `-D warnings`
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments