Skip to content

feat(spike): cross-chain nonfungible implementation #2043

feat(spike): cross-chain nonfungible implementation

feat(spike): cross-chain nonfungible implementation #2043

Triggered via pull request December 13, 2024 04:03
@chungquantinchungquantin
synchronize #400
Status Success
Total duration 10s
Artifacts

lint-pr.yml

on: pull_request_target
Validate PR title for conventional commit compliance
2s
Validate PR title for conventional commit compliance
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 57 warnings
mismatched types: pallets/nfts/src/benchmarking.rs#L930
error[E0308]: mismatched types --> pallets/nfts/src/benchmarking.rs:930:4 | 928 | assert_ok!(Nfts::<T, I>::force_mint( | ------------------------ arguments to this function are incorrect 929 | SystemOrigin::Root.into(), 930 | &collection, | ^^^^^^^^^^^ expected associated type, found `&<T as Config<I>>::CollectionId` | = note: expected associated type `_` found reference `&_` note: associated function defined here --> pallets/nfts/src/lib.rs:1018:10 | 1018 | pub fn force_mint( | ^^^^^^^^^^ 1019 | origin: OriginFor<T>, 1020 | collection: T::CollectionId, | --------------------------- help: consider removing the borrow | 930 - &collection, 930 + collection, |
mismatched types: pallets/nfts/src/benchmarking.rs#L930
error[E0308]: mismatched types --> pallets/nfts/src/benchmarking.rs:930:4 | 928 | assert_ok!(Nfts::<T, I>::force_mint( | ------------------------ arguments to this function are incorrect 929 | SystemOrigin::Root.into(), 930 | &collection, | ^^^^^^^^^^^ expected associated type, found `&<T as Config<I>>::CollectionId` | = note: expected associated type `_` found reference `&_` note: associated function defined here --> pallets/nfts/src/lib.rs:1018:10 | 1018 | pub fn force_mint( | ^^^^^^^^^^ 1019 | origin: OriginFor<T>, 1020 | collection: T::CollectionId, | --------------------------- help: consider removing the borrow | 930 - &collection, 930 + collection, |
Validate PR title for conventional commit compliance
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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`
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 an associated function: runtime/common/src/lib.rs#L127
warning: missing documentation for an associated function --> runtime/common/src/lib.rs:127:3 | 127 | 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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/common/src/xcm/mod.rs#L1
warning: missing documentation for a module --> runtime/common/src/xcm/mod.rs:1:1 | 1 | pub mod nonfungibles_adapter; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a function: runtime/common/src/lib.rs#L54
warning: missing documentation for a function --> runtime/common/src/lib.rs:54:1 | 54 | pub const fn deposit(items: u32, bytes: u32) -> Balance { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L51
warning: missing documentation for a constant --> runtime/common/src/lib.rs:51:1 | 51 | pub const MICROUNIT: Balance = UNIT / 1_000_000; // 10_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L50
warning: missing documentation for a constant --> runtime/common/src/lib.rs:50:1 | 50 | pub const MILLIUNIT: Balance = UNIT / 1_000; // 10_000_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 UNIT: Balance = 10_000_000_000; // 10 decimals | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L33
warning: missing documentation for a constant --> runtime/common/src/lib.rs:33:1 | 33 | pub const DAYS: BlockNumber = HOURS * 24; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L32
warning: missing documentation for a constant --> runtime/common/src/lib.rs:32:1 | 32 | pub const HOURS: BlockNumber = MINUTES * 60; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L24
warning: missing documentation for a constant --> runtime/common/src/lib.rs:24:1 | 24 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: runtime/common/src/lib.rs#L9
warning: missing documentation for a module --> runtime/common/src/lib.rs:9:1 | 9 | pub mod xcm; | ^^^^^^^^^^^
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 ... | 138 | | } 139 | | } | |_^ | = 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/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 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/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 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 an associated function: runtime/common/src/lib.rs#L127
warning: missing documentation for an associated function --> runtime/common/src/lib.rs:127:3 | 127 | 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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:78:2 | 78 | / parameter_types! { 79 | | // One storage item; key size 32, value size 8; . 80 | | pub const ProxyDepositBase: Balance = deposit(1, 40); 81 | | // Additional storage item size of 33 bytes. ... | 87 | | pub const MaxPending: u16 = 32; 88 | | } | |_____^ | = 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/common/src/xcm/mod.rs#L1
warning: missing documentation for a module --> runtime/common/src/xcm/mod.rs:1:1 | 1 | pub mod nonfungibles_adapter; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a function: runtime/common/src/lib.rs#L54
warning: missing documentation for a function --> runtime/common/src/lib.rs:54:1 | 54 | pub const fn deposit(items: u32, bytes: u32) -> Balance { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L51
warning: missing documentation for a constant --> runtime/common/src/lib.rs:51:1 | 51 | pub const MICROUNIT: Balance = UNIT / 1_000_000; // 10_000 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L50
warning: missing documentation for a constant --> runtime/common/src/lib.rs:50:1 | 50 | pub const MILLIUNIT: Balance = UNIT / 1_000; // 10_000_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 UNIT: Balance = 10_000_000_000; // 10 decimals | ^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L33
warning: missing documentation for a constant --> runtime/common/src/lib.rs:33:1 | 33 | pub const DAYS: BlockNumber = HOURS * 24; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L32
warning: missing documentation for a constant --> runtime/common/src/lib.rs:32:1 | 32 | pub const HOURS: BlockNumber = MINUTES * 60; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 MINUTES: BlockNumber = 60_000 / (MILLISECS_PER_BLOCK as BlockNumber); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a constant: runtime/common/src/lib.rs#L24
warning: missing documentation for a constant --> runtime/common/src/lib.rs:24:1 | 24 | pub const SLOT_DURATION: u64 = MILLISECS_PER_BLOCK; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
missing documentation for a module: runtime/common/src/lib.rs#L9
warning: missing documentation for a module --> runtime/common/src/lib.rs:9:1 | 9 | pub mod xcm; | ^^^^^^^^^^^
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 ... | 138 | | } 139 | | } | |_^ | = note: requested on the command line with `-W missing-docs`