Skip to content

Commit

Permalink
fix(levm): lint (#1370)
Browse files Browse the repository at this point in the history
LEVM Linter is failing. This fixes should be enough to make it pass.
  • Loading branch information
ilitteri authored Dec 2, 2024
1 parent 2069826 commit 7f72d73
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/storage/trie/db/utils.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[cfg(feature = "libmdbx")]
// In order to use NodeHash as key in a dupsort table we must encode it into a fixed size type
pub fn node_hash_to_fixed_size(node_hash: Vec<u8>) -> [u8; 33] {
// keep original len so we can re-construct it later
Expand Down
2 changes: 1 addition & 1 deletion crates/vm/levm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ unwrap_used = "deny"
expect_used = "deny"

arithmetic_side_effects = "deny"
overflow_check_conditional = "warn"
panicking_overflow_checks = "warn"
manual_saturating_arithmetic = "warn"

[lib]
Expand Down

0 comments on commit 7f72d73

Please sign in to comment.