Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix teerdays unlock mismatch #301

Merged
merged 2 commits into from
Aug 27, 2024

replace CurrencyAdapter with FungibleAdapter. bump version

9263c1c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

fix teerdays unlock mismatch #301

replace CurrencyAdapter with FungibleAdapter. bump version
9263c1c
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Aug 27, 2024 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 611 in polkadot-parachains/integritee-runtime/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-runtime/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;
    |                                              ~~~