Skip to content

feat(decode): init calldata type guessing #211

feat(decode): init calldata type guessing

feat(decode): init calldata type guessing #211

Triggered via pull request December 1, 2023 00:53
Status Success
Total duration 7m 17s
Artifacts

tests.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

3 warnings
clippy: core/src/decompile/analyzers/yul.rs#L420
[clippy] reported by reviewdog 🐶 <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/decompile/analyzers/yul.rs:420:23 | 420 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index = note: `#[warn(clippy::unused_enumerate_index)]` on by default help: remove the `.enumerate()` call | 420 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: core/src/decompile/analyzers/yul.rs:420:23:w: <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/decompile/analyzers/yul.rs:420:23 | 420 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index = note: `#[warn(clippy::unused_enumerate_index)]` on by default help: remove the `.enumerate()` call | 420 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__
clippy: core/src/decompile/out/solidity.rs#L30
[clippy] reported by reviewdog 🐶 <pre><code>warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> core/src/decompile/out/solidity.rs:30:10 | 30 | abi: &Vec<ABIStructure>, | ^^^^^^^^^^^^^^^^^^ help: change this to: `&[ABIStructure]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default </code></pre> Raw Output: core/src/decompile/out/solidity.rs:30:10:w: <pre><code>warning: writing `&Vec` instead of `&[_]` involves a new object where a slice will do --> core/src/decompile/out/solidity.rs:30:10 | 30 | abi: &Vec<ABIStructure>, | ^^^^^^^^^^^^^^^^^^ help: change this to: `&[ABIStructure]` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg = note: `#[warn(clippy::ptr_arg)]` on by default </code></pre> __END__
clippy: core/src/snapshot/analyze.rs#L534
[clippy] reported by reviewdog 🐶 <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/snapshot/analyze.rs:534:23 | 534 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index help: remove the `.enumerate()` call | 534 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> Raw Output: core/src/snapshot/analyze.rs:534:23:w: <pre><code>warning: you seem to use `.enumerate()` and immediately discard the index --> core/src/snapshot/analyze.rs:534:23 | 534 | for (_, child) in vm_trace.children.iter().enumerate() { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_enumerate_index help: remove the `.enumerate()` call | 534 | for child in vm_trace.children.iter() { | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ </code></pre> __END__