fix(ci): AŞAMA 3 test düzeltmeleri

- testnet cargo profili eklendi (CI testleri için gerekli)
- tests-misc.yml: frame-feature-testing feature adı düzeltildi
- 179 UI test .stderr dosyası güncellendi (rebrand yansıması)
- ss58-registry doc testleri: ss58_registry -> pezkuwi_ss58_registry
- ss58-registry doc testleri: TokenRegistry::Dot -> TokenRegistry::Hez
- WORKFLOW_PLAN.md güncellendi (doğru CI komutları)
- 3 pezpallet UI test dosyası düzeltildi:
  - PezpalletInfo -> PalletInfo
  - PezpalletError -> PalletError

Test edildi:
- cargo check --workspace --locked --features experimental,ci-only-tests 
- cargo check --workspace --locked --features try-runtime,experimental,ci-only-tests 
- cargo check --workspace --locked --features runtime-benchmarks 
- cargo test --profile testnet -p pezkuwi-node-metrics --features=runtime-metrics 
- cargo test -p pezframe-support-test UI tests 
- cargo test --doc --workspace --all-features 
- cargo build --profile testnet -p pezkuwi-test-malus 
This commit is contained in:
2025-12-25 09:44:29 +03:00
parent bda0c529ee
commit ec61dca3cf
183 changed files with 1141 additions and 1121 deletions
@@ -1,8 +1,8 @@
error: Unexpected tokens, expected one of `=`, `,`
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:43
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:52
|
43 | Pallet: pallet exclude_parts { Pallet } use_parts { Pallet },
| ^^^^^^^^^
43 | Pezpallet: pezpallet exclude_parts { Pezpallet } use_parts { Pezpallet },
| ^^^^^^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:35:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:25
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:28
|
37 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
37 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
37 - impl pallet::Config for Runtime {}
37 + impl pallet::Config for sp_api::__private::TransactionType {}
37 - impl pezpallet::Config for Runtime {}
37 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|
@@ -1,10 +1,10 @@
error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0
error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0
--> tests/construct_runtime_ui/conflicting_index.rs:26:3
|
26 | System: system::{},
| ^^^^^^
error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0
error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0
--> tests/construct_runtime_ui/conflicting_index.rs:27:3
|
27 | Pallet1: pallet1::{} = 0,
@@ -1,10 +1,10 @@
error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5
error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5
--> tests/construct_runtime_ui/conflicting_index_2.rs:26:3
|
26 | System: system::{} = 5,
| ^^^^^^
error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5
error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5
--> tests/construct_runtime_ui/conflicting_index_2.rs:29:3
|
29 | Pallet3: pallet3::{},
@@ -1,11 +1,11 @@
error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:24:3
|
24 | Balance: balances::{Pallet},
24 | Balance: balances::{Pezpallet},
| ^^^^^^^
error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:25:3
|
25 | Balance: balances::{Pallet},
25 | Balance: balances::{Pezpallet},
| ^^^^^^^
@@ -1,10 +1,10 @@
error: use of deprecated constant `WhereSection::_w`:
It is deprecated to use a `where` clause in `construct_runtime`.
Please instead use `frame_system::Config` to set the `Block` type and delete this clause.
Please instead use `pezframe_system::Config` to set the `Block` type and delete this clause.
It is planned to be removed in December 2023.
For more info see:
<https://github.com/paritytech/bizinikiwi/pull/14437>
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/218>
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -17,7 +17,7 @@ error: use of deprecated constant `WhereSection::_w`:
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
= note: this error originates in the macro `frame_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -30,7 +30,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -43,12 +43,12 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -56,7 +56,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
20 | construct_runtime! {
| ^ the trait `Config` is not implemented for `Runtime`
|
= note: this error originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -70,7 +70,7 @@ error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satis
| |_^ the trait `TryFrom<OriginCaller>` is not implemented for `RawOrigin<_>`
|
= help: the trait `TryFrom<OriginCaller>` is implemented for `RawOrigin<<Runtime as Config>::AccountId>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -83,18 +83,18 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
@@ -110,13 +110,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Event<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Event<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -134,7 +134,7 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where
| |______________________^ must implement `Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -151,13 +151,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
error[E0277]: the trait bound `frame_system::Event<Runtime>: Encode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Event<Runtime>: Encode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -166,10 +166,10 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Encode` is not sati
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Encode` is not implemented for `frame_system::Event<Runtime>`
| |_^ the trait `Encode` is not implemented for `pezframe_system::Event<Runtime>`
|
= help: the trait `Encode` is implemented for `frame_system::Event<T>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Encode` is implemented for `pezframe_system::Event<T>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -182,14 +182,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Event<Runtime>: Decode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Event<Runtime>: Decode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -198,18 +198,18 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Decode` is not sati
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Decode` is not implemented for `frame_system::Event<Runtime>`
| |_^ the trait `Decode` is not implemented for `pezframe_system::Event<Runtime>`
|
= help: the trait `Decode` is implemented for `frame_system::Event<T>`
= help: the trait `Decode` is implemented for `pezframe_system::Event<T>`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
@@ -225,11 +225,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Event<T>`
= note: required for `frame_system::Event<Runtime>` to implement `std::fmt::Debug`
= help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Event<T>`
= note: required for `pezframe_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&frame_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&frame_system::Event<Runtime>` to `&dyn std::fmt::Debug`
= note: required for `&pezframe_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&pezframe_system::Event<Runtime>` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -242,11 +242,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Error<T>`
= note: required for `frame_system::Error<Runtime>` to implement `std::fmt::Debug`
= help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Error<T>`
= note: required for `pezframe_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&frame_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&frame_system::Error<Runtime>` to `&dyn std::fmt::Debug`
= note: required for `&pezframe_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&pezframe_system::Error<Runtime>` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -277,7 +277,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
= note: required for `RawOrigin<_>` to implement `Into<RuntimeOrigin>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -304,8 +304,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -318,9 +318,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `PalletInfoAccess` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `PalletInfoAccess`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `PalletInfoAccess` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `PalletInfoAccess`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -333,8 +333,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -347,10 +347,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Call<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Call<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -368,13 +368,13 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where
| |______________________^ must implement `Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Call<Runtime>: Encode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Call<Runtime>: Encode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -383,10 +383,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Encode` is not satis
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Encode` is not implemented for `frame_system::Call<Runtime>`
| |_^ the trait `Encode` is not implemented for `pezframe_system::Call<Runtime>`
|
= help: the trait `Encode` is implemented for `frame_system::Call<T>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Encode` is implemented for `pezframe_system::Call<T>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -399,14 +399,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Call`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Call`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ^^^^ required by this bound in `Call`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ^^^^ required by this bound in `Call`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Call<Runtime>: Decode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Call<Runtime>: Decode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -415,10 +415,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Decode` is not satis
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Decode` is not implemented for `frame_system::Call<Runtime>`
| |_^ the trait `Decode` is not implemented for `pezframe_system::Call<Runtime>`
|
= help: the trait `Decode` is implemented for `frame_system::Call<T>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Decode` is implemented for `pezframe_system::Call<T>`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -431,9 +431,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `get_dispatch_info` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -450,20 +450,20 @@ error[E0599]: the method `get_dispatch_info` exists for reference `&Call<Runtime
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetDispatchInfo`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetDispatchInfo`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: GetDispatchInfo`
which is required by `pezframe_system::Call<Runtime>: GetDispatchInfo`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `is_feeless` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -480,20 +480,20 @@ error[E0599]: the method `is_feeless` exists for reference `&Call<Runtime>`, but
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: CheckIfFeeless`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: CheckIfFeeless`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: CheckIfFeeless`
which is required by `pezframe_system::Call<Runtime>: CheckIfFeeless`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `get_call_name` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -510,31 +510,31 @@ error[E0599]: the method `get_call_name` exists for reference `&Call<Runtime>`,
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetCallName`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetCallName`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: GetCallName`
which is required by `pezframe_system::Call<Runtime>: GetCallName`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `ViewFunctionIdPrefix` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `ViewFunctionIdPrefix`
= help: the trait `ViewFunctionIdPrefix` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `ViewFunctionIdPrefix`
error[E0599]: the function or associated item `storage_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `storage_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -547,18 +547,18 @@ error[E0599]: the function or associated item `storage_metadata` exists for stru
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `call_functions` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `call_functions` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -571,18 +571,18 @@ error[E0599]: the function or associated item `call_functions` exists for struct
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_view_functions_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_view_functions_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -595,16 +595,16 @@ error[E0599]: the function or associated item `pallet_view_functions_metadata` e
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the variant or associated item `event_metadata` exists for enum `Event<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -624,13 +624,13 @@ error[E0599]: the variant or associated item `event_metadata` exists for enum `E
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_constants_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_constants_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -643,18 +643,18 @@ error[E0599]: the function or associated item `pallet_constants_metadata` exists
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `error_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `error_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -667,18 +667,18 @@ error[E0599]: the function or associated item `error_metadata` exists for struct
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_documentation_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_documentation_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -691,18 +691,18 @@ error[E0599]: the function or associated item `pallet_documentation_metadata` ex
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_associated_types_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_associated_types_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -715,16 +715,16 @@ error[E0599]: the function or associated item `pallet_associated_types_metadata`
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -739,15 +739,15 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
= help: the trait `Serialize` is implemented for `GenesisConfig<T>`
= note: required for `GenesisConfig<Runtime>` to implement `Serialize`
note: required by a bound in `frame_support::sp_runtime::serde::ser::SerializeStruct::serialize_field`
--> $CARGO/serde_core-1.0.228/src/ser/mod.rs
note: required by a bound in `pezframe_support::pezsp_runtime::serde::ser::SerializeStruct::serialize_field`
--> $CARGO/serde_core-$VERSION/src/ser/mod.rs
|
| fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function
| where
| T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -761,11 +761,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -779,11 +779,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -797,7 +797,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
@@ -823,10 +823,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
and $N others
= note: required for `Pallet<Runtime>` to implement `OnGenesis`
= note: required for `Pezpallet<Runtime>` to implement `OnGenesis`
= note: 1 redundant requirement hidden
= note: required for `(Pallet<Runtime>,)` to implement `OnGenesis`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: required for `(Pezpallet<Runtime>,)` to implement `OnGenesis`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0282]: type annotations needed
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -839,4 +839,4 @@ error[E0282]: type annotations needed
28 | | }
| |_^ cannot infer type
|
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,5 +1,5 @@
error: `Call` was already declared before. Please remove the duplicate declaration
--> tests/construct_runtime_ui/duplicate_exclude.rs:26:46
--> tests/construct_runtime_ui/duplicate_exclude.rs:26:49
|
26 | System: frame_system exclude_parts { Call, Call },
| ^^^^
26 | System: pezframe_system exclude_parts { Call, Call },
| ^^^^
@@ -1,5 +1,5 @@
error: expected one of: `crate`, `self`, `super`, identifier
--> tests/construct_runtime_ui/empty_pallet_path.rs:23:11
--> tests/construct_runtime_ui/empty_pezpallet_path.rs:23:11
|
23 | system: ,
| ^
@@ -1,5 +1,5 @@
error: Unexpected tokens, expected one of `::$ident` `::{`, `exclude_parts`, `use_parts`, `=`, `,`
--> tests/construct_runtime_ui/exclude_missspell.rs:26:24
--> tests/construct_runtime_ui/exclude_missspell.rs:26:27
|
26 | System: frame_system exclude_part { Call },
| ^^^^^^^^^^^^
26 | System: pezframe_system exclude_part { Call },
| ^^^^^^^^^^^^
@@ -1,8 +1,8 @@
error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`.
--> tests/construct_runtime_ui/exclude_undefined_part.rs:48:34
error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`.
--> tests/construct_runtime_ui/exclude_undefined_part.rs:48:40
|
48 | Pallet: pallet exclude_parts { Call },
| ^^^^
48 | Pezpallet: pezpallet exclude_parts { Call },
| ^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/exclude_undefined_part.rs:40:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/exclude_undefined_part.rs:42:25
--> tests/construct_runtime_ui/exclude_undefined_part.rs:42:28
|
42 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
42 - impl pallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {}
42 - impl pezpallet::Config for Runtime {}
42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|
@@ -1,5 +1,5 @@
error: `System` pallet declaration is feature gated, please remove any `#[cfg]` attributes
error: `System` pezpallet declaration is feature gated, please remove any `#[cfg]` attributes
--> tests/construct_runtime_ui/feature_gated_system_pallet.rs:24:3
|
24 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
24 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^
@@ -1,4 +1,4 @@
error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
--> tests/construct_runtime_ui/invalid_module_details_keyword.rs:23:20
|
23 | system: System::{enum},
@@ -1,4 +1,4 @@
error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
--> tests/construct_runtime_ui/invalid_module_entry.rs:24:23
|
24 | Balance: balances::{Unexpected},
@@ -1,4 +1,4 @@
error: Instantiable pallet with no generic `Event` cannot be constructed: pallet `Balance` must have generic `Event`
error: Instantiable pezpallet with no generic `Event` cannot be constructed: pezpallet `Balance` must have generic `Event`
--> tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.rs:24:3
|
24 | Balance: balances::<Instance1> expanded::{}::{Event},
@@ -1,4 +1,4 @@
error: Instantiable pallet with no generic `Origin` cannot be constructed: pallet `Balance` must have generic `Origin`
error: Instantiable pezpallet with no generic `Origin` cannot be constructed: pezpallet `Balance` must have generic `Origin`
--> tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.rs:24:3
|
24 | Balance: balances::<Instance1> expanded::{}::{Origin},
@@ -1,4 +1,4 @@
error: `System` pallet declaration is missing. Please add this line: `System: frame_system,`
error: `System` pezpallet declaration is missing. Please add this line: `System: pezframe_system,`
--> tests/construct_runtime_ui/missing_system_module.rs:22:2
|
22 | / {
@@ -1,4 +1,4 @@
error: Pallet index doesn't fit into u8, index is 256
error: Pezpallet index doesn't fit into u8, index is 256
--> tests/construct_runtime_ui/more_than_256_modules.rs:27:3
|
27 | Pallet256: pallet256::{},
@@ -1,16 +1,16 @@
error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [frame_support].
error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [pezframe_support].
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:67:2
|
67 | pub struct Runtime
| ^^^
error: recursion limit reached while expanding `frame_support::__private::tt_return!`
error: recursion limit reached while expanding `pezframe_support::__private::tt_return!`
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
181 | | }
| |_^
@@ -1,12 +1,12 @@
error[E0080]: evaluation of constant value failed
--> tests/construct_runtime_ui/pallet_error_too_large.rs:115:1
--> tests/construct_runtime_ui/pezpallet_error_too_large.rs:115:1
|
115 | / construct_runtime! {
116 | | pub struct Runtime
117 | | {
118 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
118 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
121 | | }
| |_^ evaluation panicked: The maximum encoded size of the error type in the `Pallet` pallet exceeds `MAX_MODULE_ERROR_ENCODED_SIZE`
| |_^ evaluation panicked: The maximum encoded size of the error type in the `Pezpallet` pezpallet exceeds `MAX_MODULE_ERROR_ENCODED_SIZE`
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,15 +1,15 @@
error: `Pallet` does not have #[pallet::call] defined, perhaps you should remove `Call` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::call] defined, perhaps you should remove `Call` from construct_runtime?
--> tests/construct_runtime_ui/undefined_call_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_call_check::is_call_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_call_check::is_call_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,53 +1,53 @@
error: `Pallet` does not have #[pallet::event] defined, perhaps you should remove `Event` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::event] defined, perhaps you should remove `Event` from construct_runtime?
--> tests/construct_runtime_ui/undefined_event_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Event` in module `pallet`
error[E0412]: cannot find type `Event` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_event_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these enums
|
18 + use frame_support_test::Event;
18 + use pezframe_support_test::Event;
|
18 + use frame_system::Event;
18 + use pezframe_system::Event;
|
error[E0433]: failed to resolve: could not find `Event` in `pallet`
error[E0433]: failed to resolve: could not find `Event` in `pezpallet`
--> tests/construct_runtime_ui/undefined_event_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ could not find `Event` in `pallet`
| |_^ could not find `Event` in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these enums
|
18 + use frame_support_test::Event;
18 + use pezframe_support_test::Event;
|
18 + use frame_system::Event;
18 + use pezframe_system::Event;
|
@@ -1,34 +1,34 @@
error: `Pallet` does not have #[pallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime?
--> tests/construct_runtime_ui/undefined_genesis_config_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `GenesisConfig` in module `pallet`
error[E0412]: cannot find type `GenesisConfig` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_genesis_config_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these structs
|
18 + use frame_system::GenesisConfig;
18 + use pezframe_system::GenesisConfig;
|
18 + use test_pallet::GenesisConfig;
18 + use test_pezpallet::GenesisConfig;
|
@@ -1,33 +1,33 @@
error: `Pallet` does not have #[pallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime?
--> tests/construct_runtime_ui/undefined_inherent_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `create_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `create_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `create_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `create_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `create_inherent`, perhaps you need to implement one of them:
@@ -35,20 +35,20 @@ error[E0599]: no function or associated item named `create_inherent` found for s
candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `is_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `is_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `is_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `is_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `is_inherent`, perhaps you need to implement one of them:
@@ -56,81 +56,81 @@ error[E0599]: no function or associated item named `is_inherent` found for struc
candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `check_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `check_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `check_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `check_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `check_inherent`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pallet::Pallet` in the current scope
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ associated item not found in `Pallet<Runtime>`
| |_^ associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `INHERENT_IDENTIFIER`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `is_inherent_required` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `is_inherent_required` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `is_inherent_required` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `is_inherent_required` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `is_inherent_required`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `pallet::Pallet<Runtime>: ProvideInherent` is not satisfied
error[E0277]: the trait bound `pezpallet::Pezpallet<Runtime>: ProvideInherent` is not satisfied
--> tests/construct_runtime_ui/undefined_inherent_part.rs:70:3
|
70 | Pallet: pallet expanded::{}::{Pallet, Inherent},
| ^^^^^^ the trait `ProvideInherent` is not implemented for `pallet::Pallet<Runtime>`
70 | Pezpallet: pezpallet expanded::{}::{Pezpallet, Inherent},
| ^^^^^^^^^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet<Runtime>`
error[E0277]: the trait bound `pallet::Pallet<Runtime>: ProvideInherent` is not satisfied
error[E0277]: the trait bound `pezpallet::Pezpallet<Runtime>: ProvideInherent` is not satisfied
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ the trait `ProvideInherent` is not implemented for `pallet::Pallet<Runtime>`
| |_^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet<Runtime>`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,34 +1,34 @@
error: `Pallet` does not have #[pallet::origin] defined, perhaps you should remove `Origin` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::origin] defined, perhaps you should remove `Origin` from construct_runtime?
--> tests/construct_runtime_ui/undefined_origin_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Origin` in module `pallet`
error[E0412]: cannot find type `Origin` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_origin_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these type aliases
|
18 + use frame_support_test::Origin;
18 + use pezframe_support_test::Origin;
|
18 + use frame_system::Origin;
18 + use pezframe_system::Origin;
|
@@ -1,72 +1,72 @@
error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime?
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no variant or associated item named `Pallet` found for enum `RuntimeCall` in the current scope
error[E0599]: no variant or associated item named `Pezpallet` found for enum `RuntimeCall` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:70:3
|
66 | // construct_runtime! {
67 | || pub struct Runtime
68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | || Pallet: pallet::{Pallet, ValidateUnsigned},
| || ----^^^^^^ variant or associated item not found in `RuntimeCall`
69 | || System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
70 | || Pezpallet: pezpallet::{Pezpallet, ValidateUnsigned},
| || ----^^^^^^^^^ variant or associated item not found in `RuntimeCall`
| ||_____|
| |
71 | | }
72 | | }
| |__- variant or associated item `Pallet` not found for this enum
| |__- variant or associated item `Pezpallet` not found for this enum
error[E0599]: no function or associated item named `pre_dispatch` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `pre_dispatch` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `pre_dispatch` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `pre_dispatch` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `pre_dispatch`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `validate_unsigned` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `validate_unsigned` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `validate_unsigned` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `validate_unsigned` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `validate_unsigned`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,4 +1,4 @@
error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime`
error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3
|
24 | #[attr]
@@ -1,5 +1,5 @@
error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3
error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pezpallet_attr.rs:24:3
|
24 | #[attr]
| ^
@@ -1,8 +1,8 @@
error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`.
--> tests/construct_runtime_ui/use_undefined_part.rs:48:30
error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`.
--> tests/construct_runtime_ui/use_undefined_part.rs:48:36
|
48 | Pallet: pallet use_parts { Call },
| ^^^^
48 | Pezpallet: pezpallet use_parts { Call },
| ^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/use_undefined_part.rs:40:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/use_undefined_part.rs:42:25
--> tests/construct_runtime_ui/use_undefined_part.rs:42:28
|
42 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
42 - impl pallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {}
42 - impl pezpallet::Config for Runtime {}
42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|