GitHub Actions / clippy
succeeded
Jun 27, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.79.0 (129f3b996 2024-06-10)
- cargo 1.79.0 (ffa9cf99a 2024-06-03)
- clippy 0.1.79 (129f3b9 2024-06-10)
Annotations
Check warning on line 590 in polkadot-parachains/integritee-runtime/src/lib.rs
github-actions / clippy
usage of a legacy numeric method
warning: usage of a legacy numeric method
--> polkadot-parachains/integritee-runtime/src/lib.rs:590:43
|
590 | pub const MaxBalance: Balance = Balance::max_value();
| ^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants
= note: `#[warn(clippy::legacy_numeric_constants)]` on by default
help: use the associated constant instead
|
590 | pub const MaxBalance: Balance = Balance::MAX;
| ~~~
Check warning on line 258 in polkadot-parachains/integritee-runtime/src/lib.rs
github-actions / clippy
use of deprecated struct `pallet_transaction_payment::CurrencyAdapter`: Please use the fungible trait and FungibleAdapter. This struct will be removed some time after March 2024.
warning: use of deprecated struct `pallet_transaction_payment::CurrencyAdapter`: Please use the fungible trait and FungibleAdapter. This struct will be removed some time after March 2024.
--> polkadot-parachains/integritee-runtime/src/lib.rs:258:57
|
258 | type OnChargeTransaction = pallet_transaction_payment::CurrencyAdapter<Balances, DealWithFees>;
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(deprecated)]` on by default
Loading