Skip to content

fix: resolve all clippy warnings for --all-targets#80

Merged
VAIBHAVJINDAL3012 merged 1 commit intomainfrom
fix/clippy-all-targets
Mar 11, 2026
Merged

fix: resolve all clippy warnings for --all-targets#80
VAIBHAVJINDAL3012 merged 1 commit intomainfrom
fix/clippy-all-targets

Conversation

@VAIBHAVJINDAL3012
Copy link
Copy Markdown
Contributor

Summary

  • Fix needless borrows (&value.to_be_bytes()value.to_be_bytes()) across test files
  • Replace &vec![0u8; 97] with &[0u8; 97] (useless vec)
  • Prefix unused variables with _ in integration tests
  • Remove unused imports (validate_block_pre_execution, PrehashSigner)
  • Remove dead code (make_signers function, unused variable)

cargo clippy --workspace --all-targets -- -D warnings now passes cleanly.
All 188 tests pass.

Fix needless borrows, useless vec!, unused variables/imports, and
dead code across test files and integration tests.
@VAIBHAVJINDAL3012 VAIBHAVJINDAL3012 merged commit 337661b into main Mar 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant