refactor(devnet): move apis to its own modules #3155
lint-pr.yml
on: pull_request_target
Validate PR title for conventional commit compliance
5s
Annotations
496 errors and 504 warnings
no method named `check_extrinsics` found for struct `sp_inherents::InherentData` in the current scope:
runtime/devnet/src/apis.rs#L83
error[E0599]: no method named `check_extrinsics` found for struct `sp_inherents::InherentData` in the current scope
--> runtime/devnet/src/apis.rs:83:9
|
83 | data.check_extrinsics(&block)
| ^^^^^^^^^^^^^^^^
|
::: runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ------------------------- the method is available for `sp_inherents::InherentData` here
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `create_extrinsics` with a similar name, but with different arguments
--> runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `InherentDataExt` which provides `check_extrinsics` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::InherentDataExt;
|
|
no method named `create_extrinsics` found for struct `sp_inherents::InherentData` in the current scope:
runtime/devnet/src/apis.rs#L76
error[E0599]: no method named `create_extrinsics` found for struct `sp_inherents::InherentData` in the current scope
--> runtime/devnet/src/apis.rs:76:9
|
76 | data.create_extrinsics()
| ^^^^^^^^^^^^^^^^^
|
::: runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ------------------------- the method is available for `sp_inherents::InherentData` here
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `check_extrinsics` with a similar name, but with different arguments
--> runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `InherentDataExt` which provides `create_extrinsics` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::InherentDataExt;
|
|
cannot find value `RUNTIME_API_VERSIONS` in this scope:
runtime/devnet/src/lib.rs#L199
error[E0425]: cannot find value `RUNTIME_API_VERSIONS` in this scope
--> runtime/devnet/src/lib.rs:199:8
|
199 | apis: RUNTIME_API_VERSIONS,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
18 + use crate::apis::RUNTIME_API_VERSIONS;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:426:52
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:426:63
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:421:33
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::H256
sp_core::H256
sp_runtime::testing::H256
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:416:32
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::H256
sp_core::H256
sp_runtime::testing::H256
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L411
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:411:38
|
411 | fn latest_state_machine_height(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineId
ismp::consensus::StateMachineId
|
cannot find type `StateMachineHeight` in this scope:
runtime/devnet/src/apis.rs#L406
error[E0412]: cannot find type `StateMachineHeight` in this scope
--> runtime/devnet/src/apis.rs:406:40
|
406 | fn state_machine_update_time(height: StateMachineHeight) -> Option<u64> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineHeight
ismp::consensus::StateMachineHeight
|
cannot find type `ConsensusClientId` in this scope:
runtime/devnet/src/apis.rs#L401
error[E0412]: cannot find type `ConsensusClientId` in this scope
--> runtime/devnet/src/apis.rs:401:26
|
401 | fn consensus_state(id: ConsensusClientId) -> Option<Vec<u8>> {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::ConsensusClientId
ismp::consensus::ConsensusClientId
|
cannot find type `ProofKeys` in this scope:
runtime/devnet/src/apis.rs#L385
error[E0412]: cannot find type `ProofKeys` in this scope
--> runtime/devnet/src/apis.rs:385:10
|
385 | keys: ProofKeys
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these enums:
crate::ProofKeys
pallet_ismp::offchain::ProofKeys
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L379
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:379:27
|
379 | fn challenge_period(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineId
ismp::consensus::StateMachineId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:55
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:47
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:374:83
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:360:42
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:360:53
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:311:37
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:311:48
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L265
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:265:13
|
265 | account: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:247:47
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:247:40
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:247:72
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:241:53
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:241:64
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L242
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:242:39
|
242 | fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:232:57
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:232:68
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L234
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:234:20
|
234 | included_hash: <Block as BlockT>::Hash,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L225
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:225:13
|
225 | address: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L217
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:217:34
|
217 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L215
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:215:12
|
215 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L195
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:195:33
|
195 | code: pallet_contracts::Code<Hash>,
| ^^^^ not a type
|
= help: consider importing one of these items instead:
crate::Hash
crate::opaque::Hash
std::hash::Hash
cumulus_primitives_core::relay_chain::Hash
parachains_common::Hash
pop_runtime_common::Hash
scale_info::prelude::hash::Hash
sp_runtime::traits::Hash
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L194
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:194:34
|
194 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L192
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:192:11
|
192 | value: Balance,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L191
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:191:12
|
191 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:165:84
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::EventRecord
frame_system::EventRecord
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L165
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:165:78
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^ not a type
|
= help: consider importing one of these items instead:
crate::Hash
crate::opaque::Hash
std::hash::Hash
cumulus_primitives_core::relay_chain::Hash
parachains_common::Hash
pop_runtime_common::Hash
scale_info::prelude::hash::Hash
sp_runtime::traits::Hash
|
cannot find type `BlockNumber` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `BlockNumber` in this scope
--> runtime/devnet/src/apis.rs:165:65
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::BlockNumber
cumulus_primitives_core::relay_chain::BlockNumber
parachains_common::BlockNumber
pop_runtime_common::BlockNumber
sp_runtime::traits::BlockNumber
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:165:56
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:165:45
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:165:38
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L166
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:166:7
|
166 | for Runtime
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:142:77
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:115:71
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::Nonce
cumulus_primitives_core::relay_chain::Nonce
pallet_ismp::Nonce
parachains_common::Nonce
pop_runtime_common::Nonce
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:115:60
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:115:53
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:115:82
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:116:29
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:103:31
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:103:42
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:97:38
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:97:49
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L98
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:98:32
|
98 | fn offchain_worker(header: &<Block as BlockT>::Header) {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:87:64
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:87:75
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L91
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:91:17
|
91 | block_hash: <Block as BlockT>::Hash,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L90
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:90:9
|
90 | tx: <Block as BlockT>::Extrinsic,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L80
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:80:11
|
80 | block: Block,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:66:38
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:66:49
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L67
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:67:34
|
67 | fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:52:24
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:52:35
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L47
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:47:33
|
47 | fn initialize_block(header: &<Block as BlockT>::Header) -> ExtrinsicInclusionMode {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L43
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:43:27
|
43 | fn execute_block(block: Block) {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:38:20
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:38:31
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L28
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:28:34
|
28 | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
failed to resolve: use of undeclared type `IsmpParachain`:
runtime/devnet/src/apis.rs#L432
error[E0433]: failed to resolve: use of undeclared type `IsmpParachain`
--> runtime/devnet/src/apis.rs:432:4
|
432 | IsmpParachain::current_relay_chain_state()
| ^^^^^^^^^^^^^ use of undeclared type `IsmpParachain`
|
help: consider importing this type alias
|
1 + use crate::IsmpParachain;
|
|
cannot find type `RelayChainState` in this scope:
runtime/devnet/src/apis.rs#L431
error[E0412]: cannot find type `RelayChainState` in this scope
--> runtime/devnet/src/apis.rs:431:37
|
431 | fn current_relay_chain_state() -> RelayChainState {
| ^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::RelayChainState;
|
1 + use cumulus_pallet_parachain_system::RelayChainState;
|
|
failed to resolve: use of undeclared type `IsmpParachain`:
runtime/devnet/src/apis.rs#L428
error[E0433]: failed to resolve: use of undeclared type `IsmpParachain`
--> runtime/devnet/src/apis.rs:428:4
|
428 | IsmpParachain::para_ids()
| ^^^^^^^^^^^^^ use of undeclared type `IsmpParachain`
|
help: consider importing this type alias
|
1 + use crate::IsmpParachain;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:426:63
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:426:52
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L422
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:422:4
|
422 | Ismp::responses(commitments)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Response` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `Response` in this scope
--> runtime/devnet/src/apis.rs:421:47
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Response;
|
1 + use cumulus_primitives_core::Response;
|
1 + use ismp::router::Response;
|
1 + use sp_runtime::offchain::http::Response;
|
and 4 other candidates
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:421:33
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::H256;
|
1 + use sp_core::H256;
|
1 + use sp_runtime::testing::H256;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L417
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:417:4
|
417 | Ismp::requests(commitments)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Request` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `Request` in this scope
--> runtime/devnet/src/apis.rs:416:46
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Request;
|
1 + use std::error::Request;
|
1 + use ismp::router::Request;
|
1 + use sp_runtime::offchain::http::Request;
|
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:416:32
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::H256;
|
1 + use sp_core::H256;
|
1 + use sp_runtime::testing::H256;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L412
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:412:4
|
412 | Ismp::latest_state_machine_height(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L411
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:411:38
|
411 | fn latest_state_machine_height(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineId;
|
1 + use ismp::consensus::StateMachineId;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L407
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:407:4
|
407 | Ismp::state_machine_update_time(height)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineHeight` in this scope:
runtime/devnet/src/apis.rs#L406
error[E0412]: cannot find type `StateMachineHeight` in this scope
--> runtime/devnet/src/apis.rs:406:40
|
406 | fn state_machine_update_time(height: StateMachineHeight) -> Option<u64> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineHeight;
|
1 + use ismp::consensus::StateMachineHeight;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L402
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:402:4
|
402 | Ismp::consensus_states(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `ConsensusClientId` in this scope:
runtime/devnet/src/apis.rs#L401
error[E0412]: cannot find type `ConsensusClientId` in this scope
--> runtime/devnet/src/apis.rs:401:26
|
401 | fn consensus_state(id: ConsensusClientId) -> Option<Vec<u8>> {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::ConsensusClientId;
|
1 + use ismp::consensus::ConsensusClientId;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L397
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:397:4
|
397 | Ismp::block_events_with_metadata()
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L392
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:392:4
|
392 | Ismp::block_events()
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L387
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:387:4
|
387 | Ismp::generate_proof(keys)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:386:34
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
386 | ) -> Result<(Vec<Leaf>, Proof<<BlockT as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Proof` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Proof` in this scope
--> runtime/devnet/src/apis.rs:386:27
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::Proof;
|
1 + use ismp::messaging::Proof;
|
1 + use pallet_ismp::offchain::Proof;
|
|
cannot find type `Leaf` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Leaf` in this scope
--> runtime/devnet/src/apis.rs:386:20
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::Leaf;
|
1 + use pallet_ismp::offchain::Leaf;
|
|
cannot find type `ProofKeys` in this scope:
runtime/devnet/src/apis.rs#L385
error[E0412]: cannot find type `ProofKeys` in this scope
--> runtime/devnet/src/apis.rs:385:10
|
385 | keys: ProofKeys
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::ProofKeys;
|
1 + use pallet_ismp::offchain::ProofKeys;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L380
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:380:4
|
380 | Ismp::challenge_period(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L379
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:379:27
|
379 | fn challenge_period(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineId;
|
1 + use ismp::consensus::StateMachineId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L376
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:376:5
|
376 | <Runtime as pallet_ismp::Config>::HostStateMachine::get()
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `StateMachine` in this scope:
runtime/devnet/src/apis.rs#L375
error[E0412]: cannot find type `StateMachine` in this scope
--> runtime/devnet/src/apis.rs:375:30
|
375 | fn host_state_machine() -> StateMachine {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::StateMachine;
|
1 + use ismp::host::StateMachine;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:374:83
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:55
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <BlockT as BlockT>::Hash> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:47
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<BlockT, <Block as BlockT>::Hash> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared crate or module `genesis`:
runtime/devnet/src/apis.rs#L370
error[E0433]: failed to resolve: use of undeclared crate or module `genesis`
--> runtime/devnet/src/apis.rs:370:4
|
370 | genesis::presets()
| ^^^^^^^ use of undeclared crate or module `genesis`
|
help: consider importing this module
|
1 + use crate::genesis;
|
|
failed to resolve: use of undeclared crate or module `genesis`:
runtime/devnet/src/apis.rs#L366
error[E0433]: failed to resolve: use of undeclared crate or module `genesis`
--> runtime/devnet/src/apis.rs:366:43
|
366 | get_preset::<RuntimeGenesisConfig>(id, genesis::get_preset)
| ^^^^^^^ use of undeclared crate or module `genesis`
|
help: consider importing this module
|
1 + use crate::genesis;
|
|
cannot find type `RuntimeGenesisConfig` in this scope:
runtime/devnet/src/apis.rs#L366
error[E0412]: cannot find type `RuntimeGenesisConfig` in this scope
--> runtime/devnet/src/apis.rs:366:17
|
366 | get_preset::<RuntimeGenesisConfig>(id, genesis::get_preset)
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::RuntimeGenesisConfig;
|
|
cannot find type `RuntimeGenesisConfig` in this scope:
runtime/devnet/src/apis.rs#L362
error[E0412]: cannot find type `RuntimeGenesisConfig` in this scope
--> runtime/devnet/src/apis.rs:362:18
|
362 | build_state::<RuntimeGenesisConfig>(config)
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::RuntimeGenesisConfig;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:360:53
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:360:42
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
360 | impl sp_genesis_builder::GenesisBuilder<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `AllPalletsWithSystem`:
runtime/devnet/src/apis.rs#L349
error[E0433]: failed to resolve: use of undeclared type `AllPalletsWithSystem`
--> runtime/devnet/src/apis.rs:349:20
|
349 | let whitelist = AllPalletsWithSystem::whitelisted_storage_keys();
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AllPalletsWithSystem`
|
help: consider importing this type alias
|
1 + use crate::AllPalletsWithSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L346
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:346:57
|
346 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L341
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:341:73
|
341 | System::assert_last_event(cumulus_pallet_parachain_system::Event::<Runtime>::ValidationFunctionStored.into());
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `System`:
runtime/devnet/src/apis.rs#L341
error[E0433]: failed to resolve: use of undeclared type `System`
--> runtime/devnet/src/apis.rs:341:6
|
341 | System::assert_last_event(cumulus_pallet_parachain_system::Event::<Runtime>::ValidationFunctionStored.into());
| ^^^^^^ use of undeclared type `System`
|
help: consider importing one of these items
|
1 + use crate::System;
|
1 + use std::alloc::System;
|
|
failed to resolve: use of undeclared type `ParachainSystem`:
runtime/devnet/src/apis.rs#L336
error[E0433]: failed to resolve: use of undeclared type `ParachainSystem`
--> runtime/devnet/src/apis.rs:336:6
|
336 | ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32);
| ^^^^^^^^^^^^^^^ use of undeclared type `ParachainSystem`
|
help: consider importing this type alias
|
1 + use crate::ParachainSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L334
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:334:47
|
334 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `AllPalletsWithSystem`:
runtime/devnet/src/apis.rs#L324
error[E0433]: failed to resolve: use of undeclared type `AllPalletsWithSystem`
--> runtime/devnet/src/apis.rs:324:23
|
324 | let storage_info = AllPalletsWithSystem::storage_info();
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AllPalletsWithSystem`
|
help: consider importing this type alias
|
1 + use crate::AllPalletsWithSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:311:48
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:311:37
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
311 | impl frame_benchmarking::Benchmark<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L287
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:287:21
|
287 | <Nfts as Inspect<AccountId>>::collection_attribute(&collection, &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L287
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:287:5
|
287 | <Nfts as Inspect<AccountId>>::collection_attribute(&collection, &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L283
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:283:21
|
283 | <Nfts as Inspect<AccountId>>::system_attribute(&collection, item.as_ref(), &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L283
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:283:5
|
283 | <Nfts as Inspect<AccountId>>::system_attribute(&collection, item.as_ref(), &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L270
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:270:21
|
270 | <Nfts as Inspect<AccountId>>::custom_attribute(
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L270
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:270:5
|
270 | <Nfts as Inspect<AccountId>>::custom_attribute(
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L265
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:265:13
|
265 | account: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L261
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:261:21
|
261 | <Nfts as Inspect<AccountId>>::attribute(&collection, &item, &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L261
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:261:5
|
261 | <Nfts as Inspect<AccountId>>::attribute(&collection, &item, &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L253
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:253:21
|
253 | <Nfts as Inspect<AccountId>>::collection_owner(&collection)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L253
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:253:5
|
253 | <Nfts as Inspect<AccountId>>::collection_owner(&collection)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L252
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:252:50
|
252 | fn collection_owner(collection: u32) -> Option<AccountId> {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L249
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:249:21
|
249 | <Nfts as Inspect<AccountId>>::owner(&collection, &item)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L249
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:249:5
|
249 | <Nfts as Inspect<AccountId>>::owner(&collection, &item)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L248
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:248:50
|
248 | fn owner(collection: u32, item: u32) -> Option<AccountId> {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:247:72
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:247:47
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:247:40
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
247 | impl pallet_nfts_runtime_api::NftsApi<BlockT, AccountId, u32, u32> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `ParachainSystem`:
runtime/devnet/src/apis.rs#L243
error[E0433]: failed to resolve: use of undeclared type `ParachainSystem`
--> runtime/devnet/src/apis.rs:243:4
|
243 | ParachainSystem::collect_collation_info(header)
| ^^^^^^^^^^^^^^^ use of undeclared type `ParachainSystem`
|
help: consider importing this type alias
|
1 + use crate::ParachainSystem;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L242
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:242:39
|
242 | fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
242 | fn collect_collation_info(header: &<BlockT as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:241:64
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:241:53
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
241 | impl cumulus_primitives_core::CollectCollationInfo<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L237
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:237:4
|
237 | Runtime::impl_can_build_upon(included_hash, slot)
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L234
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:234:20
|
234 | included_hash: <Block as BlockT>::Hash,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
234 | included_hash: <BlockT as BlockT>::Hash,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:232:68
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:232:57
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L228
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:228:4
|
228 | Contracts::get_storage(address, key)
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L225
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:225:13
|
225 | address: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L221
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:221:4
|
221 | Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism)
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L219
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:219:49
|
219 | ) -> pallet_contracts::CodeUploadResult<Hash, Balance>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L219
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:219:43
|
219 | ) -> pallet_contracts::CodeUploadResult<Hash, Balance>
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L217
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:217:34
|
217 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L215
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:215:12
|
215 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find value `CONTRACTS_EVENTS` in this scope:
runtime/devnet/src/apis.rs#L210
error[E0425]: cannot find value `CONTRACTS_EVENTS` in this scope
--> runtime/devnet/src/apis.rs:210:5
|
210 | CONTRACTS_EVENTS,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_EVENTS;
|
|
cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope:
runtime/devnet/src/apis.rs#L209
error[E0425]: cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope
--> runtime/devnet/src/apis.rs:209:5
|
209 | CONTRACTS_DEBUG_OUTPUT,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_DEBUG_OUTPUT;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L201
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:201:4
|
201 | Contracts::bare_instantiate(
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
failed to resolve: use of undeclared type `RuntimeBlockWeights`:
runtime/devnet/src/apis.rs#L200
error[E0433]: failed to resolve: use of undeclared type `RuntimeBlockWeights`
--> runtime/devnet/src/apis.rs:200:40
|
200 | let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block);
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeBlockWeights`
|
help: consider importing this struct
|
1 + use crate::RuntimeBlockWeights;
|
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:198:72
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::EventRecord;
|
1 + use frame_system::EventRecord;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:198:63
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:198:52
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L195
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:195:33
|
195 | code: pallet_contracts::Code<Hash>,
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L194
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:194:34
|
194 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L192
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:192:11
|
192 | value: Balance,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L191
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:191:12
|
191 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find value `CONTRACTS_EVENTS` in this scope:
runtime/devnet/src/apis.rs#L185
error[E0425]: cannot find value `CONTRACTS_EVENTS` in this scope
--> runtime/devnet/src/apis.rs:185:5
|
185 | CONTRACTS_EVENTS,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_EVENTS;
|
|
cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope:
runtime/devnet/src/apis.rs#L184
error[E0425]: cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope
--> runtime/devnet/src/apis.rs:184:5
|
184 | CONTRACTS_DEBUG_OUTPUT,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_DEBUG_OUTPUT;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L177
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:177:4
|
177 | Contracts::bare_call(
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
failed to resolve: use of undeclared type `RuntimeBlockWeights`:
runtime/devnet/src/apis.rs#L176
error[E0433]: failed to resolve: use of undeclared type `RuntimeBlockWeights`
--> runtime/devnet/src/apis.rs:176:40
|
176 | let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block);
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeBlockWeights`
|
help: consider importing this struct
|
1 + use crate::RuntimeBlockWeights;
|
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L175
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:175:54
|
175 | ) -> pallet_contracts::ContractExecResult<Balance, EventRecord> {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::EventRecord;
|
1 + use frame_system::EventRecord;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L175
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:175:45
|
175 | ) -> pallet_contracts::ContractExecResult<Balance, EventRecord> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L173
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:173:34
|
173 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L171
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:171:11
|
171 | value: Balance,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L170
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:170:10
|
170 | dest: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L169
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:169:12
|
169 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L166
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:166:7
|
166 | for Runtime
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:165:84
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::EventRecord;
|
1 + use frame_system::EventRecord;
|
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L165
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:165:78
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `BlockNumber` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `BlockNumber` in this scope
--> runtime/devnet/src/apis.rs:165:65
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::BlockNumber;
|
1 + use cumulus_primitives_core::relay_chain::BlockNumber;
|
1 + use parachains_common::BlockNumber;
|
1 + use pop_runtime_common::BlockNumber;
|
and 1 other candidate
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:165:56
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:165:45
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:165:38
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
165 | impl pallet_contracts::ContractsApi<BlockT, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L161
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:161:4
|
161 | TransactionPayment::length_to_fee(length)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
161 | TransactionValidity::length_to_fee(length)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L160
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:160:42
|
160 | fn query_length_to_fee(length: u32) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L158
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:158:4
|
158 | TransactionPayment::weight_to_fee(weight)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
158 | TransactionValidity::weight_to_fee(weight)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L157
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:157:45
|
157 | fn query_weight_to_fee(weight: Weight) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L155
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:155:4
|
155 | TransactionPayment::query_call_fee_details(call, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
155 | TransactionValidity::query_call_fee_details(call, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L154
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:154:47
|
154 | ) -> pallet_transaction_payment::FeeDetails<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L152
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:152:10
|
152 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L149
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:149:4
|
149 | TransactionPayment::query_call_info(call, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
149 | TransactionValidity::query_call_info(call, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L148
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:148:56
|
148 | ) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L146
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:146:10
|
146 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L143
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:143:7
|
143 | for Runtime
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:142:93
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:142:84
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:142:77
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<BlockT, Balance, RuntimeCall>
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L138
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:138:4
|
138 | TransactionPayment::length_to_fee(length)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
138 | TransactionValidity::length_to_fee(length)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L137
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:137:42
|
137 | fn query_length_to_fee(length: u32) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L135
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:135:4
|
135 | TransactionPayment::weight_to_fee(weight)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
135 | TransactionValidity::weight_to_fee(weight)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L134
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:134:45
|
134 | fn query_weight_to_fee(weight: Weight) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L132
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:132:4
|
132 | TransactionPayment::query_fee_details(uxt, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
132 | TransactionValidity::query_fee_details(uxt, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L131
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:131:47
|
131 | ) -> pallet_transaction_payment::FeeDetails<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L129
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:129:10
|
129 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
129 | uxt: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L126
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:126:4
|
126 | TransactionPayment::query_info(uxt, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
126 | TransactionValidity::query_info(uxt, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L125
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:125:72
|
125 | ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L123
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:123:10
|
123 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
123 | uxt: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:121:93
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:121:80
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:121:73
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<BlockT, Balance> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `System`:
runtime/devnet/src/apis.rs#L117
error[E0433]: failed to resolve: use of undeclared type `System`
--> runtime/devnet/src/apis.rs:117:4
|
117 | System::account_nonce(account)
| ^^^^^^ use of undeclared type `System`
|
help: consider importing one of these items
|
1 + use crate::System;
|
1 + use std::alloc::System;
|
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:116:43
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::Nonce;
|
1 + use cumulus_primitives_core::relay_chain::Nonce;
|
1 + use pallet_ismp::Nonce;
|
1 + use parachains_common::Nonce;
|
and 1 other candidate
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:116:29
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:115:82
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:115:71
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::Nonce;
|
1 + use cumulus_primitives_core::relay_chain::Nonce;
|
1 + use pallet_ismp::Nonce;
|
1 + use parachains_common::Nonce;
|
and 1 other candidate
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:115:60
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:115:53
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<BlockT, AccountId, Nonce> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `SessionKeys`:
runtime/devnet/src/apis.rs#L111
error[E0433]: failed to resolve: use of undeclared type `SessionKeys`
--> runtime/devnet/src/apis.rs:111:4
|
111 | SessionKeys::decode_into_raw_public_keys(&encoded)
| ^^^^^^^^^^^ use of undeclared type `SessionKeys`
|
help: consider importing one of these items
|
1 + use crate::SessionKeys;
|
1 + use sp_session::SessionKeys;
|
|
failed to resolve: use of undeclared type `SessionKeys`:
runtime/devnet/src/apis.rs#L105
error[E0433]: failed to resolve: use of undeclared type `SessionKeys`
--> runtime/devnet/src/apis.rs:105:4
|
105 | SessionKeys::generate(seed)
| ^^^^^^^^^^^ use of undeclared type `SessionKeys`
|
help: consider importing one of these items
|
1 + use crate::SessionKeys;
|
1 + use sp_session::SessionKeys;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:103:42
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:103:31
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
103 | impl sp_session::SessionKeys<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L99
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:99:4
|
99 | Executive::offchain_worker(header)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L98
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:98:32
|
98 | fn offchain_worker(header: &<Block as BlockT>::Header) {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
98 | fn offchain_worker(header: &<BlockT as BlockT>::Header) {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:97:49
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:97:38
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
97 | impl sp_offchain::OffchainWorkerApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L93
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:93:4
|
93 | Executive::validate_transaction(source, tx, block_hash)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L91
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:91:17
|
91 | block_hash: <Block as BlockT>::Hash,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
91 | block_hash: <BlockT as BlockT>::Hash,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L90
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:90:9
|
90 | tx: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
90 | tx: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:87:75
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:87:64
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L80
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:80:11
|
80 | block: Block,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
80 | block: BlockT,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L75
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:75:68
|
75 | fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<Block as BlockT>::Extrinsic> {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
75 | fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<BlockT as BlockT>::Extrinsic> {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L72
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:72:4
|
72 | Executive::finalize_block()
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L71
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:71:27
|
71 | fn finalize_block() -> <Block as BlockT>::Header {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
71 | fn finalize_block() -> <BlockT as BlockT>::Header {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L68
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:68:4
|
68 | Executive::apply_extrinsic(extrinsic)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L67
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:67:34
|
67 | fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
67 | fn apply_extrinsic(extrinsic: <BlockT as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:66:49
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:66:38
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
66 | impl sp_block_builder::BlockBuilder<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L62
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:62:4
|
62 | Runtime::metadata_versions()
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L58
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:58:4
|
58 | Runtime::metadata_at_version(version)
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L54
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:54:24
|
54 | OpaqueMetadata::new(Runtime::metadata().into())
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:52:35
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:52:24
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
52 | impl sp_api::Metadata<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L48
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:48:4
|
48 | Executive::initialize_block(header)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `ExtrinsicInclusionMode` in this scope:
runtime/devnet/src/apis.rs#L47
error[E0412]: cannot find type `ExtrinsicInclusionMode` in this scope
--> runtime/devnet/src/apis.rs:47:62
|
47 | fn initialize_block(header: &<Block as BlockT>::Header) -> ExtrinsicInclusionMode {
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::ExtrinsicInclusionMode;
|
1 + use sp_runtime::ExtrinsicInclusionMode;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L47
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:47:33
|
47 | fn initialize_block(header: &<Block as BlockT>::Header) -> ExtrinsicInclusionMode {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
47 | fn initialize_block(header: &<BlockT as BlockT>::Header) -> ExtrinsicInclusionMode {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L44
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:44:4
|
44 | Executive::execute_block(block)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L43
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:43:27
|
43 | fn execute_block(block: Block) {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
43 | fn execute_block(block: BlockT) {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find value `VERSION` in this scope:
runtime/devnet/src/apis.rs#L40
error[E0425]: cannot find value `VERSION` in this scope
--> runtime/devnet/src/apis.rs:40:4
|
40 | VERSION
| ^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::VERSION;
|
1 + use xcm::opaque::latest::VERSION;
|
1 + use xcm::opaque::lts::VERSION;
|
1 + use xcm::opaque::v3::VERSION;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:38:31
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:38:20
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
38 | impl sp_api::Core<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L34
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:34:31
|
34 | pallet_aura::Authorities::<Runtime>::get().into_inner()
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L30
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:30:4
|
30 | Runtime::impl_slot_duration()
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
no method named `check_extrinsics` found for struct `sp_inherents::InherentData` in the current scope:
runtime/devnet/src/apis.rs#L83
error[E0599]: no method named `check_extrinsics` found for struct `sp_inherents::InherentData` in the current scope
--> runtime/devnet/src/apis.rs:83:9
|
83 | data.check_extrinsics(&block)
| ^^^^^^^^^^^^^^^^
|
::: runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ------------------------- the method is available for `sp_inherents::InherentData` here
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `create_extrinsics` with a similar name, but with different arguments
--> runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `InherentDataExt` which provides `check_extrinsics` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::InherentDataExt;
|
|
no method named `create_extrinsics` found for struct `sp_inherents::InherentData` in the current scope:
runtime/devnet/src/apis.rs#L76
error[E0599]: no method named `create_extrinsics` found for struct `sp_inherents::InherentData` in the current scope
--> runtime/devnet/src/apis.rs:76:9
|
76 | data.create_extrinsics()
| ^^^^^^^^^^^^^^^^^
|
::: runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ------------------------- the method is available for `sp_inherents::InherentData` here
|
= help: items from traits can only be used if the trait is in scope
help: there is a method `check_extrinsics` with a similar name, but with different arguments
--> runtime/devnet/src/lib.rs:562:1
|
562 | #[frame_support::runtime]
| ^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the attribute macro `frame_support::runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: trait `InherentDataExt` which provides `create_extrinsics` is implemented but not in scope; perhaps you want to import it
|
1 + use crate::InherentDataExt;
|
|
cannot find value `RUNTIME_API_VERSIONS` in this scope:
runtime/devnet/src/lib.rs#L199
error[E0425]: cannot find value `RUNTIME_API_VERSIONS` in this scope
--> runtime/devnet/src/lib.rs:199:8
|
199 | apis: RUNTIME_API_VERSIONS,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
18 + use crate::apis::RUNTIME_API_VERSIONS;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:426:52
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:426:63
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:421:33
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::H256
sp_core::H256
sp_runtime::testing::H256
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:416:32
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::H256
sp_core::H256
sp_runtime::testing::H256
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L411
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:411:38
|
411 | fn latest_state_machine_height(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineId
ismp::consensus::StateMachineId
|
cannot find type `StateMachineHeight` in this scope:
runtime/devnet/src/apis.rs#L406
error[E0412]: cannot find type `StateMachineHeight` in this scope
--> runtime/devnet/src/apis.rs:406:40
|
406 | fn state_machine_update_time(height: StateMachineHeight) -> Option<u64> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineHeight
ismp::consensus::StateMachineHeight
|
cannot find type `ProofKeys` in this scope:
runtime/devnet/src/apis.rs#L385
error[E0412]: cannot find type `ProofKeys` in this scope
--> runtime/devnet/src/apis.rs:385:10
|
385 | keys: ProofKeys
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these enums:
crate::ProofKeys
pallet_ismp::offchain::ProofKeys
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L379
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:379:27
|
379 | fn challenge_period(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these structs:
crate::StateMachineId
ismp::consensus::StateMachineId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:55
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:47
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:374:83
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:360:53
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:311:37
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:311:48
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L265
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:265:13
|
265 | account: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:247:47
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:247:40
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:247:72
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:241:53
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:241:64
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L242
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:242:39
|
242 | fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:232:57
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:232:68
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L234
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:234:20
|
234 | included_hash: <Block as BlockT>::Hash,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L225
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:225:13
|
225 | address: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L217
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:217:34
|
217 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L215
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:215:12
|
215 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L195
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:195:33
|
195 | code: pallet_contracts::Code<Hash>,
| ^^^^ not a type
|
= help: consider importing one of these items instead:
crate::Hash
crate::opaque::Hash
std::hash::Hash
cumulus_primitives_core::relay_chain::Hash
parachains_common::Hash
pop_runtime_common::Hash
scale_info::prelude::hash::Hash
sp_runtime::traits::Hash
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L194
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:194:34
|
194 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L192
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:192:11
|
192 | value: Balance,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L191
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:191:12
|
191 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:165:84
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::EventRecord
frame_system::EventRecord
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L165
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:165:78
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^ not a type
|
= help: consider importing one of these items instead:
crate::Hash
crate::opaque::Hash
std::hash::Hash
cumulus_primitives_core::relay_chain::Hash
parachains_common::Hash
pop_runtime_common::Hash
scale_info::prelude::hash::Hash
sp_runtime::traits::Hash
|
cannot find type `BlockNumber` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `BlockNumber` in this scope
--> runtime/devnet/src/apis.rs:165:65
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::BlockNumber
cumulus_primitives_core::relay_chain::BlockNumber
parachains_common::BlockNumber
pop_runtime_common::BlockNumber
sp_runtime::traits::BlockNumber
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:165:56
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:165:45
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:165:38
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L166
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:166:7
|
166 | for Runtime
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L173
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:173:34
|
173 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L171
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:171:11
|
171 | value: Balance,
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L170
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:170:10
|
170 | dest: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L169
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:169:12
|
169 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L152
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:152:10
|
152 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing this enum:
crate::RuntimeCall
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:142:93
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing this enum:
crate::RuntimeCall
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:142:84
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:142:77
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L143
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:143:7
|
143 | for Runtime
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L146
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:146:10
|
146 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
= help: consider importing this enum:
crate::RuntimeCall
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L129
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:129:10
|
129 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:121:80
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing one of these items:
crate::Balance
crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance
cumulus_primitives_core::relay_chain::Balance
frame_support::traits::tokens::Balance
parachains_common::Balance
pop_runtime_common::Balance
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:121:73
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:121:93
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L123
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:123:10
|
123 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:115:71
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::Nonce
cumulus_primitives_core::relay_chain::Nonce
pallet_ismp::Nonce
parachains_common::Nonce
pop_runtime_common::Nonce
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:115:60
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:115:53
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:115:82
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:116:29
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^^^^^ not found in this scope
|
= help: consider importing one of these type aliases:
crate::AccountId
cumulus_primitives_core::relay_chain::AccountId
parachains_common::AccountId
pop_runtime_common::AccountId
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:103:31
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:103:42
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:97:38
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:97:49
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L98
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:98:32
|
98 | fn offchain_worker(header: &<Block as BlockT>::Header) {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:87:64
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:87:75
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L91
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:91:17
|
91 | block_hash: <Block as BlockT>::Hash,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L90
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:90:9
|
90 | tx: <Block as BlockT>::Extrinsic,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L80
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:80:11
|
80 | block: Block,
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:66:38
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:66:49
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L67
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:67:34
|
67 | fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:52:24
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:52:35
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L47
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:47:33
|
47 | fn initialize_block(header: &<Block as BlockT>::Header) -> ExtrinsicInclusionMode {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L43
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:43:27
|
43 | fn execute_block(block: Block) {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:38:20
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:38:31
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L28
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:28:34
|
28 | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
| ^^^^^ help: a trait with a similar name exists: `BlockT`
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
= help: consider importing one of these items:
crate::Block
crate::generic::Block
crate::opaque::Block
cumulus_primitives_core::relay_chain::Block
parachains_common::Block
pop_runtime_common::Block
sp_runtime::generic::Block
sp_runtime::testing::Block
sp_runtime::traits::Block
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L28
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:28:53
|
28 | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
| ^^^^^^^ not found in this scope
|
= help: consider importing this struct:
crate::Runtime
|
failed to resolve: use of undeclared type `IsmpParachain`:
runtime/devnet/src/apis.rs#L432
error[E0433]: failed to resolve: use of undeclared type `IsmpParachain`
--> runtime/devnet/src/apis.rs:432:4
|
432 | IsmpParachain::current_relay_chain_state()
| ^^^^^^^^^^^^^ use of undeclared type `IsmpParachain`
|
help: consider importing this type alias
|
1 + use crate::IsmpParachain;
|
|
cannot find type `RelayChainState` in this scope:
runtime/devnet/src/apis.rs#L431
error[E0412]: cannot find type `RelayChainState` in this scope
--> runtime/devnet/src/apis.rs:431:37
|
431 | fn current_relay_chain_state() -> RelayChainState {
| ^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::RelayChainState;
|
1 + use cumulus_pallet_parachain_system::RelayChainState;
|
|
failed to resolve: use of undeclared type `IsmpParachain`:
runtime/devnet/src/apis.rs#L428
error[E0433]: failed to resolve: use of undeclared type `IsmpParachain`
--> runtime/devnet/src/apis.rs:428:4
|
428 | IsmpParachain::para_ids()
| ^^^^^^^^^^^^^ use of undeclared type `IsmpParachain`
|
help: consider importing this type alias
|
1 + use crate::IsmpParachain;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:426:63
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L426
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:426:52
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
426 | impl ismp_parachain_runtime_api::IsmpParachainApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L422
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:422:4
|
422 | Ismp::responses(commitments)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Response` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `Response` in this scope
--> runtime/devnet/src/apis.rs:421:47
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Response;
|
1 + use cumulus_primitives_core::Response;
|
1 + use ismp::router::Response;
|
1 + use sp_runtime::offchain::http::Response;
|
and 4 other candidates
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L421
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:421:33
|
421 | fn responses(commitments: Vec<H256>) -> Vec<Response> {
| ^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::H256;
|
1 + use sp_core::H256;
|
1 + use sp_runtime::testing::H256;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L417
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:417:4
|
417 | Ismp::requests(commitments)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Request` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `Request` in this scope
--> runtime/devnet/src/apis.rs:416:46
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Request;
|
1 + use std::error::Request;
|
1 + use ismp::router::Request;
|
1 + use sp_runtime::offchain::http::Request;
|
|
cannot find type `H256` in this scope:
runtime/devnet/src/apis.rs#L416
error[E0412]: cannot find type `H256` in this scope
--> runtime/devnet/src/apis.rs:416:32
|
416 | fn requests(commitments: Vec<H256>) -> Vec<Request> {
| ^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::H256;
|
1 + use sp_core::H256;
|
1 + use sp_runtime::testing::H256;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L412
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:412:4
|
412 | Ismp::latest_state_machine_height(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L411
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:411:38
|
411 | fn latest_state_machine_height(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineId;
|
1 + use ismp::consensus::StateMachineId;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L407
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:407:4
|
407 | Ismp::state_machine_update_time(height)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineHeight` in this scope:
runtime/devnet/src/apis.rs#L406
error[E0412]: cannot find type `StateMachineHeight` in this scope
--> runtime/devnet/src/apis.rs:406:40
|
406 | fn state_machine_update_time(height: StateMachineHeight) -> Option<u64> {
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineHeight;
|
1 + use ismp::consensus::StateMachineHeight;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L402
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:402:4
|
402 | Ismp::consensus_states(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `ConsensusClientId` in this scope:
runtime/devnet/src/apis.rs#L401
error[E0412]: cannot find type `ConsensusClientId` in this scope
--> runtime/devnet/src/apis.rs:401:26
|
401 | fn consensus_state(id: ConsensusClientId) -> Option<Vec<u8>> {
| ^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::ConsensusClientId;
|
1 + use ismp::consensus::ConsensusClientId;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L397
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:397:4
|
397 | Ismp::block_events_with_metadata()
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L392
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:392:4
|
392 | Ismp::block_events()
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L387
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:387:4
|
387 | Ismp::generate_proof(keys)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:386:34
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
386 | ) -> Result<(Vec<Leaf>, Proof<<BlockT as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Proof` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Proof` in this scope
--> runtime/devnet/src/apis.rs:386:27
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::Proof;
|
1 + use ismp::messaging::Proof;
|
1 + use pallet_ismp::offchain::Proof;
|
|
cannot find type `Leaf` in this scope:
runtime/devnet/src/apis.rs#L386
error[E0412]: cannot find type `Leaf` in this scope
--> runtime/devnet/src/apis.rs:386:20
|
386 | ) -> Result<(Vec<Leaf>, Proof<<Block as BlockT>::Hash>), sp_mmr_primitives::Error> {
| ^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::Leaf;
|
1 + use pallet_ismp::offchain::Leaf;
|
|
cannot find type `ProofKeys` in this scope:
runtime/devnet/src/apis.rs#L385
error[E0412]: cannot find type `ProofKeys` in this scope
--> runtime/devnet/src/apis.rs:385:10
|
385 | keys: ProofKeys
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::ProofKeys;
|
1 + use pallet_ismp::offchain::ProofKeys;
|
|
failed to resolve: use of undeclared type `Ismp`:
runtime/devnet/src/apis.rs#L380
error[E0433]: failed to resolve: use of undeclared type `Ismp`
--> runtime/devnet/src/apis.rs:380:4
|
380 | Ismp::challenge_period(id)
| ^^^^ use of undeclared type `Ismp`
|
help: consider importing this type alias
|
1 + use crate::Ismp;
|
|
cannot find type `StateMachineId` in this scope:
runtime/devnet/src/apis.rs#L379
error[E0412]: cannot find type `StateMachineId` in this scope
--> runtime/devnet/src/apis.rs:379:27
|
379 | fn challenge_period(id: StateMachineId) -> Option<u64> {
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these structs
|
1 + use crate::StateMachineId;
|
1 + use ismp::consensus::StateMachineId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L376
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:376:5
|
376 | <Runtime as pallet_ismp::Config>::HostStateMachine::get()
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `StateMachine` in this scope:
runtime/devnet/src/apis.rs#L375
error[E0412]: cannot find type `StateMachine` in this scope
--> runtime/devnet/src/apis.rs:375:30
|
375 | fn host_state_machine() -> StateMachine {
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these enums
|
1 + use crate::StateMachine;
|
1 + use ismp::host::StateMachine;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:374:83
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:55
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <BlockT as BlockT>::Hash> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L374
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:374:47
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<Block, <Block as BlockT>::Hash> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
374 | impl pallet_ismp_runtime_api::IsmpRuntimeApi<BlockT, <Block as BlockT>::Hash> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared crate or module `genesis`:
runtime/devnet/src/apis.rs#L370
error[E0433]: failed to resolve: use of undeclared crate or module `genesis`
--> runtime/devnet/src/apis.rs:370:4
|
370 | genesis::presets()
| ^^^^^^^ use of undeclared crate or module `genesis`
|
help: consider importing this module
|
1 + use crate::genesis;
|
|
failed to resolve: use of undeclared crate or module `genesis`:
runtime/devnet/src/apis.rs#L366
error[E0433]: failed to resolve: use of undeclared crate or module `genesis`
--> runtime/devnet/src/apis.rs:366:43
|
366 | get_preset::<RuntimeGenesisConfig>(id, genesis::get_preset)
| ^^^^^^^ use of undeclared crate or module `genesis`
|
help: consider importing this module
|
1 + use crate::genesis;
|
|
cannot find type `RuntimeGenesisConfig` in this scope:
runtime/devnet/src/apis.rs#L366
error[E0412]: cannot find type `RuntimeGenesisConfig` in this scope
--> runtime/devnet/src/apis.rs:366:17
|
366 | get_preset::<RuntimeGenesisConfig>(id, genesis::get_preset)
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::RuntimeGenesisConfig;
|
|
cannot find type `RuntimeGenesisConfig` in this scope:
runtime/devnet/src/apis.rs#L362
error[E0412]: cannot find type `RuntimeGenesisConfig` in this scope
--> runtime/devnet/src/apis.rs:362:18
|
362 | build_state::<RuntimeGenesisConfig>(config)
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::RuntimeGenesisConfig;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:360:53
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L360
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:360:42
|
360 | impl sp_genesis_builder::GenesisBuilder<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
360 | impl sp_genesis_builder::GenesisBuilder<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `AllPalletsWithSystem`:
runtime/devnet/src/apis.rs#L349
error[E0433]: failed to resolve: use of undeclared type `AllPalletsWithSystem`
--> runtime/devnet/src/apis.rs:349:20
|
349 | let whitelist = AllPalletsWithSystem::whitelisted_storage_keys();
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AllPalletsWithSystem`
|
help: consider importing this type alias
|
1 + use crate::AllPalletsWithSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L346
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:346:57
|
346 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L341
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:341:73
|
341 | System::assert_last_event(cumulus_pallet_parachain_system::Event::<Runtime>::ValidationFunctionStored.into());
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `System`:
runtime/devnet/src/apis.rs#L341
error[E0433]: failed to resolve: use of undeclared type `System`
--> runtime/devnet/src/apis.rs:341:6
|
341 | System::assert_last_event(cumulus_pallet_parachain_system::Event::<Runtime>::ValidationFunctionStored.into());
| ^^^^^^ use of undeclared type `System`
|
help: consider importing one of these items
|
1 + use crate::System;
|
1 + use std::alloc::System;
|
|
failed to resolve: use of undeclared type `ParachainSystem`:
runtime/devnet/src/apis.rs#L336
error[E0433]: failed to resolve: use of undeclared type `ParachainSystem`
--> runtime/devnet/src/apis.rs:336:6
|
336 | ParachainSystem::initialize_for_set_code_benchmark(code.len() as u32);
| ^^^^^^^^^^^^^^^ use of undeclared type `ParachainSystem`
|
help: consider importing this type alias
|
1 + use crate::ParachainSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L334
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:334:47
|
334 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `AllPalletsWithSystem`:
runtime/devnet/src/apis.rs#L324
error[E0433]: failed to resolve: use of undeclared type `AllPalletsWithSystem`
--> runtime/devnet/src/apis.rs:324:23
|
324 | let storage_info = AllPalletsWithSystem::storage_info();
| ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AllPalletsWithSystem`
|
help: consider importing this type alias
|
1 + use crate::AllPalletsWithSystem;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:311:48
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L311
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:311:37
|
311 | impl frame_benchmarking::Benchmark<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
311 | impl frame_benchmarking::Benchmark<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L287
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:287:21
|
287 | <Nfts as Inspect<AccountId>>::collection_attribute(&collection, &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L287
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:287:5
|
287 | <Nfts as Inspect<AccountId>>::collection_attribute(&collection, &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L283
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:283:21
|
283 | <Nfts as Inspect<AccountId>>::system_attribute(&collection, item.as_ref(), &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L283
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:283:5
|
283 | <Nfts as Inspect<AccountId>>::system_attribute(&collection, item.as_ref(), &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L270
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:270:21
|
270 | <Nfts as Inspect<AccountId>>::custom_attribute(
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L270
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:270:5
|
270 | <Nfts as Inspect<AccountId>>::custom_attribute(
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L265
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:265:13
|
265 | account: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L261
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:261:21
|
261 | <Nfts as Inspect<AccountId>>::attribute(&collection, &item, &key)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L261
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:261:5
|
261 | <Nfts as Inspect<AccountId>>::attribute(&collection, &item, &key)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L253
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:253:21
|
253 | <Nfts as Inspect<AccountId>>::collection_owner(&collection)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Nfts` in this scope:
runtime/devnet/src/apis.rs#L253
error[E0412]: cannot find type `Nfts` in this scope
--> runtime/devnet/src/apis.rs:253:5
|
253 | <Nfts as Inspect<AccountId>>::collection_owner(&collection)
| ^^^^ not found in this scope
|
help: consider importing this type alias
|
1 + use crate::Nfts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L252
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:252:50
|
252 | fn collection_owner(collection: u32) -> Option<AccountId> {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L249
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:249:21
|
249 | <Nfts as Inspect<AccountId>>::owner(&collection, &item)
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L248
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:248:50
|
248 | fn owner(collection: u32, item: u32) -> Option<AccountId> {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:247:72
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:247:47
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L247
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:247:40
|
247 | impl pallet_nfts_runtime_api::NftsApi<Block, AccountId, u32, u32> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
247 | impl pallet_nfts_runtime_api::NftsApi<BlockT, AccountId, u32, u32> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `ParachainSystem`:
runtime/devnet/src/apis.rs#L243
error[E0433]: failed to resolve: use of undeclared type `ParachainSystem`
--> runtime/devnet/src/apis.rs:243:4
|
243 | ParachainSystem::collect_collation_info(header)
| ^^^^^^^^^^^^^^^ use of undeclared type `ParachainSystem`
|
help: consider importing this type alias
|
1 + use crate::ParachainSystem;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L242
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:242:39
|
242 | fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
242 | fn collect_collation_info(header: &<BlockT as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:241:64
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L241
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:241:53
|
241 | impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
241 | impl cumulus_primitives_core::CollectCollationInfo<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L237
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:237:4
|
237 | Runtime::impl_can_build_upon(included_hash, slot)
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L234
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:234:20
|
234 | included_hash: <Block as BlockT>::Hash,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
234 | included_hash: <BlockT as BlockT>::Hash,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:232:68
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L232
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:232:57
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
232 | impl cumulus_primitives_aura::AuraUnincludedSegmentApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L228
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:228:4
|
228 | Contracts::get_storage(address, key)
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L225
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:225:13
|
225 | address: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L221
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:221:4
|
221 | Contracts::bare_upload_code(origin, code, storage_deposit_limit, determinism)
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L219
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:219:49
|
219 | ) -> pallet_contracts::CodeUploadResult<Hash, Balance>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L219
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:219:43
|
219 | ) -> pallet_contracts::CodeUploadResult<Hash, Balance>
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L217
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:217:34
|
217 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L215
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:215:12
|
215 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find value `CONTRACTS_EVENTS` in this scope:
runtime/devnet/src/apis.rs#L210
error[E0425]: cannot find value `CONTRACTS_EVENTS` in this scope
--> runtime/devnet/src/apis.rs:210:5
|
210 | CONTRACTS_EVENTS,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_EVENTS;
|
|
cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope:
runtime/devnet/src/apis.rs#L209
error[E0425]: cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope
--> runtime/devnet/src/apis.rs:209:5
|
209 | CONTRACTS_DEBUG_OUTPUT,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_DEBUG_OUTPUT;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L201
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:201:4
|
201 | Contracts::bare_instantiate(
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
failed to resolve: use of undeclared type `RuntimeBlockWeights`:
runtime/devnet/src/apis.rs#L200
error[E0433]: failed to resolve: use of undeclared type `RuntimeBlockWeights`
--> runtime/devnet/src/apis.rs:200:40
|
200 | let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block);
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeBlockWeights`
|
help: consider importing this struct
|
1 + use crate::RuntimeBlockWeights;
|
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:198:72
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::EventRecord;
|
1 + use frame_system::EventRecord;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:198:63
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L198
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:198:52
|
198 | ) -> pallet_contracts::ContractInstantiateResult<AccountId, Balance, EventRecord>
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L195
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:195:33
|
195 | code: pallet_contracts::Code<Hash>,
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L194
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:194:34
|
194 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L192
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:192:11
|
192 | value: Balance,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L191
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:191:12
|
191 | origin: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find value `CONTRACTS_EVENTS` in this scope:
runtime/devnet/src/apis.rs#L185
error[E0425]: cannot find value `CONTRACTS_EVENTS` in this scope
--> runtime/devnet/src/apis.rs:185:5
|
185 | CONTRACTS_EVENTS,
| ^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_EVENTS;
|
|
cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope:
runtime/devnet/src/apis.rs#L184
error[E0425]: cannot find value `CONTRACTS_DEBUG_OUTPUT` in this scope
--> runtime/devnet/src/apis.rs:184:5
|
184 | CONTRACTS_DEBUG_OUTPUT,
| ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
1 + use crate::CONTRACTS_DEBUG_OUTPUT;
|
|
failed to resolve: use of undeclared type `Contracts`:
runtime/devnet/src/apis.rs#L177
error[E0433]: failed to resolve: use of undeclared type `Contracts`
--> runtime/devnet/src/apis.rs:177:4
|
177 | Contracts::bare_call(
| ^^^^^^^^^ use of undeclared type `Contracts`
|
help: consider importing this type alias
|
1 + use crate::Contracts;
|
|
failed to resolve: use of undeclared type `RuntimeBlockWeights`:
runtime/devnet/src/apis.rs#L176
error[E0433]: failed to resolve: use of undeclared type `RuntimeBlockWeights`
--> runtime/devnet/src/apis.rs:176:40
|
176 | let gas_limit = gas_limit.unwrap_or(RuntimeBlockWeights::get().max_block);
| ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RuntimeBlockWeights`
|
help: consider importing this struct
|
1 + use crate::RuntimeBlockWeights;
|
|
cannot find type `EventRecord` in this scope:
runtime/devnet/src/apis.rs#L175
error[E0412]: cannot find type `EventRecord` in this scope
--> runtime/devnet/src/apis.rs:175:54
|
175 | ) -> pallet_contracts::ContractExecResult<Balance, EventRecord> {
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::EventRecord;
|
1 + use frame_system::EventRecord;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L175
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:175:45
|
175 | ) -> pallet_contracts::ContractExecResult<Balance, EventRecord> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L173
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:173:34
|
173 | storage_deposit_limit: Option<Balance>,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L171
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:171:11
|
171 | value: Balance,
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L170
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:170:10
|
170 | dest: AccountId,
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
expected type, found derive macro `Hash`:
runtime/devnet/src/apis.rs#L165
error[E0573]: expected type, found derive macro `Hash`
--> runtime/devnet/src/apis.rs:165:78
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^ not a type
|
help: consider importing one of these items instead
|
1 + use crate::Hash;
|
1 + use crate::opaque::Hash;
|
1 + use std::hash::Hash;
|
1 + use cumulus_primitives_core::relay_chain::Hash;
|
and 4 other candidates
|
cannot find type `BlockNumber` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `BlockNumber` in this scope
--> runtime/devnet/src/apis.rs:165:65
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::BlockNumber;
|
1 + use cumulus_primitives_core::relay_chain::BlockNumber;
|
1 + use parachains_common::BlockNumber;
|
1 + use pop_runtime_common::BlockNumber;
|
and 1 other candidate
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:165:56
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:165:45
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L165
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:165:38
|
165 | impl pallet_contracts::ContractsApi<Block, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
165 | impl pallet_contracts::ContractsApi<BlockT, AccountId, Balance, BlockNumber, Hash, EventRecord>
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L161
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:161:4
|
161 | TransactionPayment::length_to_fee(length)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
161 | TransactionValidity::length_to_fee(length)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L160
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:160:42
|
160 | fn query_length_to_fee(length: u32) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L158
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:158:4
|
158 | TransactionPayment::weight_to_fee(weight)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
158 | TransactionValidity::weight_to_fee(weight)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L157
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:157:45
|
157 | fn query_weight_to_fee(weight: Weight) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L155
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:155:4
|
155 | TransactionPayment::query_call_fee_details(call, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
155 | TransactionValidity::query_call_fee_details(call, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L154
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:154:47
|
154 | ) -> pallet_transaction_payment::FeeDetails<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L152
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:152:10
|
152 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L149
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:149:4
|
149 | TransactionPayment::query_call_info(call, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
149 | TransactionValidity::query_call_info(call, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L148
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:148:56
|
148 | ) -> pallet_transaction_payment::RuntimeDispatchInfo<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L146
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:146:10
|
146 | call: RuntimeCall,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L143
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:143:7
|
143 | for Runtime
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `RuntimeCall` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `RuntimeCall` in this scope
--> runtime/devnet/src/apis.rs:142:93
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this enum
|
1 + use crate::RuntimeCall;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:142:84
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L142
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:142:77
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<Block, Balance, RuntimeCall>
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
142 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentCallApi<BlockT, Balance, RuntimeCall>
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L138
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:138:4
|
138 | TransactionPayment::length_to_fee(length)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
138 | TransactionValidity::length_to_fee(length)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L137
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:137:42
|
137 | fn query_length_to_fee(length: u32) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L135
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:135:4
|
135 | TransactionPayment::weight_to_fee(weight)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
135 | TransactionValidity::weight_to_fee(weight)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L134
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:134:45
|
134 | fn query_weight_to_fee(weight: Weight) -> Balance {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L129
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:129:10
|
129 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
129 | uxt: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `TransactionPayment`:
runtime/devnet/src/apis.rs#L126
error[E0433]: failed to resolve: use of undeclared type `TransactionPayment`
--> runtime/devnet/src/apis.rs:126:4
|
126 | TransactionPayment::query_info(uxt, len)
| ^^^^^^^^^^^^^^^^^^ use of undeclared type `TransactionPayment`
|
help: a type alias with a similar name exists
|
126 | TransactionValidity::query_info(uxt, len)
| ~~~~~~~~~~~~~~~~~~~
help: consider importing this type alias
|
1 + use crate::TransactionPayment;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L125
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:125:72
|
125 | ) -> pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo<Balance> {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L123
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:123:10
|
123 | uxt: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
123 | uxt: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:121:93
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Balance` in this scope:
runtime/devnet/src/apis.rs#L121
error[E0412]: cannot find type `Balance` in this scope
--> runtime/devnet/src/apis.rs:121:80
|
121 | impl pallet_transaction_payment_rpc_runtime_api::TransactionPaymentApi<Block, Balance> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
1 + use crate::Balance;
|
1 + use crate::sp_api_hidden_includes_construct_runtime::hidden_include::traits::tokens::Balance;
|
1 + use cumulus_primitives_core::relay_chain::Balance;
|
1 + use frame_support::traits::tokens::Balance;
|
and 2 other candidates
|
failed to resolve: use of undeclared type `System`:
runtime/devnet/src/apis.rs#L117
error[E0433]: failed to resolve: use of undeclared type `System`
--> runtime/devnet/src/apis.rs:117:4
|
117 | System::account_nonce(account)
| ^^^^^^ use of undeclared type `System`
|
help: consider importing one of these items
|
1 + use crate::System;
|
1 + use std::alloc::System;
|
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:116:43
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::Nonce;
|
1 + use cumulus_primitives_core::relay_chain::Nonce;
|
1 + use pallet_ismp::Nonce;
|
1 + use parachains_common::Nonce;
|
and 1 other candidate
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L116
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:116:29
|
116 | fn account_nonce(account: AccountId) -> Nonce {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:115:82
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Nonce` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Nonce` in this scope
--> runtime/devnet/src/apis.rs:115:71
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::Nonce;
|
1 + use cumulus_primitives_core::relay_chain::Nonce;
|
1 + use pallet_ismp::Nonce;
|
1 + use parachains_common::Nonce;
|
and 1 other candidate
|
cannot find type `AccountId` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `AccountId` in this scope
--> runtime/devnet/src/apis.rs:115:60
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^^^^^ not found in this scope
|
help: consider importing one of these type aliases
|
1 + use crate::AccountId;
|
1 + use cumulus_primitives_core::relay_chain::AccountId;
|
1 + use parachains_common::AccountId;
|
1 + use pop_runtime_common::AccountId;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L115
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:115:53
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<Block, AccountId, Nonce> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
115 | impl frame_system_rpc_runtime_api::AccountNonceApi<BlockT, AccountId, Nonce> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `SessionKeys`:
runtime/devnet/src/apis.rs#L111
error[E0433]: failed to resolve: use of undeclared type `SessionKeys`
--> runtime/devnet/src/apis.rs:111:4
|
111 | SessionKeys::decode_into_raw_public_keys(&encoded)
| ^^^^^^^^^^^ use of undeclared type `SessionKeys`
|
help: consider importing one of these items
|
1 + use crate::SessionKeys;
|
1 + use sp_session::SessionKeys;
|
|
failed to resolve: use of undeclared type `SessionKeys`:
runtime/devnet/src/apis.rs#L105
error[E0433]: failed to resolve: use of undeclared type `SessionKeys`
--> runtime/devnet/src/apis.rs:105:4
|
105 | SessionKeys::generate(seed)
| ^^^^^^^^^^^ use of undeclared type `SessionKeys`
|
help: consider importing one of these items
|
1 + use crate::SessionKeys;
|
1 + use sp_session::SessionKeys;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:103:42
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L103
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:103:31
|
103 | impl sp_session::SessionKeys<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
103 | impl sp_session::SessionKeys<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L99
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:99:4
|
99 | Executive::offchain_worker(header)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L98
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:98:32
|
98 | fn offchain_worker(header: &<Block as BlockT>::Header) {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
98 | fn offchain_worker(header: &<BlockT as BlockT>::Header) {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:97:49
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L97
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:97:38
|
97 | impl sp_offchain::OffchainWorkerApi<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
97 | impl sp_offchain::OffchainWorkerApi<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L93
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:93:4
|
93 | Executive::validate_transaction(source, tx, block_hash)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L91
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:91:17
|
91 | block_hash: <Block as BlockT>::Hash,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
91 | block_hash: <BlockT as BlockT>::Hash,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L90
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:90:9
|
90 | tx: <Block as BlockT>::Extrinsic,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
90 | tx: <BlockT as BlockT>::Extrinsic,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:87:75
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L87
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:87:64
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
87 | impl sp_transaction_pool::runtime_api::TaggedTransactionQueue<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L80
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:80:11
|
80 | block: Block,
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
80 | block: BlockT,
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L75
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:75:68
|
75 | fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<Block as BlockT>::Extrinsic> {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
75 | fn inherent_extrinsics(data: sp_inherents::InherentData) -> Vec<<BlockT as BlockT>::Extrinsic> {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L72
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:72:4
|
72 | Executive::finalize_block()
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L71
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:71:27
|
71 | fn finalize_block() -> <Block as BlockT>::Header {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
71 | fn finalize_block() -> <BlockT as BlockT>::Header {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L68
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:68:4
|
68 | Executive::apply_extrinsic(extrinsic)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L67
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:67:34
|
67 | fn apply_extrinsic(extrinsic: <Block as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
67 | fn apply_extrinsic(extrinsic: <BlockT as BlockT>::Extrinsic) -> ApplyExtrinsicResult {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:66:49
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L66
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:66:38
|
66 | impl sp_block_builder::BlockBuilder<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
66 | impl sp_block_builder::BlockBuilder<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L62
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:62:4
|
62 | Runtime::metadata_versions()
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:52:35
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L52
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:52:24
|
52 | impl sp_api::Metadata<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
52 | impl sp_api::Metadata<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L48
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:48:4
|
48 | Executive::initialize_block(header)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L47
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:47:33
|
47 | fn initialize_block(header: &<Block as BlockT>::Header) -> ExtrinsicInclusionMode {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
47 | fn initialize_block(header: &<BlockT as BlockT>::Header) -> ExtrinsicInclusionMode {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
failed to resolve: use of undeclared type `Executive`:
runtime/devnet/src/apis.rs#L44
error[E0433]: failed to resolve: use of undeclared type `Executive`
--> runtime/devnet/src/apis.rs:44:4
|
44 | Executive::execute_block(block)
| ^^^^^^^^^ use of undeclared type `Executive`
|
help: consider importing one of these items
|
1 + use crate::Executive;
|
1 + use frame_executive::Executive;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L43
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:43:27
|
43 | fn execute_block(block: Block) {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
43 | fn execute_block(block: BlockT) {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find value `VERSION` in this scope:
runtime/devnet/src/apis.rs#L40
error[E0425]: cannot find value `VERSION` in this scope
--> runtime/devnet/src/apis.rs:40:4
|
40 | VERSION
| ^^^^^^^ not found in this scope
|
help: consider importing one of these constants
|
1 + use crate::VERSION;
|
1 + use xcm::opaque::latest::VERSION;
|
1 + use xcm::opaque::lts::VERSION;
|
1 + use xcm::opaque::v3::VERSION;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:38:31
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Block` in this scope:
runtime/devnet/src/apis.rs#L38
error[E0412]: cannot find type `Block` in this scope
--> runtime/devnet/src/apis.rs:38:20
|
38 | impl sp_api::Core<Block> for Runtime {
| ^^^^^
|
::: /home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs:1289:1
|
1289 | / pub trait Block:
1290 | | HeaderProvider<HeaderT = <Self as Block>::Header>
1291 | | + Clone
1292 | | + Send
... |
1297 | | + Debug
1298 | | + 'static
| |_____________- similarly named trait `BlockT` defined here
|
help: a trait with a similar name exists
|
38 | impl sp_api::Core<BlockT> for Runtime {
| ~~~~~~
help: consider importing one of these items
|
1 + use crate::Block;
|
1 + use crate::generic::Block;
|
1 + use crate::opaque::Block;
|
1 + use cumulus_primitives_core::relay_chain::Block;
|
and 5 other candidates
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L34
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:34:31
|
34 | pallet_aura::Authorities::<Runtime>::get().into_inner()
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
failed to resolve: use of undeclared type `Runtime`:
runtime/devnet/src/apis.rs#L30
error[E0433]: failed to resolve: use of undeclared type `Runtime`
--> runtime/devnet/src/apis.rs:30:4
|
30 | Runtime::impl_slot_duration()
| ^^^^^^^ use of undeclared type `Runtime`
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
cannot find type `Runtime` in this scope:
runtime/devnet/src/apis.rs#L28
error[E0412]: cannot find type `Runtime` in this scope
--> runtime/devnet/src/apis.rs:28:53
|
28 | impl sp_consensus_aura::AuraApi<Block, AuraId> for Runtime {
| ^^^^^^^ not found in this scope
|
help: consider importing this struct
|
1 + use crate::Runtime;
|
|
unused import: `Get`:
runtime/devnet/src/lib.rs#L65
warning: unused import: `Get`
--> runtime/devnet/src/lib.rs:65:34
|
65 | use sp_core::{crypto::KeyTypeId, Get, OpaqueMetadata, H256};
| ^^^
|
unused import: `tokens::nonfungibles_v2::Inspect`:
runtime/devnet/src/lib.rs#L35
warning: unused import: `tokens::nonfungibles_v2::Inspect`
--> runtime/devnet/src/lib.rs:35:32
|
35 | fungible::HoldConsideration, tokens::nonfungibles_v2::Inspect, ConstBool, ConstU32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ApplyExtrinsicResult`, `TransactionSource`, and `TransactionValidity`:
runtime/devnet/src/lib.rs#L71
warning: unused imports: `ApplyExtrinsicResult`, `TransactionSource`, and `TransactionValidity`
--> runtime/devnet/src/lib.rs:71:25
|
71 | transaction_validity::{TransactionSource, TransactionValidity},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
72 | ApplyExtrinsicResult,
| ^^^^^^^^^^^^^^^^^^^^
|
unused imports: `H256`, `OpaqueMetadata`, and `crypto::KeyTypeId`:
runtime/devnet/src/lib.rs#L65
warning: unused imports: `H256`, `OpaqueMetadata`, and `crypto::KeyTypeId`
--> runtime/devnet/src/lib.rs:65:15
|
65 | use sp_core::{crypto::KeyTypeId, Get, OpaqueMetadata, H256};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^
|
unused import: `sp_api::impl_runtime_apis`:
runtime/devnet/src/lib.rs#L64
warning: unused import: `sp_api::impl_runtime_apis`
--> runtime/devnet/src/lib.rs:64:5
|
64 | use sp_api::impl_runtime_apis;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `Leaf`, `ProofKeys`, and `Proof`:
runtime/devnet/src/lib.rs#L51
warning: unused imports: `Leaf`, `ProofKeys`, and `Proof`
--> runtime/devnet/src/lib.rs:51:29
|
51 | use pallet_ismp::offchain::{Leaf, Proof, ProofKeys};
| ^^^^ ^^^^^ ^^^^^^^^^
|
unused imports: `build_state` and `get_preset`:
runtime/devnet/src/lib.rs#L32
warning: unused imports: `build_state` and `get_preset`
--> runtime/devnet/src/lib.rs:32:27
|
32 | genesis_builder_helper::{build_state, get_preset},
| ^^^^^^^^^^^ ^^^^^^^^^^
|
unused import: `RelayChainState`:
runtime/devnet/src/lib.rs#L27
warning: unused import: `RelayChainState`
--> runtime/devnet/src/lib.rs:27:39
|
27 | use cumulus_pallet_parachain_system::{RelayChainState, RelayNumberMonotonicallyIncreases};
| ^^^^^^^^^^^^^^^
|
unused imports: `ConsensusClientId`, `Request`, `Response`, `StateMachineHeight`, `StateMachineId`, and `host::StateMachine`:
runtime/devnet/src/lib.rs#L22
warning: unused imports: `ConsensusClientId`, `Request`, `Response`, `StateMachineHeight`, `StateMachineId`, and `host::StateMachine`
--> runtime/devnet/src/lib.rs:22:14
|
22 | consensus::{ConsensusClientId, StateMachineHeight, StateMachineId},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
23 | host::StateMachine,
| ^^^^^^^^^^^^^^^^^^
24 | router::{Request, Response},
| ^^^^^^^ ^^^^^^^^
|
unused import: `pallet_sudo::Call::sudo`:
runtime/devnet/src/genesis.rs#L5
warning: unused import: `pallet_sudo::Call::sudo`
--> runtime/devnet/src/genesis.rs:5:5
|
5 | use pallet_sudo::Call::sudo;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_support::traits::WhitelistedStorageKeys`:
runtime/devnet/src/apis.rs#L348
warning: unused import: `frame_support::traits::WhitelistedStorageKeys`
--> runtime/devnet/src/apis.rs:348:8
|
348 | use frame_support::traits::WhitelistedStorageKeys;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`:
runtime/devnet/src/apis.rs#L345
warning: unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`
--> runtime/devnet/src/apis.rs:345:8
|
345 | use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_system_benchmarking::Pallet as SystemBench`:
runtime/devnet/src/apis.rs#L333
warning: unused import: `frame_system_benchmarking::Pallet as SystemBench`
--> runtime/devnet/src/apis.rs:333:8
|
333 | use frame_system_benchmarking::Pallet as SystemBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Benchmarking`:
runtime/devnet/src/apis.rs#L331
warning: unused import: `Benchmarking`
--> runtime/devnet/src/apis.rs:331:45
|
331 | use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch};
| ^^^^^^^^^^^^
|
unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`:
runtime/devnet/src/apis.rs#L319
warning: unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`
--> runtime/devnet/src/apis.rs:319:8
|
319 | use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_system_benchmarking::Pallet as SystemBench`:
runtime/devnet/src/apis.rs#L318
warning: unused import: `frame_system_benchmarking::Pallet as SystemBench`
--> runtime/devnet/src/apis.rs:318:8
|
318 | use frame_system_benchmarking::Pallet as SystemBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_support::traits::StorageInfoTrait`:
runtime/devnet/src/apis.rs#L317
warning: unused import: `frame_support::traits::StorageInfoTrait`
--> runtime/devnet/src/apis.rs:317:8
|
317 | use frame_support::traits::StorageInfoTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Benchmarking`:
runtime/devnet/src/apis.rs#L316
warning: unused import: `Benchmarking`
--> runtime/devnet/src/apis.rs:316:29
|
316 | use frame_benchmarking::{Benchmarking, BenchmarkList};
| ^^^^^^^^^^^^
|
unused imports: `VersionedAssetId`, `VersionedAsset`, `VersionedAssets`, `VersionedLocation`, `VersionedXcm`, and `latest::prelude::AssetId`:
runtime/devnet/src/apis.rs#L22
warning: unused imports: `VersionedAssetId`, `VersionedAsset`, `VersionedAssets`, `VersionedLocation`, `VersionedXcm`, and `latest::prelude::AssetId`
--> runtime/devnet/src/apis.rs:22:2
|
22 | latest::prelude::AssetId, VersionedAsset, VersionedAssetId, VersionedAssets, VersionedLocation,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
23 | VersionedXcm,
| ^^^^^^^^^^^^
|
unused import: `H160`:
runtime/devnet/src/apis.rs#L14
warning: unused import: `H160`
--> runtime/devnet/src/apis.rs:14:50
|
14 | use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H160};
| ^^^^
|
unused imports: `Fortitude::Polite`, `Preservation::Preserve`, and `WeightToFee as _`:
runtime/devnet/src/apis.rs#L8
warning: unused imports: `Fortitude::Polite`, `Preservation::Preserve`, and `WeightToFee as _`
--> runtime/devnet/src/apis.rs:8:12
|
8 | tokens::{Fortitude::Polite, Preservation::Preserve},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
9 | },
10 | weights::{Weight, WeightToFee as _},
| ^^^^^^^^^^^^^^^^
|
unused import: `codec::Encode`:
runtime/devnet/src/apis.rs#L3
warning: unused import: `codec::Encode`
--> runtime/devnet/src/apis.rs:3:5
|
3 | use codec::Encode;
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L172
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:172:1
|
172 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L135
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:135:1
|
135 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/config/system.rs#L134
warning: missing documentation for a type alias
--> runtime/testnet/src/config/system.rs:134:1
|
134 | pub type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= 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:
runtime/testnet/src/config/ismp.rs#L47
warning: missing documentation for a struct
--> runtime/testnet/src/config/ismp.rs:47:1
|
47 | pub struct Router;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/ismp.rs#L39
warning: missing documentation for a struct
--> runtime/testnet/src/config/ismp.rs:39:1
|
39 | pub struct HostStateMachine;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/governance.rs#L35
warning: missing documentation for a type alias
--> runtime/testnet/src/config/governance.rs:35:1
|
35 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/config/assets.rs#L32
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:32:1
|
32 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L22
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:22:1
|
22 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L12
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:12:1
|
12 | pub mod ismp;
| ^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/apis.rs#L522
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/apis.rs:522:4
|
504 | / fn dispatch_benchmark(
505 | | config: frame_benchmarking::BenchmarkConfig
506 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
522 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/apis.rs#L510
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/apis.rs:510:4
|
504 | / fn dispatch_benchmark(
505 | | config: frame_benchmarking::BenchmarkConfig
506 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
510 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L248
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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 constant:
runtime/testnet/src/lib.rs#L218
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:218:1
|
218 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:211:1
|
211 | / impl_opaque_keys! {
212 | | pub struct SessionKeys {
213 | | pub aura: Aura,
214 | | }
215 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / impl_opaque_keys! {
212 | | pub struct SessionKeys {
213 | | pub aura: Aura,
214 | | }
215 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L11
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:11:1
|
11 | pub mod config;
| ^^^^^^^^^^^^^^
|
unneeded unit expression:
runtime/testnet/src/config/monetary.rs#L91
warning: unneeded unit expression
--> runtime/testnet/src/config/monetary.rs:91:3
|
91 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
unneeded unit return type:
runtime/testnet/src/config/monetary.rs#L90
warning: unneeded unit return type
--> runtime/testnet/src/config/monetary.rs:90:34
|
90 | fn create_asset_kind(_seed: u32) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= 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/mainnet/src/config/governance.rs#L43
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/governance.rs:43:1
|
43 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L298
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:298:4
|
278 | / fn dispatch_benchmark(
279 | | config: frame_benchmarking::BenchmarkConfig
280 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
298 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L286
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:286:4
|
278 | / fn dispatch_benchmark(
279 | | config: frame_benchmarking::BenchmarkConfig
280 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
286 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/mainnet/src/lib.rs#L191
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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 constant:
runtime/mainnet/src/lib.rs#L173
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:173:1
|
173 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:166:1
|
166 | / impl_opaque_keys! {
167 | | pub struct SessionKeys {
168 | | pub aura: Aura,
169 | | }
170 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:166:1
|
166 | / impl_opaque_keys! {
167 | | pub struct SessionKeys {
168 | | pub aura: Aura,
169 | | }
170 | | }
| |_^
|
= 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/mainnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/mainnet/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-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:93
|
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-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/mainnet/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
3 | | #![recursion_limit = "256"]
... |
379 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
346 | | )]
347 | | pub fn xcm_new_query(
| |____________________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
298 | | )]
299 | | pub fn ismp_post(
| |________________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
250 | | )]
251 | | pub fn ismp_get(
| |_______________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
237 | | pub fn send(_origin: OriginFor<T>, _id: MessageId) -> DispatchResult {
| |___________________^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L37
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:37:1
|
37 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L222
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:222:3
|
222 | RequestPending,
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L221
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:221:3
|
221 | MessageExists,
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L220
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:220:3
|
220 | OriginConversionFailed,
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L219
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:219:3
|
219 | InvalidQuery,
| ^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L218
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:218:3
|
218 | InvalidMessage,
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L217
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:217:3
|
217 | DispatchFailed,
| ^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L95
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:95:3
|
95 | type XcmResponseOrigin: EnsureOrigin<Self::RuntimeOrigin, Success = Location>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L93
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:93:3
|
93 | type Xcm: NotifyQueryHandler<Self>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L88
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:88:3
|
88 | type MaxRemovals: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L86
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:86:3
|
86 | type MaxResponseLen: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L83
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:83:3
|
83 | type MaxKeyLen: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L81
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:81:3
|
81 | type MaxKeys: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L68
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:68:3
|
68 | type IsmpByteFee: Get<BalanceOf<Self>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L61
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:61:3
|
61 | type Callback: CallbackT<Self>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L59
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:59:3
|
59 | type ByteFee: Get<BalanceOf<Self>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L56
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:56:3
|
56 | type OriginConverter: TryConvert<Self::RuntimeOrigin, Location>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a trait:
pallets/api/src/messaging/transports/xcm.rs#L5
warning: missing documentation for a trait
--> pallets/api/src/messaging/transports/xcm.rs:5:1
|
5 | pub trait NotifyQueryHandler<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/transports/ismp.rs#L129
warning: missing documentation for an associated function
--> pallets/api/src/messaging/transports/ismp.rs:129:2
|
129 | pub fn new() -> Self {
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L127
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:127:1
|
127 | pub struct Handler<T>(PhantomData<T>);
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L95
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:95:1
|
95 | pub struct Post<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L54
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:54:1
|
54 | pub struct Get<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/transports/ismp.rs#L40
warning: missing documentation for a variant
--> pallets/api/src/messaging/transports/ismp.rs:40:2
|
40 | Post(Post<T>),
| ^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/transports/ismp.rs#L39
warning: missing documentation for a variant
--> pallets/api/src/messaging/transports/ismp.rs:39:2
|
39 | Get(Get<T>),
| ^^^
|
missing documentation for an enum:
pallets/api/src/messaging/transports/ismp.rs#L38
warning: missing documentation for an enum
--> pallets/api/src/messaging/transports/ismp.rs:38:1
|
38 | pub enum Message<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/api/src/messaging/transports/ismp.rs#L32
warning: missing documentation for a constant
--> pallets/api/src/messaging/transports/ismp.rs:32:1
|
32 | pub const ID: [u8; 3] = *b"pop";
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L649
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:649:2
|
649 | fn weight() -> Weight;
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L647
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:647:2
|
647 | fn execute(account: T::AccountId, data: Vec<u8>, weight: Weight) -> DispatchResultWithPostInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a trait:
pallets/api/src/messaging/mod.rs#L646
warning: missing documentation for a trait
--> pallets/api/src/messaging/mod.rs:646:1
|
646 | pub trait CallbackT<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/api/src/messaging/mod.rs#L643
warning: missing documentation for a struct field
--> pallets/api/src/messaging/mod.rs:643:2
|
643 | pub weight: Weight,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/api/src/messaging/mod.rs#L642
warning: missing documentation for a struct field
--> pallets/api/src/messaging/mod.rs:642:2
|
642 | pub selector: [u8; 4],
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/mod.rs#L641
warning: missing documentation for a struct
--> pallets/api/src/messaging/mod.rs:641:1
|
641 | pub struct Callback {
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/api/src/messaging/mod.rs#L562
warning: missing documentation for a method
--> pallets/api/src/messaging/mod.rs:562:2
|
562 | pub fn encode(&self) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L558
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:558:2
|
558 | QueryId(Option<QueryId>),
| ^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L557
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:557:2
|
557 | Get(Option<Vec<u8>>),
| ^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L556
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:556:2
|
556 | Poll(Option<Status>),
| ^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L555
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:555:1
|
555 | pub enum ReadResult {
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L550
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:550:2
|
550 | QueryId((T::AccountId, MessageId)),
| ^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L548
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:548:2
|
548 | Get((T::AccountId, MessageId)),
| ^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L546
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:546:2
|
546 | Poll((T::AccountId, MessageId)),
| ^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L544
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:544:1
|
544 | pub enum Read<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L537
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:537:2
|
537 | Complete,
| ^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L536
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:536:2
|
536 | TimedOut,
| ^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L535
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:535:2
|
535 | Pending,
| ^^^^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L534
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:534:1
|
534 | pub enum Status {
| ^^^^^^^^^^^^^^^
|
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;
| ^^^^^^^^^^^^^^^^^
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
pallets/api/src/messaging/mod.rs#L423
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:423:5
|
423 | &id,
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L402
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:402:33
|
402 | Messages::<T>::get(&origin, &id)
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L378
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:378:28
|
378 | XcmQueries::<T>::insert(&query_id, (&origin, id));
| ^^^^^^^^^ help: change this to: `query_id`
|
= 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/api/src/messaging/mod.rs#L369
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:369:50
|
369 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L328
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:328:30
|
328 | IsmpRequests::<T>::insert(&commitment, (&origin, id));
| ^^^^^^^^^^^ help: change this to: `commitment`
|
= 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/api/src/messaging/mod.rs#L321
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:321:50
|
321 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L280
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:280:30
|
280 | IsmpRequests::<T>::insert(&commitment, (&origin, id));
| ^^^^^^^^^^^ help: change this to: `commitment`
|
= 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/api/src/messaging/mod.rs#L273
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:273:50
|
273 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/transports/ismp.rs#L248
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/transports/ismp.rs:248:3
|
248 | &id,
| ^^^ help: change this to: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
you should consider adding a `Default` implementation for `Handler<T>`:
pallets/api/src/messaging/transports/ismp.rs#L129
warning: you should consider adding a `Default` implementation for `Handler<T>`
--> pallets/api/src/messaging/transports/ismp.rs:129:2
|
129 | / pub fn new() -> Self {
130 | | Self(PhantomData)
131 | | }
| |_____^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default
= note: `#[warn(clippy::new_without_default)]` on by default
help: try adding this
|
128 + impl<T> Default for Handler<T> {
129 + fn default() -> Self {
130 + Self::new()
131 + }
132 + }
|
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
unneeded unit expression:
runtime/mainnet/src/config/monetary.rs#L184
warning: unneeded unit expression
--> runtime/mainnet/src/config/monetary.rs:184:3
|
184 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
missing documentation for the crate:
pop-api/integration-tests/build.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/build.rs:1:1
|
1 | / use std::{
2 | | fs,
3 | | path::{Path, PathBuf},
4 | | process,
... |
57 | | execute(args).map_err(|e| format!("Build failed for {}: {}", contract_dir.display(), e))
58 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
this `map_or` can be simplified:
pallets/nfts/src/features/roles.rs#L121
warning: this `map_or` can be simplified
--> pallets/nfts/src/features/roles.rs:121:3
|
121 | / CollectionRoleOf::<T, I>::get(collection_id, account_id)
122 | | .map_or(false, |roles| roles.has_role(role))
| |________________________________________________________^ help: use is_some_and instead: `CollectionRoleOf::<T, I>::get(collection_id, account_id).is_some_and(|roles| roles.has_role(role))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
|
this `map_or` can be simplified:
pallets/nfts/src/features/metadata.rs#L151
warning: this `map_or` can be simplified
--> pallets/nfts/src/features/metadata.rs:151:19
|
151 | let is_locked = Self::get_item_config(&collection, &item)
| _________________________^
152 | | .map_or(false, |c| c.has_disabled_setting(ItemSetting::UnlockedMetadata));
| |_____________________________________________________________________________________^ help: use is_ok_and instead: `Self::get_item_config(&collection, &item).is_ok_and(|c| c.has_disabled_setting(ItemSetting::UnlockedMetadata))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|
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/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/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:
pallets/motion/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/motion/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | #[cfg(test)]
4 | | mod mock;
... |
170 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L139
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:139:3
|
139 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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};
... |
204 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
extension/src/lib.rs#L1
warning: missing documentation for the crate
--> extension/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | use core::marker::PhantomData;
... |
230 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
very complex type used. Consider factoring parts into `type` definitions:
extension/src/functions.rs#L83
warning: very complex type used. Consider factoring parts into `type` definitions
--> extension/src/functions.rs:83:2
|
83 | PhantomData<(M, C, R, D, F, RC, E, L)>,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity
= note: `#[warn(clippy::type_complexity)]` on by default
|
the following explicit lifetimes could be elided: 'a:
extension/src/environment.rs#L185
warning: the following explicit lifetimes could be elided: 'a
--> extension/src/environment.rs:185:6
|
185 | impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
185 - impl<'a, E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'a, E> {
185 + impl<E: pallet_contracts::chain_extension::Ext> Ext for ExternalEnvironment<'_, E> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L145
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:145:6
|
145 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufOut
| ^^ ^^
146 | for Env<'a, 'b, E, BufInBufOutState>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
145 ~ impl<E: pallet_contracts::chain_extension::Ext> BufOut
146 ~ for Env<'_, '_, E, BufInBufOutState>
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L114
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:114:6
|
114 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
| ^^ ^^ ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
114 - impl<'a, 'b, E: pallet_contracts::chain_extension::Ext> BufIn for Env<'a, 'b, E, BufInBufOutState> {
114 + impl<E: pallet_contracts::chain_extension::Ext> BufIn for Env<'_, '_, E, BufInBufOutState> {
|
|
the following explicit lifetimes could be elided: 'a, 'b:
extension/src/environment.rs#L63
warning: the following explicit lifetimes could be elided: 'a, 'b
--> extension/src/environment.rs:63:6
|
63 | impl<'a, 'b, E: pallet_contracts::chain_extension::Ext, S: State> Environment
| ^^ ^^
64 | for Env<'a, 'b, E, S>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
63 ~ impl<E: pallet_contracts::chain_extension::Ext, S: State> Environment
64 ~ for Env<'_, '_, E, S>
|
|
unused import: `Get`:
runtime/devnet/src/lib.rs#L65
warning: unused import: `Get`
--> runtime/devnet/src/lib.rs:65:34
|
65 | use sp_core::{crypto::KeyTypeId, Get, OpaqueMetadata, H256};
| ^^^
|
unused import: `tokens::nonfungibles_v2::Inspect`:
runtime/devnet/src/lib.rs#L35
warning: unused import: `tokens::nonfungibles_v2::Inspect`
--> runtime/devnet/src/lib.rs:35:32
|
35 | fungible::HoldConsideration, tokens::nonfungibles_v2::Inspect, ConstBool, ConstU32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `ApplyExtrinsicResult`, `TransactionSource`, and `TransactionValidity`:
runtime/devnet/src/lib.rs#L71
warning: unused imports: `ApplyExtrinsicResult`, `TransactionSource`, and `TransactionValidity`
--> runtime/devnet/src/lib.rs:71:25
|
71 | transaction_validity::{TransactionSource, TransactionValidity},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
72 | ApplyExtrinsicResult,
| ^^^^^^^^^^^^^^^^^^^^
|
unused imports: `H256`, `OpaqueMetadata`, and `crypto::KeyTypeId`:
runtime/devnet/src/lib.rs#L65
warning: unused imports: `H256`, `OpaqueMetadata`, and `crypto::KeyTypeId`
--> runtime/devnet/src/lib.rs:65:15
|
65 | use sp_core::{crypto::KeyTypeId, Get, OpaqueMetadata, H256};
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^
|
unused import: `sp_api::impl_runtime_apis`:
runtime/devnet/src/lib.rs#L64
warning: unused import: `sp_api::impl_runtime_apis`
--> runtime/devnet/src/lib.rs:64:5
|
64 | use sp_api::impl_runtime_apis;
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `Leaf`, `ProofKeys`, and `Proof`:
runtime/devnet/src/lib.rs#L51
warning: unused imports: `Leaf`, `ProofKeys`, and `Proof`
--> runtime/devnet/src/lib.rs:51:29
|
51 | use pallet_ismp::offchain::{Leaf, Proof, ProofKeys};
| ^^^^ ^^^^^ ^^^^^^^^^
|
unused imports: `build_state` and `get_preset`:
runtime/devnet/src/lib.rs#L32
warning: unused imports: `build_state` and `get_preset`
--> runtime/devnet/src/lib.rs:32:27
|
32 | genesis_builder_helper::{build_state, get_preset},
| ^^^^^^^^^^^ ^^^^^^^^^^
|
unused import: `RelayChainState`:
runtime/devnet/src/lib.rs#L27
warning: unused import: `RelayChainState`
--> runtime/devnet/src/lib.rs:27:39
|
27 | use cumulus_pallet_parachain_system::{RelayChainState, RelayNumberMonotonicallyIncreases};
| ^^^^^^^^^^^^^^^
|
unused imports: `ConsensusClientId`, `Request`, `Response`, `StateMachineHeight`, `StateMachineId`, and `host::StateMachine`:
runtime/devnet/src/lib.rs#L22
warning: unused imports: `ConsensusClientId`, `Request`, `Response`, `StateMachineHeight`, `StateMachineId`, and `host::StateMachine`
--> runtime/devnet/src/lib.rs:22:14
|
22 | consensus::{ConsensusClientId, StateMachineHeight, StateMachineId},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
23 | host::StateMachine,
| ^^^^^^^^^^^^^^^^^^
24 | router::{Request, Response},
| ^^^^^^^ ^^^^^^^^
|
unused import: `pallet_sudo::Call::sudo`:
runtime/devnet/src/genesis.rs#L5
warning: unused import: `pallet_sudo::Call::sudo`
--> runtime/devnet/src/genesis.rs:5:5
|
5 | use pallet_sudo::Call::sudo;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_support::traits::WhitelistedStorageKeys`:
runtime/devnet/src/apis.rs#L348
warning: unused import: `frame_support::traits::WhitelistedStorageKeys`
--> runtime/devnet/src/apis.rs:348:8
|
348 | use frame_support::traits::WhitelistedStorageKeys;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`:
runtime/devnet/src/apis.rs#L345
warning: unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`
--> runtime/devnet/src/apis.rs:345:8
|
345 | use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_system_benchmarking::Pallet as SystemBench`:
runtime/devnet/src/apis.rs#L333
warning: unused import: `frame_system_benchmarking::Pallet as SystemBench`
--> runtime/devnet/src/apis.rs:333:8
|
333 | use frame_system_benchmarking::Pallet as SystemBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Benchmarking`:
runtime/devnet/src/apis.rs#L331
warning: unused import: `Benchmarking`
--> runtime/devnet/src/apis.rs:331:45
|
331 | use frame_benchmarking::{BenchmarkError, Benchmarking, BenchmarkBatch};
| ^^^^^^^^^^^^
|
unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`:
runtime/devnet/src/apis.rs#L319
warning: unused import: `cumulus_pallet_session_benchmarking::Pallet as SessionBench`
--> runtime/devnet/src/apis.rs:319:8
|
319 | use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_system_benchmarking::Pallet as SystemBench`:
runtime/devnet/src/apis.rs#L318
warning: unused import: `frame_system_benchmarking::Pallet as SystemBench`
--> runtime/devnet/src/apis.rs:318:8
|
318 | use frame_system_benchmarking::Pallet as SystemBench;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `frame_support::traits::StorageInfoTrait`:
runtime/devnet/src/apis.rs#L317
warning: unused import: `frame_support::traits::StorageInfoTrait`
--> runtime/devnet/src/apis.rs:317:8
|
317 | use frame_support::traits::StorageInfoTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `Benchmarking`:
runtime/devnet/src/apis.rs#L316
warning: unused import: `Benchmarking`
--> runtime/devnet/src/apis.rs:316:29
|
316 | use frame_benchmarking::{Benchmarking, BenchmarkList};
| ^^^^^^^^^^^^
|
unused imports: `VersionedAssetId`, `VersionedAsset`, `VersionedAssets`, `VersionedLocation`, `VersionedXcm`, and `latest::prelude::AssetId`:
runtime/devnet/src/apis.rs#L22
warning: unused imports: `VersionedAssetId`, `VersionedAsset`, `VersionedAssets`, `VersionedLocation`, `VersionedXcm`, and `latest::prelude::AssetId`
--> runtime/devnet/src/apis.rs:22:2
|
22 | latest::prelude::AssetId, VersionedAsset, VersionedAssetId, VersionedAssets, VersionedLocation,
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^
23 | VersionedXcm,
| ^^^^^^^^^^^^
|
unused import: `H160`:
runtime/devnet/src/apis.rs#L14
warning: unused import: `H160`
--> runtime/devnet/src/apis.rs:14:50
|
14 | use sp_core::{crypto::KeyTypeId, OpaqueMetadata, H160};
| ^^^^
|
unused imports: `Fortitude::Polite`, `Preservation::Preserve`, and `WeightToFee as _`:
runtime/devnet/src/apis.rs#L8
warning: unused imports: `Fortitude::Polite`, `Preservation::Preserve`, and `WeightToFee as _`
--> runtime/devnet/src/apis.rs:8:12
|
8 | tokens::{Fortitude::Polite, Preservation::Preserve},
| ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^
9 | },
10 | weights::{Weight, WeightToFee as _},
| ^^^^^^^^^^^^^^^^
|
unused import: `codec::Encode`:
runtime/devnet/src/apis.rs#L3
warning: unused import: `codec::Encode`
--> runtime/devnet/src/apis.rs:3:5
|
3 | use codec::Encode;
| ^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
missing documentation for a struct:
runtime/testnet/src/config/xcm.rs#L172
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:172:1
|
172 | pub struct XcmConfig;
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/xcm.rs#L135
warning: missing documentation for a type alias
--> runtime/testnet/src/config/xcm.rs:135:1
|
135 | pub type Barrier = TrailingSetTopicAsId<(
| ^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:128:1
|
128 | / parameter_types! {
129 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
130 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
131 | | pub const MaxInstructions: u32 = 100;
132 | | pub const MaxAssetsIntoHolding: u32 = 64;
133 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/xcm.rs:44:1
|
44 | / parameter_types! {
45 | | pub const RelayLocation: Location = Location::parent();
46 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
... |
55 | | pub const BaseDeliveryFee: u128 = (UNIT / 100).saturating_mul(3);
56 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/config/system.rs#L134
warning: missing documentation for a type alias
--> runtime/testnet/src/config/system.rs:134:1
|
134 | pub type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:127:1
|
127 | / parameter_types! {
128 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
129 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
130 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
131 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/system.rs:21:1
|
21 | / parameter_types! {
22 | | pub const Version: RuntimeVersion = VERSION;
... |
48 | | pub const SS58Prefix: u16 = 0;
49 | | }
| |_^
|
= 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:
runtime/testnet/src/config/ismp.rs#L47
warning: missing documentation for a struct
--> runtime/testnet/src/config/ismp.rs:47:1
|
47 | pub struct Router;
| ^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/ismp.rs#L39
warning: missing documentation for a struct
--> runtime/testnet/src/config/ismp.rs:39:1
|
39 | pub struct HostStateMachine;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
runtime/testnet/src/config/ismp.rs#L32
warning: missing documentation for a struct
--> runtime/testnet/src/config/ismp.rs:32:1
|
32 | pub struct Coprocessor;
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
runtime/testnet/src/config/governance.rs#L35
warning: missing documentation for a type alias
--> runtime/testnet/src/config/governance.rs:35:1
|
35 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/governance.rs:27:1
|
27 | / parameter_types! {
28 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
29 | | pub const CouncilMaxProposals: u32 = 100;
30 | | pub const CouncilMaxMembers: u32 = 100;
31 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
32 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
33 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:99:1
|
99 | / parameter_types! {
100 | | pub const NftFractionalizationPalletId: PalletId = PalletId(*b"fraction");
101 | | pub NewAssetSymbol: BoundedVec<u8, AssetsStringLimit> = (*b"FRAC").to_vec().try_into().unwrap();
102 | | pub NewAssetName: BoundedVec<u8, AssetsStringLimit> = (*b"Frac").to_vec().try_into().unwrap();
103 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:56:1
|
56 | / parameter_types! {
57 | | pub NftsPalletFeatures: PalletFeatures = PalletFeatures::all_enabled();
58 | | pub const NftsCollectionDeposit: Balance = 10 * UNIT;
59 | | pub const NftsItemDeposit: Balance = UNIT / 100;
... |
63 | | pub const NftsMaxDeadlineDuration: BlockNumber = 12 * 30 * DAYS;
64 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a type alias:
runtime/testnet/src/config/assets.rs#L32
warning: missing documentation for a type alias
--> runtime/testnet/src/config/assets.rs:32:1
|
32 | pub type TrustBackedAssetsCall = pallet_assets::Call<Runtime, TrustBackedAssetsInstance>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/testnet/src/config/assets.rs:20:1
|
20 | / parameter_types! {
21 | | pub const AssetDeposit: Balance = 10 * UNIT;
22 | | pub const AssetAccountDeposit: Balance = deposit(1, 16);
23 | | pub const ApprovalDeposit: Balance = EXISTENTIAL_DEPOSIT;
... |
28 | | pub const MetadataDepositPerByte: Balance = deposit(0, 1);
29 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L22
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:22:1
|
22 | pub mod xcm;
| ^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L12
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:12:1
|
12 | pub mod ismp;
| ^^^^^^^^^^^^
|
missing documentation for a module:
runtime/testnet/src/config/mod.rs#L3
warning: missing documentation for a module
--> runtime/testnet/src/config/mod.rs:3:1
|
3 | pub mod assets;
| ^^^^^^^^^^^^^^
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/apis.rs#L522
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/apis.rs:522:4
|
504 | / fn dispatch_benchmark(
505 | | config: frame_benchmarking::BenchmarkConfig
506 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
522 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/testnet/src/apis.rs#L510
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/testnet/src/apis.rs:510:4
|
504 | / fn dispatch_benchmark(
505 | | config: frame_benchmarking::BenchmarkConfig
506 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
510 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/testnet/src/lib.rs#L248
warning: missing documentation for an associated function
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a type alias
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a variant
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for an enum
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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#L248
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:248:1
|
248 | #[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 constant:
runtime/testnet/src/lib.rs#L218
warning: missing documentation for a constant
--> runtime/testnet/src/lib.rs:218:1
|
218 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/testnet/src/lib.rs:211:1
|
211 | / impl_opaque_keys! {
212 | | pub struct SessionKeys {
213 | | pub aura: Aura,
214 | | }
215 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/testnet/src/lib.rs:211:1
|
211 | / impl_opaque_keys! {
212 | | pub struct SessionKeys {
213 | | pub aura: Aura,
214 | | }
215 | | }
| |_^
|
= note: this warning originates in the macro `$crate::impl_opaque_keys_inner` which comes from the expansion of the macro `impl_opaque_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a module:
runtime/testnet/src/lib.rs#L11
warning: missing documentation for a module
--> runtime/testnet/src/lib.rs:11:1
|
11 | pub mod config;
| ^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-bfa36a2b7d4824c8/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-bfa36a2b7d4824c8/out/wasm_binary.rs:1:93
|
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-bfa36a2b7d4824c8/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-bfa36a2b7d4824c8/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-bfa36a2b7d4824c8/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-testnet-bfa36a2b7d4824c8/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/testnet/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/testnet/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
3 | | #![recursion_limit = "256"]
... |
404 | | );
405 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:163:1
|
163 | / parameter_types! {
164 | | // One XCM operation is 1_000_000_000 weight - almost certainly a conservative estimate.
165 | | pub UnitWeightCost: Weight = Weight::from_parts(1_000_000_000, 64 * 1024);
166 | | pub const MaxInstructions: u32 = 100;
167 | | pub const MaxAssetsIntoHolding: u32 = 64;
168 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/xcm.rs:45:1
|
45 | / parameter_types! {
46 | | pub const RelayLocation: Location = Location::parent();
47 | | pub AssetHub: Location = Location::new(1, [Parachain(1000)]);
48 | | pub const RelayNetwork: Option<NetworkId> = Some(Polkadot);
... |
53 | | pub const BaseDeliveryFee: u128 = CENTS.saturating_mul(3);
54 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:130:1
|
130 | / parameter_types! {
131 | | pub const RelayOrigin: AggregateMessageOrigin = AggregateMessageOrigin::Parent;
132 | | pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
133 | | pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
134 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/system.rs:26:1
|
26 | / parameter_types! {
27 | | pub const Version: RuntimeVersion = VERSION;
28 | | pub const SS58Prefix: u16 = 0;
... |
53 | | .build_or_panic();
54 | | }
| |_^
|
= 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/mainnet/src/config/governance.rs#L43
warning: missing documentation for a type alias
--> runtime/mainnet/src/config/governance.rs:43:1
|
43 | pub type CouncilCollective = pallet_collective::Instance1;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L286
warning: missing documentation for a struct
--> runtime/mainnet/src/config/governance.rs:35:1
|
35 | / parameter_types! {
36 | | pub CouncilMotionDuration: BlockNumber = 7 * DAYS;
37 | | pub const CouncilMaxProposals: u32 = 100;
38 | | pub const CouncilMaxMembers: u32 = 100;
39 | | pub MaxProposalWeight: Weight = sp_runtime::Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
40 | | pub SudoAddress: AccountId = AccountId::from_ss58check(SUDO_ADDRESS).expect("sudo address is valid SS58");
41 | | }
| |_^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L298
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:298:4
|
278 | / fn dispatch_benchmark(
279 | | config: frame_benchmarking::BenchmarkConfig
280 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
298 | impl cumulus_pallet_session_benchmarking::Config for Runtime {}
| ^^^^^-------------------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
|
non-local `impl` definition, `impl` blocks should be written at the same level as their item:
runtime/mainnet/src/apis.rs#L286
warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
--> runtime/mainnet/src/apis.rs:286:4
|
278 | / fn dispatch_benchmark(
279 | | config: frame_benchmarking::BenchmarkConfig
280 | | ) -> Result<Vec<frame_benchmarking::BenchmarkBatch>, alloc::string::String> {
| |___________________________________________________________________________________- move the `impl` block outside of this associated function `dispatch_benchmark`
...
286 | impl frame_system_benchmarking::Config for Runtime {
| ^^^^^---------------------------------^^^^^-------
| | |
| | `Runtime` is not local
| `Config` is not local
|
= note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
= note: `#[warn(non_local_definitions)]` on by default
|
missing documentation for an associated function:
runtime/mainnet/src/lib.rs#L191
warning: missing documentation for an associated function
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a type alias
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a variant
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for an enum
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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#L191
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:191:1
|
191 | #[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 constant:
runtime/mainnet/src/lib.rs#L173
warning: missing documentation for a constant
--> runtime/mainnet/src/lib.rs:173:1
|
173 | pub const VERSION: RuntimeVersion = RuntimeVersion {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2074
warning: missing documentation for a struct field
--> runtime/mainnet/src/lib.rs:166:1
|
166 | / impl_opaque_keys! {
167 | | pub struct SessionKeys {
168 | | pub aura: Aura,
169 | | }
170 | | }
| |_^
|
= 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/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/primitives/runtime/src/traits/mod.rs#L2071
warning: missing documentation for a struct
--> runtime/mainnet/src/lib.rs:166:1
|
166 | / impl_opaque_keys! {
167 | | pub struct SessionKeys {
168 | | pub aura: Aura,
169 | | }
170 | | }
| |_^
|
= 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/mainnet/src/lib.rs#L10
warning: missing documentation for a module
--> runtime/mainnet/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-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:93
|
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-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:49
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
/home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs#L1
warning: missing documentation for a constant
--> /home/runner/work/pop-node/pop-node/target/release/build/pop-runtime-mainnet-8c4fc87b80df0827/out/wasm_binary.rs:1:1
|
1 | pub const WASM_BINARY_PATH: Option<&str> = None;pub const WASM_BINARY: Option<&[u8]> = None;pub const WASM_BINARY_BLOATY: Option<&[u8]> =...
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for the crate:
runtime/mainnet/src/lib.rs#L1
warning: missing documentation for the crate
--> runtime/mainnet/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | | // `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
3 | | #![recursion_limit = "256"]
... |
379 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
unneeded unit expression:
runtime/testnet/src/config/monetary.rs#L91
warning: unneeded unit expression
--> runtime/testnet/src/config/monetary.rs:91:3
|
91 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
unneeded unit return type:
runtime/testnet/src/config/monetary.rs#L90
warning: unneeded unit return type
--> runtime/testnet/src/config/monetary.rs:90:34
|
90 | fn create_asset_kind(_seed: u32) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
437 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
438 | | pub fn remove(
| |_____________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
391 | | #[pallet::weight(Weight::zero())] // todo: benchmarking
392 | | pub fn xcm_response(
| |___________________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
346 | | )]
347 | | pub fn xcm_new_query(
| |____________________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
298 | | )]
299 | | pub fn ismp_post(
| |________________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
... |
250 | | )]
251 | | pub fn ismp_get(
| |_______________________^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L233
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:233:12
|
233 | #[pallet::call]
| _______________^
234 | | impl<T: Config> Pallet<T> {
235 | | #[pallet::call_index(0)]
236 | | #[pallet::weight(Weight::zero())] // todo: benchmarking after consolidating storage
237 | | pub fn send(_origin: OriginFor<T>, _id: MessageId) -> DispatchResult {
| |___________________^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L37
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:37:1
|
37 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this warning originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L222
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:222:3
|
222 | RequestPending,
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L221
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:221:3
|
221 | MessageExists,
| ^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L220
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:220:3
|
220 | OriginConversionFailed,
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L219
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:219:3
|
219 | InvalidQuery,
| ^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L218
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:218:3
|
218 | InvalidMessage,
| ^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L217
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:217:3
|
217 | DispatchFailed,
| ^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L95
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:95:3
|
95 | type XcmResponseOrigin: EnsureOrigin<Self::RuntimeOrigin, Success = Location>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L93
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:93:3
|
93 | type Xcm: NotifyQueryHandler<Self>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L88
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:88:3
|
88 | type MaxRemovals: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L86
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:86:3
|
86 | type MaxResponseLen: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L83
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:83:3
|
83 | type MaxKeyLen: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L81
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:81:3
|
81 | type MaxKeys: Get<u32>;
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L68
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:68:3
|
68 | type IsmpByteFee: Get<BalanceOf<Self>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L61
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:61:3
|
61 | type Callback: CallbackT<Self>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L59
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:59:3
|
59 | type ByteFee: Get<BalanceOf<Self>>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated type:
pallets/api/src/messaging/mod.rs#L56
warning: missing documentation for an associated type
--> pallets/api/src/messaging/mod.rs:56:3
|
56 | type OriginConverter: TryConvert<Self::RuntimeOrigin, Location>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a trait:
pallets/api/src/messaging/transports/xcm.rs#L5
warning: missing documentation for a trait
--> pallets/api/src/messaging/transports/xcm.rs:5:1
|
5 | pub trait NotifyQueryHandler<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/transports/ismp.rs#L129
warning: missing documentation for an associated function
--> pallets/api/src/messaging/transports/ismp.rs:129:2
|
129 | pub fn new() -> Self {
| ^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L127
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:127:1
|
127 | pub struct Handler<T>(PhantomData<T>);
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L95
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:95:1
|
95 | pub struct Post<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/transports/ismp.rs#L54
warning: missing documentation for a struct
--> pallets/api/src/messaging/transports/ismp.rs:54:1
|
54 | pub struct Get<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/transports/ismp.rs#L40
warning: missing documentation for a variant
--> pallets/api/src/messaging/transports/ismp.rs:40:2
|
40 | Post(Post<T>),
| ^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/transports/ismp.rs#L39
warning: missing documentation for a variant
--> pallets/api/src/messaging/transports/ismp.rs:39:2
|
39 | Get(Get<T>),
| ^^^
|
missing documentation for an enum:
pallets/api/src/messaging/transports/ismp.rs#L38
warning: missing documentation for an enum
--> pallets/api/src/messaging/transports/ismp.rs:38:1
|
38 | pub enum Message<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a constant:
pallets/api/src/messaging/transports/ismp.rs#L32
warning: missing documentation for a constant
--> pallets/api/src/messaging/transports/ismp.rs:32:1
|
32 | pub const ID: [u8; 3] = *b"pop";
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L649
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:649:2
|
649 | fn weight() -> Weight;
| ^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/api/src/messaging/mod.rs#L647
warning: missing documentation for an associated function
--> pallets/api/src/messaging/mod.rs:647:2
|
647 | fn execute(account: T::AccountId, data: Vec<u8>, weight: Weight) -> DispatchResultWithPostInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a trait:
pallets/api/src/messaging/mod.rs#L646
warning: missing documentation for a trait
--> pallets/api/src/messaging/mod.rs:646:1
|
646 | pub trait CallbackT<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/api/src/messaging/mod.rs#L643
warning: missing documentation for a struct field
--> pallets/api/src/messaging/mod.rs:643:2
|
643 | pub weight: Weight,
| ^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct field:
pallets/api/src/messaging/mod.rs#L642
warning: missing documentation for a struct field
--> pallets/api/src/messaging/mod.rs:642:2
|
642 | pub selector: [u8; 4],
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/api/src/messaging/mod.rs#L641
warning: missing documentation for a struct
--> pallets/api/src/messaging/mod.rs:641:1
|
641 | pub struct Callback {
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/api/src/messaging/mod.rs#L562
warning: missing documentation for a method
--> pallets/api/src/messaging/mod.rs:562:2
|
562 | pub fn encode(&self) -> Vec<u8> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L558
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:558:2
|
558 | QueryId(Option<QueryId>),
| ^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L557
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:557:2
|
557 | Get(Option<Vec<u8>>),
| ^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L556
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:556:2
|
556 | Poll(Option<Status>),
| ^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L555
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:555:1
|
555 | pub enum ReadResult {
| ^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L550
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:550:2
|
550 | QueryId((T::AccountId, MessageId)),
| ^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L548
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:548:2
|
548 | Get((T::AccountId, MessageId)),
| ^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L546
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:546:2
|
546 | Poll((T::AccountId, MessageId)),
| ^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L544
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:544:1
|
544 | pub enum Read<T: Config> {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L537
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:537:2
|
537 | Complete,
| ^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L536
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:536:2
|
536 | TimedOut,
| ^^^^^^^^
|
missing documentation for a variant:
pallets/api/src/messaging/mod.rs#L535
warning: missing documentation for a variant
--> pallets/api/src/messaging/mod.rs:535:2
|
535 | Pending,
| ^^^^^^^
|
missing documentation for an enum:
pallets/api/src/messaging/mod.rs#L534
warning: missing documentation for an enum
--> pallets/api/src/messaging/mod.rs:534:1
|
534 | pub enum Status {
| ^^^^^^^^^^^^^^^
|
missing documentation for a type alias:
pallets/api/src/messaging/mod.rs#L35
warning: missing documentation for a type alias
--> pallets/api/src/messaging/mod.rs:35:1
|
35 | pub type MessageId = u64;
| ^^^^^^^^^^^^^^^^^^
|
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;
| ^^^^^^^^^^^^^^^^^
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L428
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:428:36
|
428 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L233
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:233:17
|
233 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/nonfungibles/mod.rs#L152
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/nonfungibles/mod.rs:152:17
|
152 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
the borrowed expression implements the required traits:
pallets/api/src/messaging/mod.rs#L506
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:506:36
|
506 | Messages::<T>::remove(&origin, &id);
| ^^^ help: change this to: `id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
|
unneeded unit expression:
runtime/mainnet/src/config/monetary.rs#L184
warning: unneeded unit expression
--> runtime/mainnet/src/config/monetary.rs:184:3
|
184 | ()
| ^^ help: remove the final `()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
|
the borrowed expression implements the required traits:
pallets/api/src/messaging/mod.rs#L423
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:423:5
|
423 | &id,
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L402
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:402:33
|
402 | Messages::<T>::get(&origin, &id)
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L378
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:378:28
|
378 | XcmQueries::<T>::insert(&query_id, (&origin, id));
| ^^^^^^^^^ help: change this to: `query_id`
|
= 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/api/src/messaging/mod.rs#L369
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:369:50
|
369 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L328
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:328:30
|
328 | IsmpRequests::<T>::insert(&commitment, (&origin, id));
| ^^^^^^^^^^^ help: change this to: `commitment`
|
= 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/api/src/messaging/mod.rs#L321
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:321:50
|
321 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/mod.rs#L280
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:280:30
|
280 | IsmpRequests::<T>::insert(&commitment, (&origin, id));
| ^^^^^^^^^^^ help: change this to: `commitment`
|
= 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/api/src/messaging/mod.rs#L273
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/mod.rs:273:50
|
273 | ensure!(!Messages::<T>::contains_key(&origin, &id), Error::<T>::MessageExists);
| ^^^ help: change this to: `id`
|
= 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/api/src/messaging/transports/ismp.rs#L248
warning: the borrowed expression implements the required traits
--> pallets/api/src/messaging/transports/ismp.rs:248:3
|
248 | &id,
| ^^^ help: change this to: `id`
|
= 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: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L389
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:389:14
|
389 | pub fn burn(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L249
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:249:28
|
249 | pub fn decrease_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/api/src/fungibles/mod.rs#L221
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/api/src/fungibles/mod.rs:221:28
|
221 | pub fn increase_allowance(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/api/src/fungibles/mod.rs#L160
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/api/src/fungibles/mod.rs:160:17
|
160 | pub fn approve(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
missing documentation for the crate:
node/build.rs#L1
warning: missing documentation for the crate
--> node/build.rs:1:1
|
1 | / use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
2 | |
3 | | fn main() {
4 | | generate_cargo_keys();
5 | |
6 | | rerun_if_git_head_changed();
7 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for the crate:
pop-api/integration-tests/build.rs#L1
warning: missing documentation for the crate
--> pop-api/integration-tests/build.rs:1:1
|
1 | / use std::{
2 | | fs,
3 | | path::{Path, PathBuf},
4 | | process,
... |
57 | | execute(args).map_err(|e| format!("Build failed for {}: {}", contract_dir.display(), e))
58 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L560
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:560:1
|
560 | pub struct PreSignedAttributes<CollectionId, ItemId, AccountId, Deadline> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
pallets/nfts/src/types.rs#L542
warning: missing documentation for a struct
--> pallets/nfts/src/types.rs:542:1
|
542 | pub struct PreSignedMint<CollectionId, ItemId, AccountId, Deadline, Balance> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L534
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:534:2
|
534 | pub fn max_roles() -> u8 {
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L530
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:530:2
|
530 | pub fn add_role(&mut self, role: CollectionRole) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L526
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:526:2
|
526 | pub fn has_role(&self, role: CollectionRole) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L522
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:522:2
|
522 | pub fn none() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L498
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:498:2
|
498 | pub fn is_enabled(&self, feature: PalletFeature) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L494
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:494:2
|
494 | pub fn from_disabled(features: BitFlags<PalletFeature>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L490
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:490:2
|
490 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L465
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:465:2
|
465 | pub fn disable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L461
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:461:2
|
461 | pub fn enable_setting(&mut self, setting: ItemSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L457
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:457:2
|
457 | pub fn has_disabled_settings(&self) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L453
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:453:2
|
453 | pub fn has_disabled_setting(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L449
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:449:2
|
449 | pub fn is_setting_enabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L432
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:432:2
|
432 | pub fn from_disabled(settings: BitFlags<ItemSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L428
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:428:2
|
428 | pub fn is_disabled(&self, setting: ItemSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L424
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:424:2
|
424 | pub fn get_disabled(&self) -> BitFlags<ItemSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L420
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:420:2
|
420 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L397
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:397:2
|
397 | pub fn disable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L393
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:393:2
|
393 | pub fn enable_setting(&mut self, setting: CollectionSetting) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L389
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:389:2
|
389 | pub fn has_disabled_setting(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L385
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:385:2
|
385 | pub fn is_setting_enabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L293
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:293:2
|
293 | pub fn from_disabled(settings: BitFlags<CollectionSetting>) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L289
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:289:2
|
289 | pub fn is_disabled(&self, setting: CollectionSetting) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L285
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:285:2
|
285 | pub fn get_disabled(&self) -> BitFlags<CollectionSetting> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for an associated function:
pallets/nfts/src/types.rs#L281
warning: missing documentation for an associated function
--> pallets/nfts/src/types.rs:281:2
|
281 | pub fn all_enabled() -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a method:
pallets/nfts/src/types.rs#L129
warning: missing documentation for a method
--> pallets/nfts/src/types.rs:129:2
|
129 | pub fn destroy_witness(&self) -> DestroyWitness {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2173
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2173:42
|
2173 | pub fn force_clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L2146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:2146:36
|
2146 | pub fn clear_collection_approvals(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/nfts/src/lib.rs#L878
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/nfts/src/lib.rs:878:17
|
878 | pub fn destroy(
| ^ help: consider removing
|
= 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
|
this `map_or` can be simplified:
pallets/nfts/src/features/metadata.rs#L151
warning: this `map_or` can be simplified
--> pallets/nfts/src/features/metadata.rs:151:19
|
151 | let is_locked = Self::get_item_config(&collection, &item)
| _________________________^
152 | | .map_or(false, |c| c.has_disabled_setting(ItemSetting::UnlockedMetadata));
| |_____________________________________________________________________________________^ help: use is_ok_and instead: `Self::get_item_config(&collection, &item).is_ok_and(|c| c.has_disabled_setting(ItemSetting::UnlockedMetadata))`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
|
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`
|
missing documentation for the crate:
pallets/motion/src/lib.rs#L1
warning: missing documentation for the crate
--> pallets/motion/src/lib.rs:1:1
|
1 | / #![cfg_attr(not(feature = "std"), no_std)]
2 | |
3 | | #[cfg(test)]
4 | | mod mock;
... |
170 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L146
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:146:19
|
146 | pub fn unanimous(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L121
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:121:24
|
121 | pub fn super_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `frame_support::dispatch::PostDispatchInfo`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
|
useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`:
pallets/motion/src/lib.rs#L96
warning: useless conversion to the same type: `sp_runtime::DispatchErrorWithPostInfo<frame_support::dispatch::PostDispatchInfo>`
--> pallets/motion/src/lib.rs:96:25
|
96 | pub fn simple_majority(
| ^ help: consider removing
|
= 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
|
missing documentation for an associated function:
runtime/common/src/lib.rs#L139
warning: missing documentation for an associated function
--> runtime/common/src/lib.rs:139:3
|
139 | pub fn is_superset(s: &ProxyType, o: &ProxyType) -> bool {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `$crate::parameter_types` which comes from the expansion of the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
missing documentation for a struct:
/home/runner/.cargo/git/checkouts/polkadot-sdk-dee0edd6eefa0594/9de8837/substrate/frame/support/src/lib.rs#L274
warning: missing documentation for a struct
--> runtime/common/src/lib.rs:90:2
|
90 | / parameter_types! {
91 | | // One storage item; key size 32, value size 8; .
92 | | pub const ProxyDepositBase: Balance = deposit(1, 40);
... |
99 | | pub const MaxPending: u16 = 32;
100 | | }
| |_____^
|
= note: this warning originates in the macro `parameter_types` (in Nightly builds, run with -Z macro-backtrace for more info)
|
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};
... |
204 | | }
| |_^
|
= note: requested on the command line with `-W missing-docs`
|
missing documentation for a type alias:
extension/src/lib.rs#L38
warning: missing documentation for a type alias
--> extension/src/lib.rs:38:1
|
38 | pub type ContractWeightsOf<T> = <T as pallet_contracts::Config>::WeightInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|