Skip to content

feat(messaging): introduce messaging into testnet runtime #3078

feat(messaging): introduce messaging into testnet runtime

feat(messaging): introduce messaging into testnet runtime #3078

GitHub Actions / clippy failed Mar 1, 2025 in 4s

clippy

1 error, 310 warnings

Details

Results

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

Versions

  • rustc 1.85.0 (4d91de4e4 2025-02-17)
  • cargo 1.85.0 (d73d2caf9 2024-12-31)
  • clippy 0.1.85 (4d91de4e48 2025-02-17)

Annotations

Check failure on line 401 in node/src/command.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

failed to resolve: could not find `SS58Prefix` in `pop_runtime_testnet`

error[E0433]: failed to resolve: could not find `SS58Prefix` in `pop_runtime_testnet`
   --> node/src/command.rs:401:30
    |
401 | ...                   pop_runtime_testnet::SS58Prefix::get().into(),
    |                                            ^^^^^^^^^^ could not find `SS58Prefix` in `pop_runtime_testnet`
    |
help: consider importing one of these structs
    |
1   + use pop_runtime_devnet::SS58Prefix;
    |
1   + use pop_runtime_mainnet::config::system::SS58Prefix;
    |
1   + use pop_runtime_testnet::config::system::SS58Prefix;
    |
help: if you import `SS58Prefix`, refer to it directly
    |
401 -                                 pop_runtime_testnet::SS58Prefix::get().into(),
401 +                                 SS58Prefix::get().into(),
    |

Check warning on line 148 in runtime/devnet/src/config/xcm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/devnet/src/config/xcm.rs:148:1
    |
148 | pub struct XcmConfig;
    | ^^^^^^^^^^^^^^^^^^^^

Check warning on line 101 in runtime/devnet/src/config/xcm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/devnet/src/config/xcm.rs:101:1
    |
101 | pub type Barrier = TrailingSetTopicAsId<(
    | ^^^^^^^^^^^^^^^^

Check warning on line 94 in runtime/devnet/src/config/xcm.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:94:1
   |
94 | pub struct ParentOrParentsExecutivePlurality;
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:87:1
   |
87 | / parameter_types! {
88 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | |     pub const MaxInstructions: u32 = 100;
91 | |     pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:87:1
   |
87 | / parameter_types! {
88 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | |     pub const MaxInstructions: u32 = 100;
91 | |     pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:87:1
   |
87 | / parameter_types! {
88 | |     // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
89 | |     pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
90 | |     pub const MaxInstructions: u32 = 100;
91 | |     pub const MaxAssetsIntoHolding: u32 = 64;
92 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/xcm.rs:28:1
   |
28 | / parameter_types! {
29 | |     pub const RelayLocation: Location = Location::parent();
30 | |     pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
...  |
36 | |     pub UniversalLocation: InteriorLocation = Parachain(ParachainInfo::parachain_id().into()).into();
37 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 125 in runtime/devnet/src/config/assets.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a type alias

warning: missing documentation for a type alias
   --> runtime/devnet/src/config/assets.rs:125:1
    |
125 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/devnet/src/config/assets.rs:98:1
    |
98  | / parameter_types! {
99  | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/devnet/src/config/assets.rs:98:1
    |
98  | / parameter_types! {
99  | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
    | |_^
    |
    = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
   --> runtime/devnet/src/config/assets.rs:98:1
    |
98  | / parameter_types! {
99  | |     pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
100 | |     pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
101 | |     pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
102 | | }
    | |_^
    |
    = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 276 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 288 in /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

missing documentation for a struct

warning: missing documentation for a struct
  --> runtime/devnet/src/config/assets.rs:31:1
   |
31 | / parameter_types! {
32 | |     pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
33 | |     // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
34 | |     pub const NftsCollectionBalanceDeposit: Balance = deposit(1, 120);
...  |
42 | |     pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
43 | | }
   | |_^
   |
   = note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)