feat(devnet): add pallet-revive #1427
lint-pr.yml
on: pull_request_target
Validate PR title for conventional commit compliance
2s
Annotations
651 warnings
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 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)
|
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 `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 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-db528f0c90862d8c/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-db528f0c90862d8c/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-db528f0c90862d8c/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-db528f0c90862d8c/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/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#L100
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:100:1
|
100 | 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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;
| ^^^^^^^^^^^^^^
|
missing documentation for an associated function:
runtime/devnet/src/lib.rs#L541
warning: missing documentation for an associated function
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for a type alias
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for a struct field
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:476:1
|
476 | / parameter_types! {
477 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
478 | | RuntimeBlockWeights::get().max_block;
479 | | }
| |_^
|
= 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:447:1
|
447 | / parameter_types! {
448 | | pub const PotId: PalletId = PalletId(*b"PotStake");
449 | | pub const SessionLength: BlockNumber = 6 * HOURS;
450 | | // StakingAdmin pluralistic body.
451 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
452 | | }
| |_^
|
= 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:447:1
|
447 | / parameter_types! {
448 | | pub const PotId: PalletId = PalletId(*b"PotStake");
449 | | pub const SessionLength: BlockNumber = 6 * HOURS;
450 | | // StakingAdmin pluralistic body.
451 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
452 | | }
| |_^
|
= 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:447:1
|
447 | / parameter_types! {
448 | | pub const PotId: PalletId = PalletId(*b"PotStake");
449 | | pub const SessionLength: BlockNumber = 6 * HOURS;
450 | | // StakingAdmin pluralistic body.
451 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
452 | | }
| |_^
|
= 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:420:1
|
420 | / parameter_types! {
421 | | pub const Period: u32 = 6 * HOURS;
422 | | pub const Offset: u32 = 0;
423 | | }
| |_^
|
= 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:420:1
|
420 | / parameter_types! {
421 | | pub const Period: u32 = 6 * HOURS;
422 | | pub const Offset: u32 = 0;
423 | | }
| |_^
|
= 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:374:1
|
374 | / parameter_types! {
375 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
376 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:303:1
|
303 | / parameter_types! {
304 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
305 | | }
| |_^
|
= 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-dd7a667c037dbdb7/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-dd7a667c037dbdb7/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-dd7a667c037dbdb7/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-dd7a667c037dbdb7/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 function:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a function
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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 module:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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#L659
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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 struct:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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#L554
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:489:1
|
489 | / parameter_types! {
490 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
491 | | RuntimeBlockWeights::get().max_block;
492 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= 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:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= 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:382:1
|
382 | / parameter_types! {
383 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
384 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:311:1
|
311 | / parameter_types! {
312 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
313 | | }
| |_^
|
= 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: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 = 0;
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/testnet/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 = 0;
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/testnet/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 = 0;
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/testnet/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 = 0;
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/testnet/src/lib.rs#L179
warning: missing documentation for a constant
--> runtime/testnet/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/testnet/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/testnet/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 constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/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-2bfac1a3e3919165/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/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:
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:
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`
|
you are using an explicit closure for cloning elements:
pallets/revive/proc-macro/src/lib.rs#L576
warning: you are using an explicit closure for cloning elements
--> pallets/revive/proc-macro/src/lib.rs:576:17
|
576 | sig.inputs = sig
| __________________________^
577 | | .inputs
578 | | .iter()
579 | | .skip(2)
580 | | .map(|p| p.clone())
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
|
576 ~ sig.inputs = sig
577 ~ .inputs
578 ~ .iter()
579 ~ .skip(2).cloned()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L317
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:317:23
|
317 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L314
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:314:25
|
314 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L309
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:309:34
|
309 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L303
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:303:35
|
303 | ... _ => Err(err(ok_ty.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L299
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:299:38
|
299 | ... return Err(err(arg1.span(), &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L294
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:294:33
|
294 | ... .ok_or(err(arg1.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L287
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:287:34
|
287 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L284
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:284:53
|
284 | let arg1 = group.args.first().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L282
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:282:24
|
282 | .ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L278
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:278:32
|
278 | ... _ => Err(err(tp.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L275
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:275:33
|
275 | ... .ok_or(err(arg2.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L267
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:267:34
|
267 | ... _ => Err(err(arg2.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L263
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:263:52
|
263 | let arg2 = group.args.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L260
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:260:29
|
260 | ... return Err(err(span, &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L255
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:255:64
|
255 | id.eq(&"Result".to_string()).then_some(()).ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L253
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:253:59
|
253 | let result = &tp.path.segments.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L249
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:249:23
|
249 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the function `expand_env` doesn't need a mutable reference:
pallets/revive/proc-macro/src/lib.rs#L108
warning: the function `expand_env` doesn't need a mutable reference
--> pallets/revive/proc-macro/src/lib.rs:108:29
|
108 | Ok(mut def) => expand_env(&mut def).into(),
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L66
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:66:5
|
66 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L65
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:65:5
|
65 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L64
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:64:5
|
64 | /// fn bar(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<u32, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L63
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:63:5
|
63 | /// #[unstable]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L62
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:62:5
|
62 | /// #[version(3)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L60
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:60:5
|
60 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L59
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:59:5
|
59 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L58
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:58:5
|
58 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<ReturnErrorCode, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L57
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:57:5
|
57 | /// #[version(2)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L43
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:43:5
|
43 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L42
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:42:5
|
42 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L41
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:41:5
|
41 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<(), TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
= note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
|
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 a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bounded-collections-0.2.0/src/lib.rs#L179
warning: missing documentation for a struct
--> pallets/revive/src/lib.rs:326:3
|
326 | / parameter_types! {
327 | | pub const DepositPerItem: Balance = deposit(1, 0);
328 | | pub const DepositPerByte: Balance = deposit(0, 1);
329 | | pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
330 | | }
| |_________^
|
= 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 field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:64
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:54
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:42
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:60
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:50
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:38
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:66
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:34
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:17
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:61
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:33
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:16
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L386
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:386:34
|
386 | Instantiated { deployer: H160, contract: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L386
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:386:18
|
386 | Instantiated { deployer: H160, contract: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/test_utils/builder.rs#L80
warning: missing documentation for a struct field
--> pallets/revive/src/test_utils/builder.rs:80:2
|
80 | pub addr: H160,
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/test_utils/builder.rs#L79
warning: missing documentation for a struct field
--> pallets/revive/src/test_utils/builder.rs:79:2
|
79 | pub account_id: AccountIdOf<T>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/revive/src/test_utils/builder.rs#L78
warning: missing documentation for a struct
--> pallets/revive/src/test_utils/builder.rs:78:1
|
78 | pub struct Contract<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a function:
pallets/revive/src/test_utils.rs#L65
warning: missing documentation for a function
--> pallets/revive/src/test_utils.rs:65:1
|
65 | pub fn deposit_limit<T: Config>() -> BalanceOf<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L63
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:63:1
|
63 | pub const GAS_LIMIT: Weight = Weight::from_parts(100_000_000_000, 3 * 1024 * 1024);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L61
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:61:1
|
61 | pub const ETH_DJANGO: AccountId32 = ee_suffix(DJANGO_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L60
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:60:1
|
60 | pub const DJANGO_ADDR: H160 = H160([4u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L59
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:59:1
|
59 | pub const DJANGO: AccountId32 = AccountId32::new([4u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L57
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:57:1
|
57 | pub const CHARLIE_ADDR: H160 = H160([3u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L56
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:56:1
|
56 | pub const CHARLIE: AccountId32 = AccountId32::new([3u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L54
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:54:1
|
54 | pub const BOB_CONTRACT_ID: AccountId32 = ee_suffix(BOB_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L53
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:53:1
|
53 | pub const BOB_ADDR: H160 = H160([2u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L52
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:52:1
|
52 | pub const BOB: AccountId32 = AccountId32::new([2u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L50
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:50:1
|
50 | pub const ETH_ALICE: AccountId32 = ee_suffix(ALICE_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L49
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:49:1
|
49 | pub const ALICE_ADDR: H160 = H160([1u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L48
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:48:1
|
48 | pub const ALICE: AccountId32 = AccountId32::new([1u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
pallets/revive/src/test_utils.rs#L23
warning: missing documentation for a module
--> pallets/revive/src/test_utils.rs:23:1
|
23 | pub mod builder;
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/chain_extension.rs#L197
warning: missing documentation for a struct field
--> pallets/revive/src/chain_extension.rs:197:34
|
197 | Diverging { flags: ReturnFlags, data: Vec<u8> },
| ^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/chain_extension.rs#L197
warning: missing documentation for a struct field
--> pallets/revive/src/chain_extension.rs:197:14
|
197 | Diverging { flags: ReturnFlags, data: Vec<u8> },
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/revive/src/primitives.rs#L185
warning: missing documentation for a method
--> pallets/revive/src/primitives.rs:185:2
|
185 | pub fn is_zero(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/revive/src/gas.rs#L35
warning: missing documentation for a method
--> pallets/revive/src/gas.rs:35:2
|
35 | pub fn amount(&self) -> Weight {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/revive/src/gas.rs#L32
warning: missing documentation for a struct
--> pallets/revive/src/gas.rs:32:1
|
32 | pub struct ChargedAmount(Weight);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/revive/src/exec.rs#L184
warning: missing documentation for an associated type
--> pallets/revive/src/exec.rs:184:2
|
184 | type T: Config;
| ^^^^^^^^^^^^^^
|
missing documentation for a type alias:
pallets/revive/src/exec.rs#L64
warning: missing documentation for a type alias
--> pallets/revive/src/exec.rs:64:1
|
64 | pub type ExecResult = Result<ExecReturnValue, ExecError>;
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
pallets/revive/src/lib.rs#L42
warning: missing documentation for a module
--> pallets/revive/src/lib.rs:42:1
|
42 | pub mod debug;
| ^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
this function has too many arguments (9/7):
pallets/revive/src/lib.rs#L1167
warning: this function has too many arguments (9/7)
--> pallets/revive/src/lib.rs:1167:1
|
1167 | / sp_api::decl_runtime_apis! {
1168 | | /// The API used to dry-run contract interactions.
1169 | | #[api_version(1)]
1170 | | pub trait ReviveApi<AccountId, Balance, BlockNumber, EventRecord> where
... |
1219 | | }
1220 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the macro `sp_api::decl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (8/7):
pallets/revive/src/lib.rs#L1167
warning: this function has too many arguments (8/7)
--> pallets/revive/src/lib.rs:1167:1
|
1167 | / sp_api::decl_runtime_apis! {
1168 | | /// The API used to dry-run contract interactions.
1169 | | #[api_version(1)]
1170 | | pub trait ReviveApi<AccountId, Balance, BlockNumber, EventRecord> where
... |
1219 | | }
1220 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the macro `sp_api::decl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the borrowed expression implements the required traits:
pallets/revive/src/lib.rs#L1111
warning: the borrowed expression implements the required traits
--> pallets/revive/src/lib.rs:1111:29
|
1111 | ContractInfoOf::<T>::get(&address).ok_or(ContractAccessError::DoesntExist)?;
| ^^^^^^^^ help: change this to: `address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this function has too many arguments (9/7):
pallets/revive/src/lib.rs#L1031
warning: this function has too many arguments (9/7)
--> pallets/revive/src/lib.rs:1031:2
|
1031 | / pub fn bare_instantiate(
1032 | | origin: OriginFor<T>,
1033 | | value: BalanceOf<T>,
1034 | | gas_limit: Weight,
... |
1040 | | collect_events: CollectEvents,
1041 | | ) -> ContractInstantiateResult<BalanceOf<T>, EventRecordOf<T>> {
| |__________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (8/7):
pallets/revive/src/lib.rs#L977
warning: this function has too many arguments (8/7)
--> pallets/revive/src/lib.rs:977:2
|
977 | / pub fn bare_call(
978 | | origin: OriginFor<T>,
979 | | dest: H160,
980 | | value: BalanceOf<T>,
... |
985 | | collect_events: CollectEvents,
986 | | ) -> ContractExecResult<BalanceOf<T>, EventRecordOf<T>> {
| |___________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
the borrowed expression implements the required traits:
pallets/revive/src/lib.rs#L930
warning: the borrowed expression implements the required traits
--> pallets/revive/src/lib.rs:930:36
|
930 | <ContractInfoOf<T>>::try_mutate(&dest, |contract| {
| ^^^^^ help: change this to: `dest`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this operation has no effect:
pallets/revive/src/lib.rs#L323
warning: this operation has no effect
--> pallets/revive/src/lib.rs:323:35
|
323 | items as Balance * 1 * CENTS + (bytes as Balance) * 1 * CENTS
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `(bytes as Balance)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
this operation has no effect:
pallets/revive/src/lib.rs#L323
warning: this operation has no effect
--> pallets/revive/src/lib.rs:323:4
|
323 | items as Balance * 1 * CENTS + (bytes as Balance) * 1 * CENTS
| ^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `items as Balance`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
= note: `#[warn(clippy::identity_op)]` on by default
|
doc list item without indentation:
pallets/revive/src/debug.rs#L93
warning: doc list item without indentation
--> pallets/revive/src/debug.rs:93:6
|
93 | /// is returned.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
93 | /// is returned.
| ++
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/wasm/mod.rs#L298
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/wasm/mod.rs:298:31
|
298 | let entry_program_counter = module
| _____________________________________^
299 | | .exports()
300 | | .find(|export| export.symbol().as_bytes() == entry_point.identifier().as_bytes())
301 | | .ok_or_else(|| <Error<T>>::CodeRejected)?
| |______________--------------------------------------^
| |
| help: use `ok_or(..)` instead: `ok_or(<Error<T>>::CodeRejected)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
the borrowed expression implements the required traits:
pallets/revive/src/wasm/mod.rs#L170
warning: the borrowed expression implements the required traits
--> pallets/revive/src/wasm/mod.rs:170:31
|
170 | <PristineCode<T>>::remove(&code_hash);
| ^^^^^^^^^^ help: change this to: `code_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
pallets/revive/src/wasm/mod.rs#L156
warning: the borrowed expression implements the required traits
--> pallets/revive/src/wasm/mod.rs:156:38
|
156 | <CodeInfoOf<T>>::try_mutate_exists(&code_hash, |existing| {
| ^^^^^^^^^^ help: change this to: `code_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this function has too many arguments (13/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (13/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1325 | | salt_ptr: u32,
1326 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (8/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (8/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1295 | | output_len_ptr: u32,
1296 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (12/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (12/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1266 | | output_len_ptr: u32,
1267 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/wasm/runtime.rs#L1420
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/wasm/runtime.rs:1420:5
|
1420 | &value.as_bytes(),
| ^^^^^^^^^^^^^^^^^ help: change this to: `value.as_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/wasm/runtime.rs#L1105
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/wasm/runtime.rs:1105:7
|
1105 | &address.as_bytes(),
| ^^^^^^^^^^^^^^^^^^^ help: change this to: `address.as_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this function has too many arguments (12/7):
pallets/revive/src/wasm/runtime.rs#L1065
warning: this function has too many arguments (12/7)
--> pallets/revive/src/wasm/runtime.rs:1065:2
|
1065 | / fn instantiate(
1066 | | &mut self,
1067 | | memory: &mut M,
1068 | | code_hash_ptr: u32,
... |
1077 | | salt_ptr: u32,
1078 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (8/7):
pallets/revive/src/wasm/runtime.rs#L975
warning: this function has too many arguments (8/7)
--> pallets/revive/src/wasm/runtime.rs:975:2
|
975 | / fn call(
976 | | &mut self,
977 | | memory: &mut M,
978 | | flags: CallFlags,
... |
983 | | output_len_ptr: u32,
984 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
`Box::new(_)` of default value:
pallets/revive/src/wasm/runtime.rs#L608
warning: `Box::new(_)` of default value
--> pallets/revive/src/wasm/runtime.rs:608:26
|
608 | chain_extension: Some(Box::new(Default::default())),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
= note: `#[warn(clippy::box_default)]` on by default
|
match expression looks like `matches!` macro:
pallets/revive/src/wasm/runtime.rs#L443
warning: match expression looks like `matches!` macro
--> pallets/revive/src/wasm/runtime.rs:443:3
|
443 | / match self {
444 | | &Self::CallXcmExecute(_) => false,
445 | | _ => true,
446 | | }
| |_________^ help: try: `!matches!(self, &Self::CallXcmExecute(_))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
= note: `#[warn(clippy::match_like_matches_macro)]` on by default
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/wasm/runtime.rs#L192
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/wasm/runtime.rs:192:4
|
192 | self.get_mut(ptr..ptr + buf.len()).ok_or_else(|| Error::<T>::OutOfBounds)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfBounds)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/wasm/runtime.rs#L184
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/wasm/runtime.rs:184:4
|
184 | self.get(ptr..ptr + buf.len()).ok_or_else(|| Error::<T>::OutOfBounds)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfBounds)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/transient_storage.rs#L335
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/transient_storage.rs:335:33
|
335 | storage_key.extend_from_slice(&key);
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/transient_storage.rs#L334
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/transient_storage.rs:334:33
|
334 | storage_key.extend_from_slice(&account);
| ^^^^^^^^ help: change this to: `account`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
unneeded `return` statement:
pallets/revive/src/transient_storage.rs#L329
warning: unneeded `return` statement
--> pallets/revive/src/transient_storage.rs:329:3
|
329 | return &mut self.meter
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
329 | &mut self.meter
|
|
the borrowed expression implements the required traits:
pallets/revive/src/storage.rs#L359
warning: the borrowed expression implements the required traits
--> pallets/revive/src/storage.rs:359:28
|
359 | <ContractInfoOf<T>>::get(&T::AddressMapper::to_address(account)).map(|i| i.code_hash)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `T::AddressMapper::to_address(account)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L577
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:577:36
|
577 | T::Currency::reducible_balance(&contract, Preservation::Expendable, Polite),
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L576
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:576:5
|
576 | &beneficiary,
| ^^^^^^^^^^^^ help: change this to: `beneficiary`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L575
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:575:5
|
575 | &contract,
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L572
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:572:31
|
572 | System::<T>::dec_consumers(&contract);
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L443
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:443:51
|
443 | let deposit = contract_info.update_base_deposit(&code_info);
| ^^^^^^^^^^ help: change this to: `code_info`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
unneeded `return` statement:
pallets/revive/src/storage/meter.rs#L369
warning: unneeded `return` statement
--> pallets/revive/src/storage/meter.rs:369:3
|
369 | / return match origin {
370 | | Origin::Root => Ok(Self { limit, ..Default::default() }),
371 | | Origin::Signed(o) => {
372 | | let limit = E::check_limit(o, limit, min_leftover)?;
373 | | Ok(Self { limit, ..Default::default() })
374 | | },
375 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
369 ~ match origin {
370 ~ Origin::Root => Ok(Self { limit, ..Default::default() }),
371 ~ Origin::Signed(o) => {
372 ~ let limit = E::check_limit(o, limit, min_leftover)?;
373 ~ Ok(Self { limit, ..Default::default() })
374 ~ },
375 ~ }
|
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L254
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:254:3
|
254 | / self.gas_left
255 | | .checked_reduce(weight_consumed)
256 | | .ok_or_else(|| Error::<T>::OutOfGas)?;
| |______________----------------------------------^
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L226
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:226:19
|
226 | self.gas_left = self.gas_left.checked_sub(&amount).ok_or_else(|| Error::<T>::OutOfGas)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L71
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:71:3
|
71 | self.fuel.checked_sub(amount).ok_or_else(|| Error::<T>::OutOfGas)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
|
the borrowed expression implements the required traits:
pallets/revive/src/exec.rs#L1513
warning: the borrowed expression implements the required traits
--> pallets/revive/src/exec.rs:1513:28
|
1513 | <ContractInfoOf<T>>::get(&address).map(|contract| contract.code_hash)
| ^^^^^^^^ help: change this to: `address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
the borrowed expression implements the required traits:
pallets/revive/src/exec.rs#L1509
warning: the borrowed expression implements the required traits
--> pallets/revive/src/exec.rs:1509:37
|
1509 | ContractInfoOf::<T>::contains_key(&address)
| ^^^^^^^^ help: change this to: `address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
useless conversion to the same type: `&exec::Key`:
pallets/revive/src/exec.rs#L1466
warning: useless conversion to the same type: `&exec::Key`
--> pallets/revive/src/exec.rs:1466:4
|
1466 | key.into(),
| ^^^^^^^^^^ help: consider removing `.into()`: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `&exec::Key`:
pallets/revive/src/exec.rs#L1455
warning: useless conversion to the same type: `&exec::Key`
--> pallets/revive/src/exec.rs:1455:45
|
1455 | self.top_frame_mut().contract_info().size(key.into())
| ^^^^^^^^^^ help: consider removing `.into()`: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
the borrowed expression implements the required traits:
pallets/revive/src/exec.rs#L1425
warning: the borrowed expression implements the required traits
--> pallets/revive/src/exec.rs:1425:31
|
1425 | ContractInfoOf::<T>::remove(&account_address);
| ^^^^^^^^^^^^^^^^ help: change this to: `account_address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
this function has too many arguments (8/7):
pallets/revive/src/exec.rs#L759
warning: this function has too many arguments (8/7)
--> pallets/revive/src/exec.rs:759:2
|
759 | / pub fn run_instantiate(
760 | | origin: T::AccountId,
761 | | executable: E,
762 | | gas_meter: &'a mut GasMeter<T>,
... |
767 | | debug_message: Option<&'a mut DebugBuffer>,
768 | | ) -> Result<(H160, ExecReturnValue), ExecError> {
| |___________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this returns a `Result<_, ()>`:
pallets/revive/src/exec.rs#L370
warning: this returns a `Result<_, ()>`
--> pallets/revive/src/exec.rs:370:2
|
370 | fn ecdsa_to_eth_address(&self, pk: &[u8; 33]) -> Result<[u8; 20], ()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
pallets/revive/src/exec.rs#L364
warning: this returns a `Result<_, ()>`
--> pallets/revive/src/exec.rs:364:2
|
364 | fn ecdsa_recover(&self, signature: &[u8; 65], message_hash: &[u8; 32]) -> Result<[u8; 33], ()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
|
this function has too many arguments (8/7):
pallets/revive/src/exec.rs#L189
warning: this function has too many arguments (8/7)
--> pallets/revive/src/exec.rs:189:2
|
189 | / fn call(
190 | | &mut self,
191 | | gas_limit: Weight,
192 | | deposit_limit: U256,
... |
197 | | read_only: bool,
198 | | ) -> Result<(), ExecError>;
| |______________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`:
pallets/revive/src/address.rs#L91
warning: this `.into_iter()` call is equivalent to `.iter()` and will not consume the `slice`
--> pallets/revive/src/address.rs:91:33
|
91 | let init_code: Vec<u8> = code.into_iter().chain(input_data).cloned().collect();
| ^^^^^^^^^ help: call directly: `iter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#into_iter_on_ref
= note: `#[warn(clippy::into_iter_on_ref)]` on by default
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/address.rs#L64
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/address.rs:64:62
|
64 | H160::from_slice(&<AccountId32 as AsRef<[u8; 32]>>::as_ref(&account_id)[..20])
| ^^^^^^^^^^^ help: change this to: `account_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
unused import: `Get`:
pallets/revive/src/lib.rs#L58
warning: unused import: `Get`
--> pallets/revive/src/lib.rs:58:47
|
58 | ConstU32, ConstU64, Contains, EnsureOrigin, Get, Time,
| ^^^
|
unused import: `frame_support::traits::IsType`:
pallets/revive/src/lib.rs#L30
warning: unused import: `frame_support::traits::IsType`
--> pallets/revive/src/lib.rs:30:5
|
30 | use frame_support::traits::IsType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
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`
|
unused imports: `BlockNumberFor` and `ensure_signed`:
pallets/revive/src/lib.rs#L64
warning: unused imports: `BlockNumberFor` and `ensure_signed`
--> pallets/revive/src/lib.rs:64:2
|
64 | ensure_signed,
| ^^^^^^^^^^^^^
65 | pallet_prelude::{BlockNumberFor, OriginFor},
| ^^^^^^^^^^^^^^
|
unused import: `Pays`:
pallets/revive/src/lib.rs#L52
warning: unused import: `Pays`
--> pallets/revive/src/lib.rs:52:75
|
52 | DispatchErrorWithPostInfo, DispatchResultWithPostInfo, GetDispatchInfo, Pays,
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
this `else { if .. }` block can be collapsed:
pallets/revive/src/exec.rs#L873
warning: this `else { if .. }` block can be collapsed
--> pallets/revive/src/exec.rs:873:12
|
873 | } else {
| ________________________^
874 | | if let Some(contract) =
875 | | <ContractInfoOf<T>>::get(T::AddressMapper::to_address(&dest))
876 | | {
... |
880 | | }
881 | | };
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
873 ~ } else if let Some(contract) =
874 ~ <ContractInfoOf<T>>::get(T::AddressMapper::to_address(&dest))
875 ~ {
876 ~ contract
877 ~ } else {
878 ~ return Ok(None);
879 ~ };
|
|
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`
|
you are using an explicit closure for cloning elements:
pallets/revive/proc-macro/src/lib.rs#L576
warning: you are using an explicit closure for cloning elements
--> pallets/revive/proc-macro/src/lib.rs:576:17
|
576 | sig.inputs = sig
| __________________________^
577 | | .inputs
578 | | .iter()
579 | | .skip(2)
580 | | .map(|p| p.clone())
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
|
576 ~ sig.inputs = sig
577 ~ .inputs
578 ~ .iter()
579 ~ .skip(2).cloned()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L317
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:317:23
|
317 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L314
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:314:25
|
314 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L299
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:299:38
|
299 | ... return Err(err(arg1.span(), &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L294
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:294:33
|
294 | ... .ok_or(err(arg1.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L287
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:287:34
|
287 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L284
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:284:53
|
284 | let arg1 = group.args.first().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L282
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:282:24
|
282 | .ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L278
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:278:32
|
278 | ... _ => Err(err(tp.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L275
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:275:33
|
275 | ... .ok_or(err(arg2.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L267
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:267:34
|
267 | ... _ => Err(err(arg2.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L263
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:263:52
|
263 | let arg2 = group.args.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L260
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:260:29
|
260 | ... return Err(err(span, &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L249
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:249:23
|
249 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the function `expand_env` doesn't need a mutable reference:
pallets/revive/proc-macro/src/lib.rs#L108
warning: the function `expand_env` doesn't need a mutable reference
--> pallets/revive/proc-macro/src/lib.rs:108:29
|
108 | Ok(mut def) => expand_env(&mut def).into(),
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L497
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:497:6
|
497 | /// caller would use the old code.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
497 | /// caller would use the old code.
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L496
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:496:6
|
496 | /// would revert the changes made by [`set_code_hash()`][`Self::set_code_hash`] and the next
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
496 | /// would revert the changes made by [`set_code_hash()`][`Self::set_code_hash`] and the next
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L495
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:495:6
|
495 | /// the new code. However, if the original caller panics after returning from the sub call it
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
495 | /// the new code. However, if the original caller panics after returning from the sub call it
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L492
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:492:6
|
492 | /// code hash.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
492 | /// code hash.
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L491
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:491:6
|
491 | /// way, when using this API you lose the guarantee that an address always identifies a specific
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
491 | /// way, when using this API you lose the guarantee that an address always identifies a specific
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L488
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:488:6
|
488 | /// the old code.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
488 | /// the old code.
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L487
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:487:6
|
487 | /// developers must ensure that the storage layout of the new code is compatible with that of
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
= note: `#[warn(clippy::doc_lazy_continuation)]` on by default
help: indent this line
|
487 | /// developers must ensure that the storage layout of the new code is compatible with that of
| +++
|
this function has too many arguments (9/7):
pallets/revive/uapi/src/host.rs#L407
warning: this function has too many arguments (9/7)
--> pallets/revive/uapi/src/host.rs:407:2
|
407 | / fn instantiate(
408 | | code_hash: &[u8; 32],
409 | | ref_time_limit: u64,
410 | | proof_size_limit: u64,
... |
416 | | salt: Option<&[u8; 32]>,
417 | | ) -> Result;
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (8/7):
pallets/revive/uapi/src/host.rs#L111
warning: this function has too many arguments (8/7)
--> pallets/revive/uapi/src/host.rs:111:2
|
111 | / fn call(
112 | | flags: CallFlags,
113 | | callee: &[u8; 20],
114 | | ref_time_limit: u64,
... |
119 | | output: Option<&mut &mut [u8]>,
120 | | ) -> Result;
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L66
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:66:5
|
66 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L65
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:65:5
|
65 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L64
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:64:5
|
64 | /// fn bar(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<u32, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L63
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:63:5
|
63 | /// #[unstable]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L62
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:62:5
|
62 | /// #[version(3)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L60
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:60:5
|
60 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L59
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:59:5
|
59 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L58
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:58:5
|
58 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<ReturnErrorCode, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L57
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:57:5
|
57 | /// #[version(2)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L43
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:43:5
|
43 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L42
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:42:5
|
42 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L41
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:41:5
|
41 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<(), TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
= note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
|
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
|
missing documentation for a function:
pallets/revive/fixtures/src/lib.rs#L56
warning: missing documentation for a function
--> pallets/revive/fixtures/src/lib.rs:56:2
|
56 | pub fn dummy_unique(replace_with: u32) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L54
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:54:2
|
54 | pub const INSTR: &[u8] = fixture!("instr_benchmark");
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L53
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:53:2
|
53 | pub const NOOP: &[u8] = fixture!("noop");
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L52
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:52:2
|
52 | pub const DUMMY: &[u8] = fixture!("dummy");
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
pallets/revive/fixtures/src/lib.rs#L18
warning: missing documentation for the crate
--> pallets/revive/fixtures/src/lib.rs:18:1
|
18 | / #![cfg_attr(not(feature = "std"), no_std)]
19 | |
20 | | extern crate alloc;
... |
73 | | }
74 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
taken reference of right operand:
pallets/revive/fixtures/src/lib.rs#L60
warning: taken reference of right operand
--> pallets/revive/fixtures/src/lib.rs:60:18
|
60 | .position(|w| w == &[0xDE, 0xAD, 0xBE, 0xEF])
| ^^^^^-------------------------
| |
| help: use the right value directly: `[0xDE, 0xAD, 0xBE, 0xEF]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
|
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`
|
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 module:
runtime/testnet/src/lib.rs#L659
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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#L659
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:659:1
|
659 | / impl_runtime_apis! {
660 | |
661 | | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
662 | | fn slot_duration() -> sp_consensus_aura::SlotDuration {
... |
1005 | | }
1006 | | }
| |_^
|
= 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#L554
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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#L554
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:554:1
|
554 | #[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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:529:1
|
529 | / parameter_types! {
530 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
531 | | pub const DepositBase: Balance = deposit(1, 88);
532 | | // Additional storage item size of 32 bytes.
533 | | pub const DepositFactor: Balance = deposit(0, 32);
534 | | pub const MaxSignatories: u32 = 100;
535 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:510:1
|
510 | / parameter_types! {
511 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
512 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
513 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
514 | | }
| |_^
|
= 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:489:1
|
489 | / parameter_types! {
490 | | pub MaximumSchedulerWeight: Weight = Perbill::from_percent(60) *
491 | | RuntimeBlockWeights::get().max_block;
492 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:460:1
|
460 | / parameter_types! {
461 | | pub const PotId: PalletId = PalletId(*b"PotStake");
462 | | pub const SessionLength: BlockNumber = 6 * HOURS;
463 | | // StakingAdmin pluralistic body.
464 | | pub const StakingAdminBodyId: BodyId = BodyId::Defense;
465 | | }
| |_^
|
= 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:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= 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:433:1
|
433 | / parameter_types! {
434 | | pub const Period: u32 = 6 * HOURS;
435 | | pub const Offset: u32 = 0;
436 | | }
| |_^
|
= 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:382:1
|
382 | / parameter_types! {
383 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
384 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:353:1
|
353 | / parameter_types! {
354 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
355 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
356 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
357 | | }
| |_^
|
= 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:311:1
|
311 | / parameter_types! {
312 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
313 | | }
| |_^
|
= 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: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 = 0;
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/testnet/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 = 0;
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/testnet/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 = 0;
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/testnet/src/lib.rs#L179
warning: missing documentation for a constant
--> runtime/testnet/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/testnet/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/testnet/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 constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/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-2bfac1a3e3919165/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-2bfac1a3e3919165/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/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#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#L100
warning: missing documentation for a type alias
--> runtime/devnet/src/config/assets.rs:100:1
|
100 | 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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:73:1
|
73 | / parameter_types! {
74 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
75 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
76 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
77 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
33 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
37 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
38 | | }
| |_^
|
= 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;
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
runtime/devnet/src/lib.rs#L541
warning: missing documentation for a variant
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for an enum
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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#L541
warning: missing documentation for a struct
--> runtime/devnet/src/lib.rs:541:1
|
541 | #[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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:516:1
|
516 | / parameter_types! {
517 | | // One storage item; key size is 32; value is size 4+4+16+32 bytes = 56 bytes.
518 | | pub const DepositBase: Balance = deposit(1, 88);
519 | | // Additional storage item size of 32 bytes.
520 | | pub const DepositFactor: Balance = deposit(0, 32);
521 | | pub const MaxSignatories: u32 = 100;
522 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:497:1
|
497 | / parameter_types! {
498 | | pub const PreimageHoldReason: RuntimeHoldReason = RuntimeHoldReason::Preimage(pallet_preimage::HoldReason::Preimage);
499 | | pub const PreimageBaseDeposit: Balance = deposit(2, 64);
500 | | pub const PreimageByteDeposit: Balance = deposit(0, 1);
501 | | }
| |_^
|
= 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:420:1
|
420 | / parameter_types! {
421 | | pub const Period: u32 = 6 * HOURS;
422 | | pub const Offset: u32 = 0;
423 | | }
| |_^
|
= 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:374:1
|
374 | / parameter_types! {
375 | | pub MessageQueueServiceWeight: Weight = Perbill::from_percent(35) * RuntimeBlockWeights::get().max_block;
376 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:345:1
|
345 | / parameter_types! {
346 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
347 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
348 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
349 | | }
| |_^
|
= 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:303:1
|
303 | / parameter_types! {
304 | | pub const ExistentialDeposit: Balance = EXISTENTIAL_DEPOSIT;
305 | | }
| |_^
|
= 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: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-dd7a667c037dbdb7/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-dd7a667c037dbdb7/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-dd7a667c037dbdb7/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-devnet-dd7a667c037dbdb7/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 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#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)
|
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 `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-db528f0c90862d8c/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-db528f0c90862d8c/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-db528f0c90862d8c/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-db528f0c90862d8c/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:
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 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`
|
you are using an explicit closure for cloning elements:
pallets/revive/proc-macro/src/lib.rs#L576
warning: you are using an explicit closure for cloning elements
--> pallets/revive/proc-macro/src/lib.rs:576:17
|
576 | sig.inputs = sig
| __________________________^
577 | | .inputs
578 | | .iter()
579 | | .skip(2)
580 | | .map(|p| p.clone())
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
|
576 ~ sig.inputs = sig
577 ~ .inputs
578 ~ .iter()
579 ~ .skip(2).cloned()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L317
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:317:23
|
317 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L314
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:314:25
|
314 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L309
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:309:34
|
309 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L303
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:303:35
|
303 | ... _ => Err(err(ok_ty.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L299
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:299:38
|
299 | ... return Err(err(arg1.span(), &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L294
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:294:33
|
294 | ... .ok_or(err(arg1.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L287
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:287:34
|
287 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L284
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:284:53
|
284 | let arg1 = group.args.first().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L282
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:282:24
|
282 | .ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L278
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:278:32
|
278 | ... _ => Err(err(tp.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L275
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:275:33
|
275 | ... .ok_or(err(arg2.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L267
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:267:34
|
267 | ... _ => Err(err(arg2.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L263
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:263:52
|
263 | let arg2 = group.args.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L260
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:260:29
|
260 | ... return Err(err(span, &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L255
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:255:64
|
255 | id.eq(&"Result".to_string()).then_some(()).ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L253
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:253:59
|
253 | let result = &tp.path.segments.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L249
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:249:23
|
249 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
the function `expand_env` doesn't need a mutable reference:
pallets/revive/proc-macro/src/lib.rs#L108
warning: the function `expand_env` doesn't need a mutable reference
--> pallets/revive/proc-macro/src/lib.rs:108:29
|
108 | Ok(mut def) => expand_env(&mut def).into(),
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L66
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:66:5
|
66 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L65
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:65:5
|
65 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L64
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:64:5
|
64 | /// fn bar(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<u32, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L63
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:63:5
|
63 | /// #[unstable]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L62
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:62:5
|
62 | /// #[version(3)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L60
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:60:5
|
60 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L59
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:59:5
|
59 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L58
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:58:5
|
58 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<ReturnErrorCode, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
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 a struct:
/home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bounded-collections-0.2.0/src/lib.rs#L179
warning: missing documentation for a struct
--> pallets/revive/src/lib.rs:326:3
|
326 | / parameter_types! {
327 | | pub const DepositPerItem: Balance = deposit(1, 0);
328 | | pub const DepositPerByte: Balance = deposit(0, 1);
329 | | pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
330 | | }
| |_________^
|
= 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/bounded-collections-0.2.0/src/lib.rs#L179
warning: missing documentation for a struct
--> pallets/revive/src/lib.rs:326:3
|
326 | / parameter_types! {
327 | | pub const DepositPerItem: Balance = deposit(1, 0);
328 | | pub const DepositPerByte: Balance = deposit(0, 1);
329 | | pub const CodeHashLockupDepositPercent: Perbill = Perbill::from_percent(0);
330 | | }
| |_________^
|
= 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:
pallets/revive/src/lib.rs#L322
warning: missing documentation for a function
--> pallets/revive/src/lib.rs:322:3
|
322 | pub const fn deposit(items: u32, bytes: u32) -> Balance {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:64
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:54
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L462
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:462:42
|
462 | StorageDepositTransferredAndReleased { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:60
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:50
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L459
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:459:38
|
459 | StorageDepositTransferredAndHeld { from: H160, to: H160, amount: BalanceOf<T> },
| ^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:66
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:34
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L417
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:417:17
|
417 | CodeRemoved { code_hash: H256, deposit_released: BalanceOf<T>, remover: H160 },
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:61
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:33
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L402
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:402:16
|
402 | CodeStored { code_hash: H256, deposit_held: BalanceOf<T>, uploader: H160 },
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L386
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:386:34
|
386 | Instantiated { deployer: H160, contract: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/lib.rs#L386
warning: missing documentation for a struct field
--> pallets/revive/src/lib.rs:386:18
|
386 | Instantiated { deployer: H160, contract: H160 },
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/test_utils/builder.rs#L80
warning: missing documentation for a struct field
--> pallets/revive/src/test_utils/builder.rs:80:2
|
80 | pub addr: H160,
| ^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/test_utils/builder.rs#L79
warning: missing documentation for a struct field
--> pallets/revive/src/test_utils/builder.rs:79:2
|
79 | pub account_id: AccountIdOf<T>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/revive/src/test_utils/builder.rs#L78
warning: missing documentation for a struct
--> pallets/revive/src/test_utils/builder.rs:78:1
|
78 | pub struct Contract<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a function:
pallets/revive/src/test_utils.rs#L65
warning: missing documentation for a function
--> pallets/revive/src/test_utils.rs:65:1
|
65 | pub fn deposit_limit<T: Config>() -> BalanceOf<T> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L63
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:63:1
|
63 | pub const GAS_LIMIT: Weight = Weight::from_parts(100_000_000_000, 3 * 1024 * 1024);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L61
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:61:1
|
61 | pub const ETH_DJANGO: AccountId32 = ee_suffix(DJANGO_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L60
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:60:1
|
60 | pub const DJANGO_ADDR: H160 = H160([4u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L59
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:59:1
|
59 | pub const DJANGO: AccountId32 = AccountId32::new([4u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L57
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:57:1
|
57 | pub const CHARLIE_ADDR: H160 = H160([3u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L56
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:56:1
|
56 | pub const CHARLIE: AccountId32 = AccountId32::new([3u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L54
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:54:1
|
54 | pub const BOB_CONTRACT_ID: AccountId32 = ee_suffix(BOB_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L53
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:53:1
|
53 | pub const BOB_ADDR: H160 = H160([2u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L52
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:52:1
|
52 | pub const BOB: AccountId32 = AccountId32::new([2u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L50
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:50:1
|
50 | pub const ETH_ALICE: AccountId32 = ee_suffix(ALICE_ADDR);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L49
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:49:1
|
49 | pub const ALICE_ADDR: H160 = H160([1u8; 20]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/src/test_utils.rs#L48
warning: missing documentation for a constant
--> pallets/revive/src/test_utils.rs:48:1
|
48 | pub const ALICE: AccountId32 = AccountId32::new([1u8; 32]);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
pallets/revive/src/test_utils.rs#L23
warning: missing documentation for a module
--> pallets/revive/src/test_utils.rs:23:1
|
23 | pub mod builder;
| ^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/chain_extension.rs#L197
warning: missing documentation for a struct field
--> pallets/revive/src/chain_extension.rs:197:34
|
197 | Diverging { flags: ReturnFlags, data: Vec<u8> },
| ^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/revive/src/chain_extension.rs#L197
warning: missing documentation for a struct field
--> pallets/revive/src/chain_extension.rs:197:14
|
197 | Diverging { flags: ReturnFlags, data: Vec<u8> },
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/revive/src/primitives.rs#L185
warning: missing documentation for a method
--> pallets/revive/src/primitives.rs:185:2
|
185 | pub fn is_zero(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/revive/src/gas.rs#L35
warning: missing documentation for a method
--> pallets/revive/src/gas.rs:35:2
|
35 | pub fn amount(&self) -> Weight {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/revive/src/gas.rs#L32
warning: missing documentation for a struct
--> pallets/revive/src/gas.rs:32:1
|
32 | pub struct ChargedAmount(Weight);
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/revive/src/exec.rs#L184
warning: missing documentation for an associated type
--> pallets/revive/src/exec.rs:184:2
|
184 | type T: Config;
| ^^^^^^^^^^^^^^
|
missing documentation for a type alias:
pallets/revive/src/exec.rs#L64
warning: missing documentation for a type alias
--> pallets/revive/src/exec.rs:64:1
|
64 | pub type ExecResult = Result<ExecReturnValue, ExecError>;
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a module:
pallets/revive/src/lib.rs#L42
warning: missing documentation for a module
--> pallets/revive/src/lib.rs:42:1
|
42 | pub mod debug;
| ^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
this function has too many arguments (9/7):
pallets/revive/src/lib.rs#L1167
warning: this function has too many arguments (9/7)
--> pallets/revive/src/lib.rs:1167:1
|
1167 | / sp_api::decl_runtime_apis! {
1168 | | /// The API used to dry-run contract interactions.
1169 | | #[api_version(1)]
1170 | | pub trait ReviveApi<AccountId, Balance, BlockNumber, EventRecord> where
... |
1219 | | }
1220 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the macro `sp_api::decl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (8/7):
pallets/revive/src/lib.rs#L1167
warning: this function has too many arguments (8/7)
--> pallets/revive/src/lib.rs:1167:1
|
1167 | / sp_api::decl_runtime_apis! {
1168 | | /// The API used to dry-run contract interactions.
1169 | | #[api_version(1)]
1170 | | pub trait ReviveApi<AccountId, Balance, BlockNumber, EventRecord> where
... |
1219 | | }
1220 | | }
| |_^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the macro `sp_api::decl_runtime_apis` (in Nightly builds, run with -Z macro-backtrace for more info)
|
the borrowed expression implements the required traits:
pallets/revive/src/lib.rs#L1111
warning: the borrowed expression implements the required traits
--> pallets/revive/src/lib.rs:1111:29
|
1111 | ContractInfoOf::<T>::get(&address).ok_or(ContractAccessError::DoesntExist)?;
| ^^^^^^^^ help: change this to: `address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this function has too many arguments (9/7):
pallets/revive/src/lib.rs#L1031
warning: this function has too many arguments (9/7)
--> pallets/revive/src/lib.rs:1031:2
|
1031 | / pub fn bare_instantiate(
1032 | | origin: OriginFor<T>,
1033 | | value: BalanceOf<T>,
1034 | | gas_limit: Weight,
... |
1040 | | collect_events: CollectEvents,
1041 | | ) -> ContractInstantiateResult<BalanceOf<T>, EventRecordOf<T>> {
| |__________________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this function has too many arguments (8/7):
pallets/revive/src/lib.rs#L977
warning: this function has too many arguments (8/7)
--> pallets/revive/src/lib.rs:977:2
|
977 | / pub fn bare_call(
978 | | origin: OriginFor<T>,
979 | | dest: H160,
980 | | value: BalanceOf<T>,
... |
985 | | collect_events: CollectEvents,
986 | | ) -> ContractExecResult<BalanceOf<T>, EventRecordOf<T>> {
| |___________________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
the borrowed expression implements the required traits:
pallets/revive/src/lib.rs#L930
warning: the borrowed expression implements the required traits
--> pallets/revive/src/lib.rs:930:36
|
930 | <ContractInfoOf<T>>::try_mutate(&dest, |contract| {
| ^^^^^ help: change this to: `dest`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this operation has no effect:
pallets/revive/src/lib.rs#L323
warning: this operation has no effect
--> pallets/revive/src/lib.rs:323:35
|
323 | items as Balance * 1 * CENTS + (bytes as Balance) * 1 * CENTS
| ^^^^^^^^^^^^^^^^^^^^^^ help: consider reducing it to: `(bytes as Balance)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op
|
the borrowed expression implements the required traits:
pallets/revive/src/wasm/mod.rs#L170
warning: the borrowed expression implements the required traits
--> pallets/revive/src/wasm/mod.rs:170:31
|
170 | <PristineCode<T>>::remove(&code_hash);
| ^^^^^^^^^^ help: change this to: `code_hash`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this function has too many arguments (13/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (13/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1325 | | salt_ptr: u32,
1326 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (8/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (8/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1295 | | output_len_ptr: u32,
1296 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
this function has too many arguments (12/7):
pallets/revive/src/wasm/runtime.rs#L1145
warning: this function has too many arguments (12/7)
--> pallets/revive/src/wasm/runtime.rs:1145:1
|
1145 | #[define_env]
| ^------------
| |
| _in this procedural macro expansion
| |
1146 | | pub mod env {
1147 | | /// Noop function used to benchmark the time it takes to execute an empty function.
1148 | | #[cfg(feature = "runtime-benchmarks")]
... |
1266 | | output_len_ptr: u32,
1267 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: this warning originates in the attribute macro `define_env` (in Nightly builds, run with -Z macro-backtrace for more info)
|
matching on `Some` with `ok()` is redundant:
pallets/revive/src/wasm/runtime.rs#L1769
warning: matching on `Some` with `ok()` is redundant
--> pallets/revive/src/wasm/runtime.rs:1769:4
|
1769 | if let Some(msg) = core::str::from_utf8(&data).ok() {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_result_ok
= note: `#[warn(clippy::match_result_ok)]` on by default
help: consider matching on `Ok(msg)` and removing the call to `ok` instead
|
1769 | if let Ok(msg) = core::str::from_utf8(&data) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/wasm/runtime.rs#L1420
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/wasm/runtime.rs:1420:5
|
1420 | &value.as_bytes(),
| ^^^^^^^^^^^^^^^^^ help: change this to: `value.as_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/wasm/runtime.rs#L1105
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/wasm/runtime.rs:1105:7
|
1105 | &address.as_bytes(),
| ^^^^^^^^^^^^^^^^^^^ help: change this to: `address.as_bytes()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this function has too many arguments (8/7):
pallets/revive/src/wasm/runtime.rs#L975
warning: this function has too many arguments (8/7)
--> pallets/revive/src/wasm/runtime.rs:975:2
|
975 | / fn call(
976 | | &mut self,
977 | | memory: &mut M,
978 | | flags: CallFlags,
... |
983 | | output_len_ptr: u32,
984 | | ) -> Result<ReturnErrorCode, TrapReason> {
| |____________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
`Box::new(_)` of default value:
pallets/revive/src/wasm/runtime.rs#L608
warning: `Box::new(_)` of default value
--> pallets/revive/src/wasm/runtime.rs:608:26
|
608 | chain_extension: Some(Box::new(Default::default())),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `Box::default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#box_default
= note: `#[warn(clippy::box_default)]` on by default
|
match expression looks like `matches!` macro:
pallets/revive/src/wasm/runtime.rs#L443
warning: match expression looks like `matches!` macro
--> pallets/revive/src/wasm/runtime.rs:443:3
|
443 | / match self {
444 | | &Self::CallXcmExecute(_) => false,
445 | | _ => true,
446 | | }
| |_________^ help: try: `!matches!(self, &Self::CallXcmExecute(_))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#match_like_matches_macro
= note: `#[warn(clippy::match_like_matches_macro)]` on by default
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/wasm/runtime.rs#L192
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/wasm/runtime.rs:192:4
|
192 | self.get_mut(ptr..ptr + buf.len()).ok_or_else(|| Error::<T>::OutOfBounds)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfBounds)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/wasm/runtime.rs#L184
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/wasm/runtime.rs:184:4
|
184 | self.get(ptr..ptr + buf.len()).ok_or_else(|| Error::<T>::OutOfBounds)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^--------------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfBounds)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/transient_storage.rs#L335
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/transient_storage.rs:335:33
|
335 | storage_key.extend_from_slice(&key);
| ^^^^ help: change this to: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/transient_storage.rs#L334
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/transient_storage.rs:334:33
|
334 | storage_key.extend_from_slice(&account);
| ^^^^^^^^ help: change this to: `account`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
unneeded `return` statement:
pallets/revive/src/transient_storage.rs#L329
warning: unneeded `return` statement
--> pallets/revive/src/transient_storage.rs:329:3
|
329 | return &mut self.meter
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
329 | &mut self.meter
|
|
the borrowed expression implements the required traits:
pallets/revive/src/storage.rs#L359
warning: the borrowed expression implements the required traits
--> pallets/revive/src/storage.rs:359:28
|
359 | <ContractInfoOf<T>>::get(&T::AddressMapper::to_address(account)).map(|i| i.code_hash)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `T::AddressMapper::to_address(account)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage.rs#L329
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage.rs:329:56
|
329 | let (weight_per_key, budget) = Self::deletion_budget(&meter);
| ^^^^^^ help: change this to: `meter`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L577
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:577:36
|
577 | T::Currency::reducible_balance(&contract, Preservation::Expendable, Polite),
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L576
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:576:5
|
576 | &beneficiary,
| ^^^^^^^^^^^^ help: change this to: `beneficiary`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L575
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:575:5
|
575 | &contract,
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L572
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:572:31
|
572 | System::<T>::dec_consumers(&contract);
| ^^^^^^^^^ help: change this to: `contract`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/src/storage/meter.rs#L443
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/src/storage/meter.rs:443:51
|
443 | let deposit = contract_info.update_base_deposit(&code_info);
| ^^^^^^^^^^ help: change this to: `code_info`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
unneeded `return` statement:
pallets/revive/src/storage/meter.rs#L369
warning: unneeded `return` statement
--> pallets/revive/src/storage/meter.rs:369:3
|
369 | / return match origin {
370 | | Origin::Root => Ok(Self { limit, ..Default::default() }),
371 | | Origin::Signed(o) => {
372 | | let limit = E::check_limit(o, limit, min_leftover)?;
373 | | Ok(Self { limit, ..Default::default() })
374 | | },
375 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
369 ~ match origin {
370 ~ Origin::Root => Ok(Self { limit, ..Default::default() }),
371 ~ Origin::Signed(o) => {
372 ~ let limit = E::check_limit(o, limit, min_leftover)?;
373 ~ Ok(Self { limit, ..Default::default() })
374 ~ },
375 ~ }
|
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L254
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:254:3
|
254 | / self.gas_left
255 | | .checked_reduce(weight_consumed)
256 | | .ok_or_else(|| Error::<T>::OutOfGas)?;
| |______________----------------------------------^
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L226
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:226:19
|
226 | self.gas_left = self.gas_left.checked_sub(&amount).ok_or_else(|| Error::<T>::OutOfGas)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
|
unnecessary closure used to substitute value for `Option::None`:
pallets/revive/src/gas.rs#L71
warning: unnecessary closure used to substitute value for `Option::None`
--> pallets/revive/src/gas.rs:71:3
|
71 | self.fuel.checked_sub(amount).ok_or_else(|| Error::<T>::OutOfGas)?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-----------------------------------
| |
| help: use `ok_or(..)` instead: `ok_or(Error::<T>::OutOfGas)`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_lazy_evaluations
= note: `#[warn(clippy::unnecessary_lazy_evaluations)]` on by default
|
the borrowed expression implements the required traits:
pallets/revive/src/exec.rs#L1513
warning: the borrowed expression implements the required traits
--> pallets/revive/src/exec.rs:1513:28
|
1513 | <ContractInfoOf<T>>::get(&address).map(|contract| contract.code_hash)
| ^^^^^^^^ help: change this to: `address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
useless conversion to the same type: `&exec::Key`:
pallets/revive/src/exec.rs#L1455
warning: useless conversion to the same type: `&exec::Key`
--> pallets/revive/src/exec.rs:1455:45
|
1455 | self.top_frame_mut().contract_info().size(key.into())
| ^^^^^^^^^^ help: consider removing `.into()`: `key`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
|
the borrowed expression implements the required traits:
pallets/revive/src/exec.rs#L1425
warning: the borrowed expression implements the required traits
--> pallets/revive/src/exec.rs:1425:31
|
1425 | ContractInfoOf::<T>::remove(&account_address);
| ^^^^^^^^^^^^^^^^ help: change this to: `account_address`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
|
this function has too many arguments (8/7):
pallets/revive/src/exec.rs#L759
warning: this function has too many arguments (8/7)
--> pallets/revive/src/exec.rs:759:2
|
759 | / pub fn run_instantiate(
760 | | origin: T::AccountId,
761 | | executable: E,
762 | | gas_meter: &'a mut GasMeter<T>,
... |
767 | | debug_message: Option<&'a mut DebugBuffer>,
768 | | ) -> Result<(H160, ExecReturnValue), ExecError> {
| |___________________________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
this returns a `Result<_, ()>`:
pallets/revive/src/exec.rs#L370
warning: this returns a `Result<_, ()>`
--> pallets/revive/src/exec.rs:370:2
|
370 | fn ecdsa_to_eth_address(&self, pk: &[u8; 33]) -> Result<[u8; 20], ()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
|
this returns a `Result<_, ()>`:
pallets/revive/src/exec.rs#L364
warning: this returns a `Result<_, ()>`
--> pallets/revive/src/exec.rs:364:2
|
364 | fn ecdsa_recover(&self, signature: &[u8; 65], message_hash: &[u8; 32]) -> Result<[u8; 33], ()>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
|
unused import: `Get`:
pallets/revive/src/lib.rs#L58
warning: unused import: `Get`
--> pallets/revive/src/lib.rs:58:47
|
58 | ConstU32, ConstU64, Contains, EnsureOrigin, Get, Time,
| ^^^
|
unused import: `frame_support::traits::IsType`:
pallets/revive/src/lib.rs#L30
warning: unused import: `frame_support::traits::IsType`
--> pallets/revive/src/lib.rs:30:5
|
30 | use frame_support::traits::IsType;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
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`
|
unused imports: `BlockNumberFor` and `ensure_signed`:
pallets/revive/src/lib.rs#L64
warning: unused imports: `BlockNumberFor` and `ensure_signed`
--> pallets/revive/src/lib.rs:64:2
|
64 | ensure_signed,
| ^^^^^^^^^^^^^
65 | pallet_prelude::{BlockNumberFor, OriginFor},
| ^^^^^^^^^^^^^^
|
unused import: `Pays`:
pallets/revive/src/lib.rs#L52
warning: unused import: `Pays`
--> pallets/revive/src/lib.rs:52:75
|
52 | DispatchErrorWithPostInfo, DispatchResultWithPostInfo, GetDispatchInfo, Pays,
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
this `else { if .. }` block can be collapsed:
pallets/revive/src/exec.rs#L873
warning: this `else { if .. }` block can be collapsed
--> pallets/revive/src/exec.rs:873:12
|
873 | } else {
| ________________________^
874 | | if let Some(contract) =
875 | | <ContractInfoOf<T>>::get(T::AddressMapper::to_address(&dest))
876 | | {
... |
880 | | }
881 | | };
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_else_if
= note: `#[warn(clippy::collapsible_else_if)]` on by default
help: collapse nested if block
|
873 ~ } else if let Some(contract) =
874 ~ <ContractInfoOf<T>>::get(T::AddressMapper::to_address(&dest))
875 ~ {
876 ~ contract
877 ~ } else {
878 ~ return Ok(None);
879 ~ };
|
|
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`
|
you are using an explicit closure for cloning elements:
pallets/revive/proc-macro/src/lib.rs#L576
warning: you are using an explicit closure for cloning elements
--> pallets/revive/proc-macro/src/lib.rs:576:17
|
576 | sig.inputs = sig
| __________________________^
577 | | .inputs
578 | | .iter()
579 | | .skip(2)
580 | | .map(|p| p.clone())
| |___________________________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone
= note: `#[warn(clippy::map_clone)]` on by default
help: consider calling the dedicated `cloned` method
|
576 ~ sig.inputs = sig
577 ~ .inputs
578 ~ .iter()
579 ~ .skip(2).cloned()
|
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L317
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:317:23
|
317 | _ => Err(err(span, &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L303
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:303:35
|
303 | ... _ => Err(err(ok_ty.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L299
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:299:38
|
299 | ... return Err(err(arg1.span(), &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L294
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:294:33
|
294 | ... .ok_or(err(arg1.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L287
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:287:34
|
287 | ... _ => Err(err(arg1.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L278
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:278:32
|
278 | ... _ => Err(err(tp.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L275
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:275:33
|
275 | ... .ok_or(err(arg2.span(), &msg))?
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L267
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:267:34
|
267 | ... _ => Err(err(arg2.span(), &msg)),
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L263
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:263:52
|
263 | let arg2 = group.args.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L260
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:260:29
|
260 | ... return Err(err(span, &msg))
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L255
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:255:64
|
255 | id.eq(&"Result".to_string()).then_some(()).ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
pallets/revive/proc-macro/src/lib.rs#L253
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> pallets/revive/proc-macro/src/lib.rs:253:59
|
253 | let result = &tp.path.segments.last().ok_or(err(span, &msg))?;
| ^^^^ help: change this to: `msg`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
the function `expand_env` doesn't need a mutable reference:
pallets/revive/proc-macro/src/lib.rs#L108
warning: the function `expand_env` doesn't need a mutable reference
--> pallets/revive/proc-macro/src/lib.rs:108:29
|
108 | Ok(mut def) => expand_env(&mut def).into(),
| ^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_mut_passed
= note: `#[warn(clippy::unnecessary_mut_passed)]` on by default
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L497
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:497:6
|
497 | /// caller would use the old code.
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
497 | /// caller would use the old code.
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L496
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:496:6
|
496 | /// would revert the changes made by [`set_code_hash()`][`Self::set_code_hash`] and the next
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
496 | /// would revert the changes made by [`set_code_hash()`][`Self::set_code_hash`] and the next
| +++
|
doc list item without indentation:
pallets/revive/uapi/src/host.rs#L495
warning: doc list item without indentation
--> pallets/revive/uapi/src/host.rs:495:6
|
495 | /// the new code. However, if the original caller panics after returning from the sub call it
| ^
|
= help: if this is supposed to be its own paragraph, add a blank line
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation
help: indent this line
|
495 | /// the new code. However, if the original caller panics after returning from the sub call it
| +++
|
this function has too many arguments (9/7):
pallets/revive/uapi/src/host.rs#L407
warning: this function has too many arguments (9/7)
--> pallets/revive/uapi/src/host.rs:407:2
|
407 | / fn instantiate(
408 | | code_hash: &[u8; 32],
409 | | ref_time_limit: u64,
410 | | proof_size_limit: u64,
... |
416 | | salt: Option<&[u8; 32]>,
417 | | ) -> Result;
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L66
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:66:5
|
66 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L65
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:65:5
|
65 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L64
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:64:5
|
64 | /// fn bar(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<u32, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L60
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:60:5
|
60 | /// }
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L59
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:59:5
|
59 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L58
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:58:5
|
58 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<ReturnErrorCode, TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L57
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:57:5
|
57 | /// #[version(2)]
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L42
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:42:5
|
42 | /// ctx.some_host_fn(KeyType::Fix, key_ptr, value_ptr, value_len).map(|_| ())
| ^^^^^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
|
using tabs in doc comments is not recommended:
pallets/revive/proc-macro/src/lib.rs#L41
warning: using tabs in doc comments is not recommended
--> pallets/revive/proc-macro/src/lib.rs:41:5
|
41 | /// fn foo(ctx: _, memory: _, key_ptr: u32, value_ptr: u32, value_len: u32) -> Result<(), TrapReason> {
| ^^^^ help: consider using four spaces per tab
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
= note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
|
this function has too many arguments (8/7):
pallets/revive/uapi/src/host.rs#L111
warning: this function has too many arguments (8/7)
--> pallets/revive/uapi/src/host.rs:111:2
|
111 | / fn call(
112 | | flags: CallFlags,
113 | | callee: &[u8; 20],
114 | | ref_time_limit: u64,
... |
119 | | output: Option<&mut &mut [u8]>,
120 | | ) -> Result;
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: `#[warn(clippy::too_many_arguments)]` on by default
|
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
|
missing documentation for a function:
pallets/revive/fixtures/src/lib.rs#L56
warning: missing documentation for a function
--> pallets/revive/fixtures/src/lib.rs:56:2
|
56 | pub fn dummy_unique(replace_with: u32) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L54
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:54:2
|
54 | pub const INSTR: &[u8] = fixture!("instr_benchmark");
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L53
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:53:2
|
53 | pub const NOOP: &[u8] = fixture!("noop");
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/revive/fixtures/src/lib.rs#L52
warning: missing documentation for a constant
--> pallets/revive/fixtures/src/lib.rs:52:2
|
52 | pub const DUMMY: &[u8] = fixture!("dummy");
| ^^^^^^^^^^^^^^^^^^^^^^
|
taken reference of right operand:
pallets/revive/fixtures/src/lib.rs#L60
warning: taken reference of right operand
--> pallets/revive/fixtures/src/lib.rs:60:18
|
60 | .position(|w| w == &[0xDE, 0xAD, 0xBE, 0xEF])
| ^^^^^-------------------------
| |
| help: use the right value directly: `[0xDE, 0xAD, 0xBE, 0xEF]`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#op_ref
= note: `#[warn(clippy::op_ref)]` on by default
|
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`
|