i think we need these changes in order for transfers between accounts to work
this PR where i've tried to change pub type Address = MultiAddress<AccountId, ()>;
to pub type Address = MultiAddress<AccountId, AccountIndex>;
generates the following error:
error[E0599]: the function or associated item `execute_block` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1392:24
|
1392 | Executive::execute_block(block)
| ^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0599]: the function or associated item `initialize_block` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1396:24
|
1396 | Executive::initialize_block(header)
| ^^^^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0599]: the function or associated item `apply_extrinsic` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1408:24
|
1408 | Executive::apply_extrinsic(extrinsic)
| ^^^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0599]: the function or associated item `finalize_block` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1412:24
|
1412 | Executive::finalize_block()
| ^^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0599]: the function or associated item `validate_transaction` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1434:24
|
1434 | Executive::validate_transaction(source, tx, block_hash)
| ^^^^^^^^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0599]: the function or associated item `offchain_worker` exists for struct `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`, but its trait bounds were not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1440:24
|
1440 | Executive::offchain_worker(header)
| ^^^^^^^^^^^^^^^ function or associated item cannot be called on `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>` due to unsatisfied trait bounds
|
::: /Users/ls2/.cargo/git/checkouts/substrate-7e08433d4c370a21/22d40c7/primitives/runtime/src/generic/unchecked_extrinsic.rs:44:1
|
44 | / pub struct UncheckedExtrinsic<Address, Call, Signature, Extra>
45 | | where
46 | | Extra: SignedExtension,
47 | | {
... |
53 | | pub function: Call,
54 | | }
| |_- doesn't satisfy `_: Checkable<ChainContext<Runtime>>`
|
= note: the following trait bounds were not satisfied:
`sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>`
error[E0277]: the trait bound `sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>: Checkable<ChainContext<Runtime>>` is not satisfied
--> /Users/ls2/code/DataHighway-DHX/DataHighway-Parachain/runtime/src/lib.rs:1572:1
|
1572 | / cumulus_pallet_parachain_system::register_validate_block! {
1573 | | Runtime = Runtime,
1574 | | BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
1575 | | CheckInherents = CheckInherents,
1576 | | }
| |_^ the trait `Checkable<ChainContext<Runtime>>` is not implemented for `sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>`
|
= help: the following implementations were found:
<sp_runtime::generic::UncheckedExtrinsic<Address, Call, Signature, Extra> as Checkable<Lookup>>
= note: required because of the requirements on the impl of `ExecuteBlock<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>>` for `frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>`
= note: 1 redundant requirement hidden
= note: required because of the requirements on the impl of `ExecuteBlock<sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>>` for `BlockExecutor<Runtime, frame_executive::Executive<Runtime, sp_runtime::generic::Block<sp_runtime::generic::Header<u32, sp_runtime::traits::BlakeTwo256>, sp_runtime::generic::UncheckedExtrinsic<MultiAddress<sp_runtime::AccountId32, u32>, Call, MultiSignature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckEra<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeAssetTxPayment<Runtime>)>>, ChainContext<Runtime>, Runtime, (frame_system::Pallet<Runtime>, (cumulus_pallet_parachain_system::Pallet<Runtime>, (pallet_utility::Pallet<Runtime>, (pallet_randomness_collective_flip::Pallet<Runtime>, (pallet_timestamp::Pallet<Runtime>, (pallet_identity::Pallet<Runtime>, (pallet_recovery::Pallet<Runtime>, (pallet_scheduler::Pallet<Runtime>, (pallet_sudo::Pallet<Runtime>, (parachain_info::Pallet<Runtime>, (pallet_indices::Pallet<Runtime>, (pallet_balances::Pallet<Runtime>, (pallet_transaction_payment::Pallet<Runtime>, (pallet_asset_tx_payment::Pallet<Runtime>, (pallet_authorship::Pallet<Runtime>, (pallet_collator_selection::Pallet<Runtime>, (pallet_session::Pallet<Runtime>, (pallet_democracy::Pallet<Runtime>, (pallet_aura::Pallet<Runtime>, (cumulus_pallet_aura_ext::Pallet<Runtime>, (cumulus_pallet_xcmp_queue::Pallet<Runtime>, (pallet_xcm::Pallet<Runtime>, (cumulus_pallet_xcm::Pallet<Runtime>, (cumulus_pallet_dmp_queue::Pallet<Runtime>, (pallet_collective::Pallet<Runtime, Instance1>, (pallet_collective::Pallet<Runtime, Instance2>, (pallet_elections_phragmen::Pallet<Runtime>, (pallet_membership::Pallet<Runtime, Instance1>, (pallet_treasury::Pallet<Runtime>, (pallet_bounties::Pallet<Runtime>, (pallet_child_bounties::Pallet<Runtime>, (pallet_tips::Pallet<Runtime>, (pallet_assets::Pallet<Runtime>, (pallet_preimage::Pallet<Runtime>, (pallet_proxy::Pallet<Runtime>, (pallet_multisig::Pallet<Runtime>, (pallet_referenda::Pallet<Runtime>, (pallet_conviction_voting::Pallet<Runtime>, (membership_supernodes::Module<Runtime>, (roaming_operators::Module<Runtime>, (roaming_networks::Module<Runtime>, (roaming_organizations::Module<Runtime>, (roaming_network_servers::Module<Runtime>, (roaming_devices::Module<Runtime>, (roaming_routing_profiles::Module<Runtime>, (roaming_service_profiles::Module<Runtime>, (roaming_accounting_policies::Module<Runtime>, (roaming_agreement_policies::Module<Runtime>, (roaming_network_profiles::Module<Runtime>, (roaming_device_profiles::Module<Runtime>, (roaming_sessions::Module<Runtime>, (roaming_billing_policies::Module<Runtime>, (roaming_charging_policies::Module<Runtime>, (roaming_packet_bundles::Module<Runtime>, (mining_setting_token::Module<Runtime>, (mining_setting_hardware::Module<Runtime>, (mining_rates_token::Module<Runtime>, (mining_rates_hardware::Module<Runtime>, (mining_sampling_token::Module<Runtime>, (mining_sampling_hardware::Module<Runtime>, (mining_eligibility_token::Module<Runtime>, (mining_eligibility_hardware::Module<Runtime>, (mining_eligibility_proxy::Module<Runtime>, (mining_claims_token::Module<Runtime>, (mining_claims_hardware::Module<Runtime>, (mining_execution_token::Module<Runtime>, (exchange_rate::Module<Runtime>,)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))>>`
note: required by a bound in `cumulus_pallet_parachain_system::validate_block::implementation::validate_block`
--> /Users/ls2/.cargo/git/checkouts/cumulus-59522f43471fa161/76479e7/pallets/parachain-system/src/validate_block/implementation.rs:45:5
|
45 | E: ExecuteBlock<B>,
| ^^^^^^^^^^^^^^^ required by this bound in `cumulus_pallet_parachain_system::validate_block::implementation::validate_block`
= note: this error originates in the macro `cumulus_pallet_parachain_system::register_validate_block` (in Nightly builds, run with -Z macro-backtrace for more info)