Skip to content

split kusama/polkadot runtimes #20

split kusama/polkadot runtimes

split kusama/polkadot runtimes #20

GitHub Actions / clippy succeeded Nov 19, 2024 in 1s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 611 in polkadot-parachains/integritee-polkadot/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

usage of a legacy numeric method

warning: usage of a legacy numeric method
   --> polkadot-parachains/integritee-polkadot/src/lib.rs:611:43
    |
611 |     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
    |
611 |     pub const MaxBalance: Balance = Balance::MAX;
    |                                              ~~~

Check warning on line 22 in polkadot-parachains/integritee-polkadot/src/xcm_config.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused import: `EnsureRootOrMoreThanHalfCouncil`

warning: unused import: `EnsureRootOrMoreThanHalfCouncil`
  --> polkadot-parachains/integritee-polkadot/src/xcm_config.rs:22:55
   |
22 |     AccountId, AssetRegistry, Assets, Balance, Balances, EnsureRootOrMoreThanHalfCouncil,
   |                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default