Skip to content
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Sep 27, 2023 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.69.0 (84c898d65 2023-04-16)
  • cargo 1.69.0 (6e9a83356 2023-04-12)
  • clippy 0.1.69 (84c898d 2023-04-16)

Annotations

Check failure on line 79 in pallets/dynamic-evm-base-fee/src/benchmarking.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

no function or associated item named `min_gas_price` found for struct `pallet::Pallet` in the current scope

error[E0599]: no function or associated item named `min_gas_price` found for struct `pallet::Pallet` in the current scope
   --> pallets/dynamic-evm-base-fee/src/benchmarking.rs:79:34
    |
79  |             let _ = Pallet::<T>::min_gas_price();
    |                                  ^^^^^^^^^^^^^ function or associated item not found in `Pallet<T>`
    |
   ::: pallets/dynamic-evm-base-fee/src/lib.rs:107:5
    |
107 |     pub struct Pallet<T>(PhantomData<T>);
    |     -------------------- function or associated item `min_gas_price` not found for this struct
    |
    = help: items from traits can only be used if the trait is in scope
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
    |
27  |     use fp_evm::FeeCalculator;
    |