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

add check metadatahash signed extension #297

Merged
merged 11 commits into from
Jul 1, 2024

fix SignedExtension

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

add check metadatahash signed extension #297

fix SignedExtension
e4c2542
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Jul 1, 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

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: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

See this annotation in the file changed.

@github-actions 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