refactor(nfts): AccountBalance
deposit
#1245
Triggered via pull request
December 26, 2024 04:44
Status
Success
Total duration
1h 0m 45s
Artifacts
–
ci.yml
on: pull_request
lint
1m 4s
api-tests
3m 13s
api-integration-tests-devnet
22m 37s
api-integration-tests-testnet
23m 3s
check
18m 9s
check-ismp
17m 17s
clippy
1m 7s
clippy-ismp
1m 16s
test
49m 41s
integration-tests
18m 40s
coverage
30m 13s
Annotations
502 warnings
lint
Unsupported Cargo.lock format, fallback to caching entire file
|
api-tests
Unsupported Cargo.lock format, fallback to caching entire file
|
large size difference between variants:
node/src/cli.rs#L5
warning: large size difference between variants
--> node/src/cli.rs:5:1
|
5 | / pub enum Subcommand {
6 | | /// Build a chain specification.
7 | | BuildSpec(sc_cli::BuildSpecCmd),
... |
19 | | ImportBlocks(sc_cli::ImportBlocksCmd),
| | ------------------------------------- the second-largest variant contains at least 240 bytes
... |
39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd),
| | ----------------------------------------------- the largest variant contains at least 544 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
44 | | }
| |_^ the entire enum is at least 544 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
39 | Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
field `backend` is never read:
node/src/rpc.rs#L34
warning: field `backend` is never read
--> node/src/rpc.rs:34:6
|
26 | pub struct FullDeps<C, P, B> {
| -------- field in this struct
...
34 | pub backend: Arc<B>,
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L128
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:128:1
|
128 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:126:1
|
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a type alias:
runtime/devnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L8
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:8:1
|
8 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L979
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:979:4
|
961 | / fn dispatch_benchmark(
962 | | config: frame_benchmarking::BenchmarkConfig
963 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
979 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L967
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:967:4
|
961 | / fn dispatch_benchmark(
962 | | config: frame_benchmarking::BenchmarkConfig
963 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
967 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:479:1
|
479 | / parameter_types! {
480 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
481 | | RuntimeBlockWeights::get().max_block;
482 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:423:1
|
423 | / parameter_types! {
424 | | pub const Period: u32 = 6 * HOURS;
425 | | pub const Offset: u32 = 0;
426 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:423:1
|
423 | / parameter_types! {
424 | | pub const Period: u32 = 6 * HOURS;
425 | | pub const Offset: u32 = 0;
426 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:377:1
|
377 | / parameter_types! {
378 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
379 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:306:1
|
306 | / parameter_types! {
307 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
308 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/devnet/src/lib.rs#L179
warning: missing documentation for a constant
--> runtime/devnet/src/lib.rs:179:1
|
179 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/devnet/src/lib.rs:10:1
|
10 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L128
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:126:1
|
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a type alias:
runtime/testnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L7
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:7:1
|
7 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L981
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:981:4
|
963 | / fn dispatch_benchmark(
964 | | config: frame_benchmarking::BenchmarkConfig
965 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
981 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:486:1
|
486 | / parameter_types! {
487 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
488 | | RuntimeBlockWeights::get().max_block;
489 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:430:1
|
430 | / parameter_types! {
431 | | pub const Period: u32 = 6 * HOURS;
432 | | pub const Offset: u32 = 0;
433 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:430:1
|
430 | / parameter_types! {
431 | | pub const Period: u32 = 6 * HOURS;
432 | | pub const Offset: u32 = 0;
433 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:379:1
|
379 | / parameter_types! {
380 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
381 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:308:1
|
308 | / parameter_types! {
309 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
310 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L181
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:181:1
|
181 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:174:1
|
174 | / impl_opaque_keys! {
175 | | pub struct SessionKeys {
176 | | pub aura: Aura,
177 | | }
178 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:174:1
|
174 | / impl_opaque_keys! {
175 | | pub struct SessionKeys {
176 | | pub aura: Aura,
177 | | }
178 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:10:1
|
10 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a function:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a function
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L136
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:136:2
|
136 | pub const MILLICENTS: Balance = CENTS / 1_000; // 100_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L135
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:135:2
|
135 | pub const CENTS: Balance = MILLIUNIT * 10; // 100_000_000
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/mainnet/src/config/xcm.rs#L124
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:124:1
|
124 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/mainnet/src/config/xcm.rs#L117
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/xcm.rs:117:1
|
117 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/mainnet/src/config/xcm.rs#L93
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/xcm.rs:93:1
|
93 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
37 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/mainnet/src/config/mod.rs#L2
warning: missing documentation for a module
--> runtime/mainnet/src/config/mod.rs:2:1
|
2 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a module
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/lib.rs#L889
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/lib.rs:889:4
|
871 | / fn dispatch_benchmark(
872 | | config: frame_benchmarking::BenchmarkConfig
873 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
889 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/lib.rs#L877
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/lib.rs:877:4
|
871 | / fn dispatch_benchmark(
872 | | config: frame_benchmarking::BenchmarkConfig
873 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
877 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a struct:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:562:1
|
562 | / parameter_types! {
563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
564 | | pub const DepositBase: Balance = deposit(1, 88);
565 | | // Additional storage item size of 32 bytes.
566 | | pub const DepositFactor: Balance = deposit(0, 32);
567 | | pub const MaxSignatories: u32 = 100;
568 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:562:1
|
562 | / parameter_types! {
563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
564 | | pub const DepositBase: Balance = deposit(1, 88);
565 | | // Additional storage item size of 32 bytes.
566 | | pub const DepositFactor: Balance = deposit(0, 32);
567 | | pub const MaxSignatories: u32 = 100;
568 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:562:1
|
562 | / parameter_types! {
563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
564 | | pub const DepositBase: Balance = deposit(1, 88);
565 | | // Additional storage item size of 32 bytes.
566 | | pub const DepositFactor: Balance = deposit(0, 32);
567 | | pub const MaxSignatories: u32 = 100;
568 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:522:1
|
522 | / parameter_types! {
523 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
524 | | RuntimeBlockWeights::get().max_block;
525 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:494:1
|
494 | / parameter_types! {
495 | | pub const PotId: PalletId = PalletId(*b"PotStake");
496 | | // StakingAdmin pluralistic body.
497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
498 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:494:1
|
494 | / parameter_types! {
495 | | pub const PotId: PalletId = PalletId(*b"PotStake");
496 | | // StakingAdmin pluralistic body.
497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
498 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const Period: u32 = 6 * HOURS;
469 | | pub const Offset: u32 = 0;
470 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const Period: u32 = 6 * HOURS;
469 | | pub const Offset: u32 = 0;
470 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block;
424 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block;
424 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:370:1
|
370 | / parameter_types! {
371 | | /// Relay Chain `TransactionByteFee` / 10
372 | | pub const TransactionByteFee: Balance = fee::TRANSACTION_BYTE_FEE;
373 | | pub SudoAddress: AccountId = AccountId::from_ss58check("15NMV2JX1NeMwarQiiZvuJ8ixUcvayFDcu1F9Wz1HNpSc8gP").expect("sudo address is va...
374 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:347:1
|
347 | / parameter_types! {
348 | | // increase ED 100 times to match system chains: 1_000_000_000
349 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT * 100;
350 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L235
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:235:1
|
235 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:228:1
|
228 | / impl_opaque_keys! {
229 | | pub struct SessionKeys {
230 | | pub aura: Aura,
231 | | }
232 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:228:1
|
228 | / impl_opaque_keys! {
229 | | pub struct SessionKeys {
230 | | pub aura: Aura,
231 | | }
232 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a function:
runtime/mainnet/src/lib.rs#L116
warning: missing documentation for a function
--> runtime/mainnet/src/lib.rs:116:1
|
116 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/mainnet/src/lib.rs#L9
warning: missing documentation for a module
--> runtime/mainnet/src/lib.rs:9:1
|
9 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
integration-tests/src/lib.rs#L1
warning: missing documentation for the crate
--> integration-tests/src/lib.rs:1:1
|
1 | / #![cfg(test)]
2 | |
3 | | use asset_hub_paseo_runtime::xcm_config::XcmConfig as AssetHubPaseoXcmConfig;
4 | | use asset_test_utils::xcm_helpers;
... |
597 | | });
598 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
node/build.rs#L1
warning: missing documentation for the crate
--> node/build.rs:1:1
|
1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
2 | |
3 | | fn main() {
4 | | generate_cargo_keys();
5 | |
6 | | rerun_if_git_head_changed();
7 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a module:
pallets/api/src/lib.rs#L6
warning: missing documentation for a module
--> pallets/api/src/lib.rs:6:1
|
6 | pub mod extension;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
pallets/api/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/api/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | pub use extension::Extension;
4 | | use frame_support::pallet_prelude::Weight;
... |
29 | | fn read(request: Self::Read) -> Self::Result;
30 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
runtime/testnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/testnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("PAS", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
extension/src/lib.rs#L1
warning: missing documentation for the crate
--> extension/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | use core::marker::PhantomData;
... |
229 | | }
230 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L125
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:125:3
|
125 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a function:
runtime/common/src/lib.rs#L52
warning: missing documentation for a function
--> runtime/common/src/lib.rs:52:1
|
52 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L49
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:49:1
|
49 | pub const MICROUNIT: Balance = UNIT / 1_000_000; // 10_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L48
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:48:1
|
48 | pub const MILLIUNIT: Balance = UNIT / 1_000; // 10_000_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L46
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:46:1
|
46 | pub const UNIT: Balance = 10_000_000_000; // 10 decimals
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L31
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:31:1
|
31 | pub const DAYS: BlockNumber = HOURS * 24;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L30
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:30:1
|
30 | pub const HOURS: BlockNumber = MINUTES * 60;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L29
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:29:1
|
29 | pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L22
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:22:1
|
22 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/common/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/common/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
3 | | // Cumulus types re-export
4 | | // These types are shared between the devnet and testnet runtimes
... |
136 | | }
137 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
very complex type used. Consider factoring parts into `type` definitions:
extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions
--> extension/src/functions.rs:83:2
|
83 | PhantomData<(M, C, R, D, F, RC, E, L)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
the following explicit lifetimes could be elided: 'a:
extension/src/environment.rs#L185
warning: the following explicit lifetimes could be elided: 'a
--> extension/src/environment.rs:185:6
|
185 | impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
185 - impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
185 + impl<E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'_, E> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L145
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:145:6
|
145 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufOut
| ^^ ^^
146 | for Env<'a, 'b, E, BufInBufOutState>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
145 ~ impl<E: pallet_contracts::chain_extension::Ext> BufOut
146 ~ for Env<'_, '_, E, BufInBufOutState>
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L114
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:114:6
|
114 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
114 - impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
114 + impl<E: pallet_contracts::chain_extension::Ext> BufIn for Env<'_, '_, E, BufInBufOutState> {
|
|
missing documentation for the crate:
runtime/mainnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("DOT", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
runtime/devnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/devnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("PAS", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
clippy
Unsupported Cargo.lock format, fallback to caching entire file
|
large size difference between variants:
node/src/cli.rs#L5
warning: large size difference between variants
--> node/src/cli.rs:5:1
|
5 | / pub enum Subcommand {
6 | | /// Build a chain specification.
7 | | BuildSpec(sc_cli::BuildSpecCmd),
... |
19 | | ImportBlocks(sc_cli::ImportBlocksCmd),
| | ------------------------------------- the second-largest variant contains at least 240 bytes
... |
39 | | Benchmark(frame_benchmarking_cli::BenchmarkCmd),
| | ----------------------------------------------- the largest variant contains at least 544 bytes
... |
43 | | Key(sc_cli::KeySubcommand),
44 | | }
| |_^ the entire enum is at least 544 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
39 | Benchmark(Box<frame_benchmarking_cli::BenchmarkCmd>),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L128
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:128:1
|
128 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:126:1
|
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/devnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/devnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/devnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/devnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a type alias:
runtime/devnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L8
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:8:1
|
8 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/devnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/devnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L979
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:979:4
|
961 | / fn dispatch_benchmark(
962 | | config: frame_benchmarking::BenchmarkConfig
963 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
979 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/devnet/src/lib.rs#L967
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/devnet/src/lib.rs:967:4
|
961 | / fn dispatch_benchmark(
962 | | config: frame_benchmarking::BenchmarkConfig
963 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
967 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/devnet/src/lib.rs#L544
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:544:1
|
544 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:519:1
|
519 | / parameter_types! {
520 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
521 | | pub const DepositBase: Balance = deposit(1, 88);
522 | | // Additional storage item size of 32 bytes.
523 | | pub const DepositFactor: Balance = deposit(0, 32);
524 | | pub const MaxSignatories: u32 = 100;
525 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:500:1
|
500 | / parameter_types! {
501 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
502 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
503 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
504 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:479:1
|
479 | / parameter_types! {
480 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
481 | | RuntimeBlockWeights::get().max_block;
482 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:450:1
|
450 | / parameter_types! {
451 | | pub const PotId: PalletId = PalletId(*b"PotStake");
452 | | pub const SessionLength: BlockNumber = 6 * HOURS;
453 | | // StakingAdmin pluralistic body.
454 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
455 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:423:1
|
423 | / parameter_types! {
424 | | pub const Period: u32 = 6 * HOURS;
425 | | pub const Offset: u32 = 0;
426 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:423:1
|
423 | / parameter_types! {
424 | | pub const Period: u32 = 6 * HOURS;
425 | | pub const Offset: u32 = 0;
426 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:377:1
|
377 | / parameter_types! {
378 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
379 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:348:1
|
348 | / parameter_types! {
349 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
350 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
351 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
352 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:306:1
|
306 | / parameter_types! {
307 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
308 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:209:1
|
209 | / parameter_types! {
210 | | pub const Version: RuntimeVersion = VERSION;
211 | |
212 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
236 | | pub const SS58Prefix: u16 = 42;
237 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/devnet/src/lib.rs#L179
warning: missing documentation for a constant
--> runtime/devnet/src/lib.rs:179:1
|
179 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:172:1
|
172 | / impl_opaque_keys! {
173 | | pub struct SessionKeys {
174 | | pub aura: Aura,
175 | | }
176 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/devnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/devnet/src/lib.rs:10:1
|
10 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-21b5552a4f556cd6/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L128
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L126
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:126:1
|
126 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L101
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:101:1
|
101 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L94
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:94:1
|
94 | pub struct ParentOrParentsExecutivePlurality;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/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)]);
31 | | // Note: Paseo currently uses Polkadot https://github.com/paseo-network/runtimes/blob/abc4ae9c5ae8f0166aab7ef2b427b3c2c6d5ce5c/relay/...
... |
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)
|
missing documentation for a type alias:
runtime/testnet/src/config/assets.rs#L106
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:106:1
|
106 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:79:1
|
79 | / parameter_types! {
80 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
81 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
82 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
83 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:30:1
|
30 | / parameter_types! {
31 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
32 | | // Key = 68 bytes (4+16+32+16), Value = 52 bytes (4+32+16)
33 | | pub const NftsBalanceDeposit: Balance = deposit(1, 120);
... |
41 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
42 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:19:1
|
19 | / parameter_types! {
20 | | pub const AssetDeposit: Balance = 10 * UNIT;
21 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
22 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
27 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
28 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L7
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:7:1
|
7 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L981
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:981:4
|
963 | / fn dispatch_benchmark(
964 | | config: frame_benchmarking::BenchmarkConfig
965 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
981 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/lib.rs#L969
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/lib.rs:969:4
|
963 | / fn dispatch_benchmark(
964 | | config: frame_benchmarking::BenchmarkConfig
965 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
969 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L661
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:661:1
|
661 | / impl_runtime_apis! {
662 | |
663 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
664 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1007 | | }
1008 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/testnet/src/lib.rs#L551
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:551:1
|
551 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:526:1
|
526 | / parameter_types! {
527 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
528 | | pub const DepositBase: Balance = deposit(1, 88);
529 | | // Additional storage item size of 32 bytes.
530 | | pub const DepositFactor: Balance = deposit(0, 32);
531 | | pub const MaxSignatories: u32 = 100;
532 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:507:1
|
507 | / parameter_types! {
508 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
509 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
510 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
511 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:486:1
|
486 | / parameter_types! {
487 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
488 | | RuntimeBlockWeights::get().max_block;
489 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:457:1
|
457 | / parameter_types! {
458 | | pub const PotId: PalletId = PalletId(*b"PotStake");
459 | | pub const SessionLength: BlockNumber = 6 * HOURS;
460 | | // StakingAdmin pluralistic body.
461 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
462 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:430:1
|
430 | / parameter_types! {
431 | | pub const Period: u32 = 6 * HOURS;
432 | | pub const Offset: u32 = 0;
433 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:430:1
|
430 | / parameter_types! {
431 | | pub const Period: u32 = 6 * HOURS;
432 | | pub const Offset: u32 = 0;
433 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:379:1
|
379 | / parameter_types! {
380 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
381 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:350:1
|
350 | / parameter_types! {
351 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
352 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
353 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
354 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:308:1
|
308 | / parameter_types! {
309 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
310 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / parameter_types! {
212 | | pub const Version: RuntimeVersion = VERSION;
213 | |
214 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
238 | | pub const SS58Prefix: u16 = 0;
239 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/testnet/src/lib.rs#L181
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:181:1
|
181 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:174:1
|
174 | / impl_opaque_keys! {
175 | | pub struct SessionKeys {
176 | | pub aura: Aura,
177 | | }
178 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:174:1
|
174 | / impl_opaque_keys! {
175 | | pub struct SessionKeys {
176 | | pub aura: Aura,
177 | | }
178 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:10:1
|
10 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-12af354b53bb72fe/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a function:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a function
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L136
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:136:2
|
136 | pub const MILLICENTS: Balance = CENTS / 1_000; // 100_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L135
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:135:2
|
135 | pub const CENTS: Balance = MILLIUNIT * 10; // 100_000_000
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/mainnet/src/config/xcm.rs#L124
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:124:1
|
124 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/mainnet/src/config/xcm.rs#L117
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/xcm.rs:117:1
|
117 | pub type TrustedReserves = (NativeAsset, NativeAssetFrom<AssetHub>);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/mainnet/src/config/xcm.rs#L93
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/xcm.rs:93:1
|
93 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:86:1
|
86 | / parameter_types! {
87 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
88 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
89 | | pub const MaxInstructions: u32 = 100;
90 | | pub const MaxAssetsIntoHolding: u32 = 64;
91 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:31:1
|
31 | / parameter_types! {
32 | | pub const RelayLocation: Location = Location::parent();
33 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
34 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
35 | | pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
36 | | pub UniversalLocation: InteriorLocation = [GlobalConsensus(RelayNetwork::get().unwrap()), Parachain(ParachainInfo::parachain_id().int...
37 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/mainnet/src/config/mod.rs#L2
warning: missing documentation for a module
--> runtime/mainnet/src/config/mod.rs:2:1
|
2 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/lib.rs#L889
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/lib.rs:889:4
|
871 | / fn dispatch_benchmark(
872 | | config: frame_benchmarking::BenchmarkConfig
873 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
889 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/lib.rs#L877
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/lib.rs:877:4
|
871 | / fn dispatch_benchmark(
872 | | config: frame_benchmarking::BenchmarkConfig
873 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, sp_runtime::RuntimeString> {
| |_______________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
877 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for a struct:
runtime/mainnet/src/lib.rs#L680
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:680:1
|
680 | / impl_runtime_apis! {
681 | |
682 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
683 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
915 | | }
916 | | }
| |_^
|
= note: this warning originates in the macro `impl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an associated function:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct field:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for an enum:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
runtime/mainnet/src/lib.rs#L587
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:587:1
|
587 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:562:1
|
562 | / parameter_types! {
563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
564 | | pub const DepositBase: Balance = deposit(1, 88);
565 | | // Additional storage item size of 32 bytes.
566 | | pub const DepositFactor: Balance = deposit(0, 32);
567 | | pub const MaxSignatories: u32 = 100;
568 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:562:1
|
562 | / parameter_types! {
563 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
564 | | pub const DepositBase: Balance = deposit(1, 88);
565 | | // Additional storage item size of 32 bytes.
566 | | pub const DepositFactor: Balance = deposit(0, 32);
567 | | pub const MaxSignatories: u32 = 100;
568 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:543:1
|
543 | / parameter_types! {
544 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
545 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
546 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
547 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:522:1
|
522 | / parameter_types! {
523 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
524 | | RuntimeBlockWeights::get().max_block;
525 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:494:1
|
494 | / parameter_types! {
495 | | pub const PotId: PalletId = PalletId(*b"PotStake");
496 | | // StakingAdmin pluralistic body.
497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
498 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:494:1
|
494 | / parameter_types! {
495 | | pub const PotId: PalletId = PalletId(*b"PotStake");
496 | | // StakingAdmin pluralistic body.
497 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
498 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const Period: u32 = 6 * HOURS;
469 | | pub const Offset: u32 = 0;
470 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:467:1
|
467 | / parameter_types! {
468 | | pub const Period: u32 = 6 * HOURS;
469 | | pub const Offset: u32 = 0;
470 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block;
424 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:421:1
|
421 | / parameter_types! {
422 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
423 | | pub MessageQueueIdleServiceWeight: Weight = Perbill::from_percent(20) * RuntimeBlockWeights::get().max_block;
424 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:392:1
|
392 | / parameter_types! {
393 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
394 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
395 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
396 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:370:1
|
370 | / parameter_types! {
371 | | /// Relay Chain `TransactionByteFee` / 10
372 | | pub const TransactionByteFee: Balance = fee::TRANSACTION_BYTE_FEE;
373 | | pub SudoAddress: AccountId = AccountId::from_ss58check("15NMV2JX1NeMwarQiiZvuJ8ixUcvayFDcu1F9Wz1HNpSc8gP").expect("sudo address is va...
374 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:347:1
|
347 | / parameter_types! {
348 | | // increase ED 100 times to match system chains: 1_000_000_000
349 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT * 100;
350 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L275
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:253:1
|
253 | / parameter_types! {
254 | | pub const Version: RuntimeVersion = VERSION;
255 | |
256 | | // This part is copied from Substrate's `bin/node/runtime/src/lib.rs`.
... |
280 | | pub const SS58Prefix: u16 = 0;
281 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a constant:
runtime/mainnet/src/lib.rs#L235
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:235:1
|
235 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2028
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:228:1
|
228 | / impl_opaque_keys! {
229 | | pub struct SessionKeys {
230 | | pub aura: Aura,
231 | | }
232 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp-runtime-38.0.0/src/traits.rs#L2025
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:228:1
|
228 | / impl_opaque_keys! {
229 | | pub struct SessionKeys {
230 | | pub aura: Aura,
231 | | }
232 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a function:
runtime/mainnet/src/lib.rs#L116
warning: missing documentation for a function
--> runtime/mainnet/src/lib.rs:116:1
|
116 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
runtime/mainnet/src/lib.rs#L9
warning: missing documentation for a module
--> runtime/mainnet/src/lib.rs:9:1
|
9 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs:1:45
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-92b5d8b80c84fe42/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> = None;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
node/build.rs#L1
warning: missing documentation for the crate
--> node/build.rs:1:1
|
1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
2 | |
3 | | fn main() {
4 | | generate_cargo_keys();
5 | |
6 | | rerun_if_git_head_changed();
7 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a module:
pallets/api/src/lib.rs#L6
warning: missing documentation for a module
--> pallets/api/src/lib.rs:6:1
|
6 | pub mod extension;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
pallets/api/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/api/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | pub use extension::Extension;
4 | | use frame_support::pallet_prelude::Weight;
... |
29 | | fn read(request: Self::Read) -> Self::Result;
30 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L125
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:125:3
|
125 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= 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)
|
missing documentation for a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-support-36.0.0/src/lib.rs#L263
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:76:2
|
76 | / parameter_types! {
77 | | // One storage item; key size 32, value size 8; .
78 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
79 | | // Additional storage item size of 33 bytes.
... |
85 | | pub const MaxPending: u16 = 32;
86 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a function:
runtime/common/src/lib.rs#L52
warning: missing documentation for a function
--> runtime/common/src/lib.rs:52:1
|
52 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L49
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:49:1
|
49 | pub const MICROUNIT: Balance = UNIT / 1_000_000; // 10_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L48
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:48:1
|
48 | pub const MILLIUNIT: Balance = UNIT / 1_000; // 10_000_000
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L46
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:46:1
|
46 | pub const UNIT: Balance = 10_000_000_000; // 10 decimals
| ^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L31
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:31:1
|
31 | pub const DAYS: BlockNumber = HOURS * 24;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L30
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:30:1
|
30 | pub const HOURS: BlockNumber = MINUTES * 60;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L29
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:29:1
|
29 | pub const MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
runtime/common/src/lib.rs#L22
warning: missing documentation for a constant
--> runtime/common/src/lib.rs:22:1
|
22 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/common/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/common/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | use frame_support::weights::{constants::WEIGHT_REF_TIME_PER_SECOND, Weight};
3 | | // Cumulus types re-export
4 | | // These types are shared between the devnet and testnet runtimes
... |
136 | | }
137 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
extension/src/lib.rs#L1
warning: missing documentation for the crate
--> extension/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | use core::marker::PhantomData;
... |
229 | | }
230 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
very complex type used. Consider factoring parts into `type` definitions:
extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions
--> extension/src/functions.rs:83:2
|
83 | PhantomData<(M, C, R, D, F, RC, E, L)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
the following explicit lifetimes could be elided: 'a:
extension/src/environment.rs#L185
warning: the following explicit lifetimes could be elided: 'a
--> extension/src/environment.rs:185:6
|
185 | impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
185 - impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
185 + impl<E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'_, E> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L145
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:145:6
|
145 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufOut
| ^^ ^^
146 | for Env<'a, 'b, E, BufInBufOutState>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
145 ~ impl<E: pallet_contracts::chain_extension::Ext> BufOut
146 ~ for Env<'_, '_, E, BufInBufOutState>
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L114
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:114:6
|
114 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
114 - impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
114 + impl<E: pallet_contracts::chain_extension::Ext> BufIn for Env<'_, '_, E, BufInBufOutState> {
|
|
missing documentation for the crate:
runtime/devnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/devnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("PAS", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
runtime/mainnet/build.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/build.rs:1:1
|
1 | / #[cfg(all(feature = "std", feature = "metadata-hash"))]
2 | | fn main() {
3 | | substrate_wasm_builder::WasmBuilder::init_with_defaults()
4 | | .enable_metadata_hash("DOT", 10)
... |
15 | | #[cfg(not(feature = "std"))]
16 | | fn main() {}
| |____________^
|
= note: requested on the command line with `-W missing-docs`
|
clippy-ismp
Unsupported Cargo.lock format, fallback to caching entire file
|
check
Unsupported Cargo.lock format, fallback to caching entire file
|
check-ismp
Unsupported Cargo.lock format, fallback to caching entire file
|
api-integration-tests-devnet
Unsupported Cargo.lock format, fallback to caching entire file
|
api-integration-tests-testnet
Unsupported Cargo.lock format, fallback to caching entire file
|
integration-tests
Unsupported Cargo.lock format, fallback to caching entire file
|
coverage
Unsupported Cargo.lock format, fallback to caching entire file
|
test
Unsupported Cargo.lock format, fallback to caching entire file
|