feat(utils): calldatacopy argument heuristics #561
Annotations
2 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
crates/vm/src/core/vm.rs#L752
[clippy] reported by reviewdog 🐶
<pre><code>warning: use of a fallible conversion when an infallible one could be used
--> crates/vm/src/core/vm.rs:752:33
|
752 | self.stack.push(U256::try_from(result)?, operation);
| ^^^^^^^^^^^^^^ help: use: `From::from`
|
= note: converting `FixedBytes<32>` to `Uint<256, 4>` cannot fail
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
</code></pre>
Raw Output:
crates/vm/src/core/vm.rs:752:33:w:
<pre><code>warning: use of a fallible conversion when an infallible one could be used
--> crates/vm/src/core/vm.rs:752:33
|
752 | self.stack.push(U256::try_from(result)?, operation);
| ^^^^^^^^^^^^^^ help: use: `From::from`
|
= note: converting `FixedBytes<32>` to `Uint<256, 4>` cannot fail
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
= note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
</code></pre>
__END__
|
This job succeeded
Loading