Skip to content

dencun upgrade, tests pending #82

dencun upgrade, tests pending

dencun upgrade, tests pending #82

GitHub Actions / clippy failed Mar 30, 2024 in 0s

clippy

2 errors

Details

Results

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

Versions

  • rustc 1.77.1 (7cf61ebde 2024-03-27)
  • cargo 1.77.1 (e52e36006 2024-03-26)
  • clippy 0.1.77 (7cf61eb 2024-03-27)

Annotations

Check failure on line 105 in src/simulation.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `revm::revm_primitives::alloy_primitives::Uint<256, 4>`

error: useless conversion to the same type: `revm::revm_primitives::alloy_primitives::Uint<256, 4>`
   --> src/simulation.rs:105:43
    |
105 |                 .map(|(key, value)| (key, value.into()))
    |                                           ^^^^^^^^^^^^ help: consider removing `.into()`: `value`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check failure on line 233 in src/evm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `revm::revm_primitives::alloy_primitives::Uint<256, 4>`

error: useless conversion to the same type: `revm::revm_primitives::alloy_primitives::Uint<256, 4>`
   --> src/evm.rs:233:37
    |
233 |         self.executor.set_gas_limit(gas_limit.into());
    |                                     ^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `gas_limit`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
    = note: `-D clippy::useless-conversion` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::useless_conversion)]`