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
+20 -8
View File
@@ -69,7 +69,7 @@ cargo check --locked --all --features try-runtime,experimental --quiet
| Job | Durum | Lokal Test Komutu | | Job | Durum | Lokal Test Komutu |
|-----|-------|-------------------| |-----|-------|-------------------|
| `test-doc` | ❌ | `time cargo test --doc --workspace --locked --release --no-fail-fast --features=runtime-benchmarks,try-runtime` | | `test-doc` | ❌ | `cargo test --doc --workspace --locked --all-features` |
| `build-rustdoc` | ✅ | `SKIP_WASM_BUILD=1 cargo doc --workspace --all-features --no-deps` | | `build-rustdoc` | ✅ | `SKIP_WASM_BUILD=1 cargo doc --workspace --all-features --no-deps` |
--- ---
@@ -88,10 +88,10 @@ cargo check --locked --all --features try-runtime,experimental --quiet
| Job | Durum | Lokal Test Komutu | | Job | Durum | Lokal Test Komutu |
|-----|-------|-------------------| |-----|-------|-------------------|
| `test-linux-stable` | ❌ | `cargo nextest run --workspace --locked --release --no-fail-fast` | | `test-linux-stable` | ❌ | `cargo nextest run --workspace --locked --release --features try-runtime,experimental,ci-only-tests` |
| `test-linux-stable-int` | ❌ | `cargo nextest run -p "*-integration-tests*" -j1 --locked --release --no-fail-fast` | | `test-linux-stable-int` | ❌ | `cargo test -p pezstaging-node-cli --release --locked -- --ignored` |
| `test-linux-stable-no-try-runtime` | ❌ | `cargo check --workspace --locked --no-default-features` | | `test-linux-stable-no-try-runtime` | ❌ | `cargo nextest run --workspace --locked --release --features experimental,ci-only-tests` (try-runtime OLMADAN) |
| `test-linux-stable-runtime-benchmarks` | ❌ | `cargo check --workspace --locked --features runtime-benchmarks` | | `test-linux-stable-runtime-benchmarks` | ❌ | `cargo nextest run --workspace --features runtime-benchmarks benchmark --locked --cargo-profile testnet` |
--- ---
@@ -99,10 +99,22 @@ cargo check --locked --all --features try-runtime,experimental --quiet
| Job | Durum | Lokal Test Komutu | | Job | Durum | Lokal Test Komutu |
|-----|-------|-------------------| |-----|-------|-------------------|
| `test-node-metrics` | ❌ | `cargo test -p pezsc-network --features "substrate-prometheus"` | | `test-node-metrics` | ❌ | `cargo test --profile testnet --locked --features=runtime-metrics -p pezkuwi-node-metrics` |
| `test-pezframe-ui` | ❌ | Aşağıdaki 6 komut çalıştırılmalı |
| `cargo-check-each-crate` | ❌ | `python3 .github/scripts/check-each-crate.py 1 7` (7 paralel) |
| `cargo-check-all-crate-macos` | ❌ | macOS runner gerekli | | `cargo-check-all-crate-macos` | ❌ | macOS runner gerekli |
| `test-pezframe-ui` | ❌ | `cargo test -p pezframe-ui-tests --locked` | | `test-deterministic-wasm` | ❌ | `cargo build -q --locked --release -p zagros-runtime -p pezkuwichain-runtime` (2x + checksum) |
| `cargo-check-each-crate` | ❌ | `cargo check -p <crate-name> --locked` (her crate için ayrı) | | `check-tracing` | ❌ | `cargo test --locked --manifest-path ./bizinikiwi/primitives/tracing/Cargo.toml` |
**test-pezframe-ui komutları:**
```bash
cargo test --locked -q --profile testnet -p pezframe-support-test --features=pezframe-feature-testing,no-metadata-docs,try-runtime,experimental ui
cargo test --locked -q --profile testnet -p pezframe-support-test --features=pezframe-feature-testing,pezframe-feature-testing-2,no-metadata-docs,try-runtime,experimental ui
cargo test --locked -q --profile testnet -p xcm-pez-procedural ui
cargo test --locked -q --profile testnet -p pezframe-election-provider-solution-type ui
cargo test --locked -q --profile testnet -p pezsp-api-test ui
cargo test --locked -q --profile testnet --manifest-path bizinikiwi/primitives/runtime-interface/Cargo.toml ui
```
--- ---
+2 -2
View File
@@ -89,8 +89,8 @@ jobs:
- name: script - name: script
run: | run: |
cargo version cargo version
cargo test --locked -q --profile testnet -p pezframe-support-test --features=pezframe-feature-testing,no-metadata-docs,try-runtime,experimental ui cargo test --locked -q --profile testnet -p pezframe-support-test --features=frame-feature-testing,no-metadata-docs,try-runtime,experimental ui
cargo test --locked -q --profile testnet -p pezframe-support-test --features=pezframe-feature-testing,pezframe-feature-testing-2,no-metadata-docs,try-runtime,experimental ui cargo test --locked -q --profile testnet -p pezframe-support-test --features=frame-feature-testing,frame-feature-testing-2,no-metadata-docs,try-runtime,experimental ui
cargo test --locked -q --profile testnet -p xcm-pez-procedural ui cargo test --locked -q --profile testnet -p xcm-pez-procedural ui
cargo test --locked -q --profile testnet -p pezframe-election-provider-solution-type ui cargo test --locked -q --profile testnet -p pezframe-election-provider-solution-type ui
cargo test --locked -q --profile testnet -p pezsp-api-test ui cargo test --locked -q --profile testnet -p pezsp-api-test ui
+7
View File
@@ -1614,6 +1614,13 @@ zstd = { version = "0.12.4", default-features = false }
opt-level = 3 opt-level = 3
panic = "unwind" panic = "unwind"
# Testnet profile for CI tests with debug assertions
[profile.testnet]
debug = 1 # debug symbols are useful for profilers
debug-assertions = true
inherits = "release"
overflow-checks = true
# Production profile for optimized builds (used by Docker images) # Production profile for optimized builds (used by Docker images)
[profile.production] [profile.production]
inherits = "release" inherits = "release"
@@ -4,11 +4,11 @@ error: unexpected end of input, `pov_mode` can only be specified once
25 | #[benchmark(pov_mode = Measured, pov_mode = MaxEncodedLen)] 25 | #[benchmark(pov_mode = Measured, pov_mode = MaxEncodedLen)]
| ^ | ^
error: unused import: `frame_support_test::Config` error: unused import: `pezframe_support_test::Config`
--> tests/benchmark_ui/dup_attr_pov_mode.rs:19:5 --> tests/benchmark_ui/dup_attr_pov_mode.rs:19:5
| |
19 | use frame_support_test::Config; 19 | use pezframe_support_test::Config;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: `-D unused-imports` implied by `-D warnings` = note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]` = help: to override `-D warnings` add `#[allow(unused_imports)]`
@@ -1,16 +1,16 @@
error: unused import: `frame_support::traits::OriginTrait` error: unused import: `pezframe_support::traits::OriginTrait`
--> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:46:6 --> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:46:6
| |
46 | use frame_support::traits::OriginTrait; 46 | use pezframe_support::traits::OriginTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: `-D unused-imports` implied by `-D warnings` = note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]` = help: to override `-D warnings` add `#[allow(unused_imports)]`
error[E0277]: the trait bound `<T as frame_system::Config>::RuntimeOrigin: From<u8>` is not satisfied error[E0277]: the trait bound `<T as pezframe_system::Config>::RuntimeOrigin: From<u8>` is not satisfied
--> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:52:5 --> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:52:5
| |
52 | _(origin); 52 | _(origin);
| ^^^^^^ the trait `From<u8>` is not implemented for `<T as frame_system::Config>::RuntimeOrigin` | ^^^^^^ the trait `From<u8>` is not implemented for `<T as pezframe_system::Config>::RuntimeOrigin`
| |
= note: required for `u8` to implement `Into<<T as frame_system::Config>::RuntimeOrigin>` = note: required for `u8` to implement `Into<<T as pezframe_system::Config>::RuntimeOrigin>`
@@ -1,18 +1,18 @@
error[E0277]: the trait bound `T: frame_system::Config` is not satisfied error[E0277]: the trait bound `T: pezframe_system::Config` is not satisfied
--> tests/benchmark_ui/invalid_origin.rs:30:8 --> tests/benchmark_ui/invalid_origin.rs:30:8
| |
30 | noop(1); 30 | noop(1);
| ^ the trait `frame_system::Config` is not implemented for `T` | ^ the trait `pezframe_system::Config` is not implemented for `T`
| |
help: consider further restricting type parameter `T` with trait `Config` help: consider further restricting type parameter `T` with trait `Config`
| |
23 | #[benchmarks], T: frame_system::Config 23 | #[benchmarks], T: pezframe_system::Config
| +++++++++++++++++++++++++ | ++++++++++++++++++++++++++++
error[E0277]: the trait bound `<T as frame_support_test::Config>::RuntimeOrigin: From<{integer}>` is not satisfied error[E0277]: the trait bound `<T as pezframe_support_test::Config>::RuntimeOrigin: From<{integer}>` is not satisfied
--> tests/benchmark_ui/invalid_origin.rs:30:8 --> tests/benchmark_ui/invalid_origin.rs:30:8
| |
30 | noop(1); 30 | noop(1);
| ^ the trait `From<{integer}>` is not implemented for `<T as frame_support_test::Config>::RuntimeOrigin` | ^ the trait `From<{integer}>` is not implemented for `<T as pezframe_support_test::Config>::RuntimeOrigin`
| |
= note: required for `{integer}` to implement `Into<<T as frame_support_test::Config>::RuntimeOrigin>` = note: required for `{integer}` to implement `Into<<T as pezframe_support_test::Config>::RuntimeOrigin>`
@@ -1,8 +1,8 @@
error: Unexpected tokens, expected one of `=`, `,` 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 error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:35:64 --> 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 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 {} 37 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope | ^^^^^^^ 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 pezpallet::Config for Runtime {}
37 + impl pallet::Config for sp_api::__private::TransactionType {} 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 --> tests/construct_runtime_ui/conflicting_index.rs:26:3
| |
26 | System: system::{}, 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 --> tests/construct_runtime_ui/conflicting_index.rs:27:3
| |
27 | Pallet1: pallet1::{} = 0, 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 --> tests/construct_runtime_ui/conflicting_index_2.rs:26:3
| |
26 | System: system::{} = 5, 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 --> tests/construct_runtime_ui/conflicting_index_2.rs:29:3
| |
29 | Pallet3: pallet3::{}, 29 | Pallet3: pallet3::{},
@@ -1,11 +1,11 @@
error: Two pallets with the same name! error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:24:3 --> 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! error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:25:3 --> 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`: error: use of deprecated constant `WhereSection::_w`:
It is deprecated to use a `where` clause in `construct_runtime`. 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. It is planned to be removed in December 2023.
For more info see: 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -17,7 +17,7 @@ error: use of deprecated constant `WhereSection::_w`:
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Event` note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| pub enum Event<T: Config> { | pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event` | ^^^^^^ 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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! { 20 | construct_runtime! {
| ^ the trait `Config` is not implemented for `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 error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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<_>` | |_^ the trait `TryFrom<OriginCaller>` is not implemented for `RawOrigin<_>`
| |
= help: the trait `TryFrom<OriginCaller>` is implemented for `RawOrigin<<Runtime as Config>::AccountId>` = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `Callable<T>` is implemented for `Pallet<T>` = help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>` = note: required for `Pezpallet<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) = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3 --> 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` | ^^^^^^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `GenesisConfig` 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> { | pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig` | ^^^^^^ required by this bound in `GenesisConfig`
@@ -110,13 +110,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Event` note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| pub enum Event<T: Config> { | pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event` | ^^^^^^ 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -134,7 +134,7 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where 21 | | pub struct Runtime where
| |______________________^ must implement `Config` | |______________________^ must implement `Config`
note: the trait `Config` must be implemented 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 { | pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -151,13 +151,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Event` note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| pub enum Event<T: Config> { | pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event` | ^^^^^^ 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -166,10 +166,10 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Encode` is not sati
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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>` = help: the trait `Encode` is implemented for `pezframe_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) = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Event` note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| pub enum Event<T: Config> { | pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event` | ^^^^^^ 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -198,18 +198,18 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Decode` is not sati
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11 --> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
| |
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` | ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Event` note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| pub enum Event<T: Config> { | pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event` | ^^^^^^ required by this bound in `Event`
@@ -225,11 +225,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Event<T>` = help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Event<T>`
= note: required for `frame_system::Event<Runtime>` to implement `std::fmt::Debug` = note: required for `pezframe_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden = note: 1 redundant requirement hidden
= note: required for `&frame_system::Event<Runtime>` to implement `std::fmt::Debug` = note: required for `&pezframe_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 the cast from `&&pezframe_system::Event<Runtime>` to `&dyn std::fmt::Debug`
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:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Error<T>` = help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Error<T>`
= note: required for `frame_system::Error<Runtime>` to implement `std::fmt::Debug` = note: required for `pezframe_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden = note: 1 redundant requirement hidden
= note: required for `&frame_system::Error<Runtime>` to implement `std::fmt::Debug` = note: required for `&pezframe_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 the cast from `&&pezframe_system::Error<Runtime>` to `&dyn std::fmt::Debug`
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:20:1 --> 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` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= note: required for `RawOrigin<_>` to implement `Into<RuntimeOrigin>` = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11 --> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
| |
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` | ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
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:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `PalletInfoAccess` is implemented for `Pallet<T>` = help: the trait `PalletInfoAccess` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `PalletInfoAccess` = note: required for `Pezpallet<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) = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `Callable<T>` is implemented for `Pallet<T>` = help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>` = note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
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:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `Callable<T>` is implemented for `Pallet<T>` = help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>` = 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -368,13 +368,13 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where 21 | | pub struct Runtime where
| |______________________^ must implement `Config` | |______________________^ must implement `Config`
note: the trait `Config` must be implemented 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 { | 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) = 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -383,10 +383,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Encode` is not satis
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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>` = help: the trait `Encode` is implemented for `pezframe_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) = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `frame_system::Call` note: required by a bound in `pezframe_system::Call`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
| |
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)] | #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ^^^^ required by this bound in `Call` | ^^^^ 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) = 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | / construct_runtime! { 20 | / construct_runtime! {
@@ -415,10 +415,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Decode` is not satis
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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>` = help: the trait `Decode` is implemented for `pezframe_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) = 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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 | | } 28 | | }
| |_^ the trait `Config` is not implemented for `Runtime` | |_^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `Callable<T>` is implemented for `Pallet<T>` = help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>` = note: required for `Pezpallet<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) = 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 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 --> 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 | | } 28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds | |__^ 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)] | #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetDispatchInfo` | ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetDispatchInfo`
| |
= note: the following trait bounds were not satisfied: = note: the following trait bounds were not satisfied:
`Runtime: Config` `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 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 { | 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 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 --> 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 | | } 28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds | |__^ 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)] | #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: CheckIfFeeless` | ---- doesn't satisfy `pezframe_system::Call<Runtime>: CheckIfFeeless`
| |
= note: the following trait bounds were not satisfied: = note: the following trait bounds were not satisfied:
`Runtime: Config` `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 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 { | 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 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 --> 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 | | } 28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds | |__^ 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)] | #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetCallName` | ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetCallName`
| |
= note: the following trait bounds were not satisfied: = note: the following trait bounds were not satisfied:
`Runtime: Config` `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 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 { | 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3 --> 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` | ^^^^^^ the trait `Config` is not implemented for `Runtime`
| |
= help: the trait `ViewFunctionIdPrefix` is implemented for `Pallet<T>` = help: the trait `ViewFunctionIdPrefix` is implemented for `Pezpallet<T>`
= note: required for `Pallet<Runtime>` to implement `ViewFunctionIdPrefix` = 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -547,18 +547,18 @@ error[E0599]: the function or associated item `storage_metadata` exists for stru
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -571,18 +571,18 @@ error[E0599]: the function or associated item `call_functions` exists for struct
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -595,16 +595,16 @@ error[E0599]: the function or associated item `pallet_view_functions_metadata` e
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 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 --> 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -643,18 +643,18 @@ error[E0599]: the function or associated item `pallet_constants_metadata` exists
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -667,18 +667,18 @@ error[E0599]: the function or associated item `error_metadata` exists for struct
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -691,18 +691,18 @@ error[E0599]: the function or associated item `pallet_documentation_metadata` ex
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
| |
20 | construct_runtime! { 20 | construct_runtime! {
@@ -715,16 +715,16 @@ error[E0599]: the function or associated item `pallet_associated_types_metadata`
23 | | NodeBlock = Block, 23 | | NodeBlock = Block,
... | ... |
28 | | } 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: = note: the following trait bounds were not satisfied:
`Runtime: Config` `Runtime: Config`
note: the trait `Config` must be implemented 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 { | 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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>` = help: the trait `Serialize` is implemented for `GenesisConfig<T>`
= note: required for `GenesisConfig<Runtime>` to implement `Serialize` = note: required for `GenesisConfig<Runtime>` to implement `Serialize`
note: required by a bound in `frame_support::sp_runtime::serde::ser::SerializeStruct::serialize_field` note: required by a bound in `pezframe_support::pezsp_runtime::serde::ser::SerializeStruct::serialize_field`
--> $CARGO/serde_core-1.0.228/src/ser/mod.rs --> $CARGO/serde_core-$VERSION/src/ser/mod.rs
| |
| fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> | fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function | --------------- required by a bound in this associated function
| where | where
| T: ?Sized + Serialize; | T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` | ^^^^^^^^^ 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `GenesisConfig` 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> { | pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig` | ^^^^^^ 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `GenesisConfig` 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> { | pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig` | ^^^^^^ 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 error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> 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` | |_^ the trait `Config` is not implemented for `Runtime`
| |
note: required by a bound in `GenesisConfig` 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> { | pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig` | ^^^^^^ 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)
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
and $N others 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: 1 redundant requirement hidden
= note: required for `(Pallet<Runtime>,)` to implement `OnGenesis` = note: required for `(Pezpallet<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: 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 error[E0282]: type annotations needed
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -839,4 +839,4 @@ error[E0282]: type annotations needed
28 | | } 28 | | }
| |_^ cannot infer type | |_^ 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 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 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: , 23 | system: ,
| ^ | ^
@@ -1,5 +1,5 @@
error: Unexpected tokens, expected one of `::$ident` `::{`, `exclude_parts`, `use_parts`, `=`, `,` 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`. 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:34 --> 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 error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/exclude_undefined_part.rs:40:64 --> 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 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 {} 42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope | ^^^^^^^ 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 pezpallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {} 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 --> 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 --> tests/construct_runtime_ui/invalid_module_details_keyword.rs:23:20
| |
23 | system: System::{enum}, 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 --> tests/construct_runtime_ui/invalid_module_entry.rs:24:23
| |
24 | Balance: balances::{Unexpected}, 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 --> tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.rs:24:3
| |
24 | Balance: balances::<Instance1> expanded::{}::{Event}, 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 --> tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.rs:24:3
| |
24 | Balance: balances::<Instance1> expanded::{}::{Origin}, 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 --> tests/construct_runtime_ui/missing_system_module.rs:22:2
| |
22 | / { 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 --> tests/construct_runtime_ui/more_than_256_modules.rs:27:3
| |
27 | Pallet256: pallet256::{}, 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 --> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:67:2
| |
67 | pub struct Runtime 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 --> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
181 | | } 181 | | }
| |_^ | |_^
@@ -1,12 +1,12 @@
error[E0080]: evaluation of constant value failed 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! { 115 | / construct_runtime! {
116 | | pub struct Runtime 116 | | pub struct Runtime
117 | | { 117 | | {
118 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 118 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
121 | | } 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 --> tests/construct_runtime_ui/undefined_call_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
72 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_event_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_event_part.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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) = 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 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 --> tests/construct_runtime_ui/undefined_event_part.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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) = 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 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 --> tests/construct_runtime_ui/undefined_genesis_config_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_genesis_config_part.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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) = 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 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `create_inherent` not found for this struct | ----------------------- function or associated item `create_inherent` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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 = 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: = 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` candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) = 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `is_inherent` not found for this struct | ----------------------- function or associated item `is_inherent` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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 = 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: = 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` candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) = 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `check_inherent` not found for this struct | ----------------------- function or associated item `check_inherent` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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 = 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: = note: the following trait defines an item `check_inherent`, perhaps you need to implement it:
candidate #1: `ProvideInherent` candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) = 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct | ----------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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 = 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: = note: the following trait defines an item `INHERENT_IDENTIFIER`, perhaps you need to implement it:
candidate #1: `ProvideInherent` candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) = 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `is_inherent_required` not found for this struct | ----------------------- function or associated item `is_inherent_required` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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 = 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: = note: the following trait defines an item `is_inherent_required`, perhaps you need to implement it:
candidate #1: `ProvideInherent` candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) = 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:70:3
| |
70 | Pallet: pallet expanded::{}::{Pallet, Inherent}, 70 | Pezpallet: pezpallet expanded::{}::{Pezpallet, Inherent},
| ^^^^^^ the trait `ProvideInherent` is not implemented for `pallet::Pallet<Runtime>` | ^^^^^^^^^ 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 --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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) = 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 --> tests/construct_runtime_ui/undefined_origin_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_origin_part.rs:66:1
| |
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 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 | | } 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) = 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 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 --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:22:1
| |
22 | #[frame_support::pallet] 22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
... ...
66 | / construct_runtime! { 66 | / construct_runtime! {
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
72 | | } 72 | | }
| |_- in this macro invocation | |_- 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 --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:70:3
| |
66 | // construct_runtime! { 66 | // construct_runtime! {
67 | || pub struct Runtime 67 | || pub struct Runtime
68 | || { 68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | || System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
70 | || Pallet: pallet::{Pallet, ValidateUnsigned}, 70 | || Pezpallet: pezpallet::{Pezpallet, ValidateUnsigned},
| || ----^^^^^^ variant or associated item not found in `RuntimeCall` | || ----^^^^^^^^^ variant or associated item not found in `RuntimeCall`
| ||_____| | ||_____|
| | | |
71 | | } 71 | | }
72 | | } 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 --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `pre_dispatch` not found for this struct | ----------------------- function or associated item `pre_dispatch` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
72 | | } 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 = 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: = note: the following traits define an item `pre_dispatch`, perhaps you need to implement one of them:
candidate #1: `SignedExtension` candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned` 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 --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
| |
28 | pub struct Pallet<T>(_); 28 | pub struct Pezpallet<T>(_);
| -------------------- function or associated item `validate_unsigned` not found for this struct | ----------------------- function or associated item `validate_unsigned` not found for this struct
... ...
66 | construct_runtime! { 66 | construct_runtime! {
| _^ | _^
67 | | pub struct Runtime 67 | | pub struct Runtime
68 | | { 68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>}, 69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... | ... |
72 | | } 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 = 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: = note: the following traits define an item `validate_unsigned`, perhaps you need to implement one of them:
candidate #1: `SignedExtension` candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned` 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 --> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3
| |
24 | #[attr] 24 | #[attr]
@@ -1,5 +1,5 @@
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 --> tests/construct_runtime_ui/unsupported_pezpallet_attr.rs:24:3
| |
24 | #[attr] 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`. 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:30 --> 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 error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/use_undefined_part.rs:40:64 --> 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 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 {} 42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope | ^^^^^^^ 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 pezpallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {} 42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
| |
@@ -4,10 +4,10 @@ error[E0412]: cannot find type `RuntimeCall` in this scope
30 | type RuntimeCall = (); 30 | type RuntimeCall = ();
| ^^^^^^^^^^^ | ^^^^^^^^^^^
... ...
35 | #[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall; 35 | #[derive_impl(Pezpallet)] // Injects type RuntimeCall = RuntimeCall;
| ---------------------- in this macro invocation | ------------------------- in this macro invocation
| |
= note: this error originates in the macro `Pallet` which comes from the expansion of the macro `frame_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the macro `Pezpallet` which comes from the expansion of the macro `pezframe_support::macro_magic::forward_tokens_verbatim` (in Nightly builds, run with -Z macro-backtrace for more info)
help: you might have meant to use the associated type help: you might have meant to use the associated type
| |
30 | type Self::RuntimeCall = (); 30 | type Self::RuntimeCall = ();
@@ -10,5 +10,5 @@ error[E0046]: not all trait items implemented, missing: `RuntimeInfo`
22 | type RuntimeInfo; 22 | type RuntimeInfo;
| ---------------- `RuntimeInfo` from trait | ---------------- `RuntimeInfo` from trait
... ...
30 | impl Config for Pallet { 30 | impl Config for Pezpallet {
| ^^^^^^^^^^^^^^^^^^^^^^ missing `RuntimeInfo` in implementation | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `RuntimeInfo` in implementation
@@ -1,10 +1,10 @@
error: multiple declared defaults error: multiple declared defaults
--> tests/derive_no_bound_ui/default_too_many_attributes.rs:22:10 --> tests/derive_no_bound_ui/default_too_many_attributes.rs:22:10
| |
22 | #[derive(frame_support::DefaultNoBound)] 22 | #[derive(pezframe_support::DefaultNoBound)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: this error originates in the derive macro `frame_support::DefaultNoBound` (in Nightly builds, run with -Z macro-backtrace for more info) = note: this error originates in the derive macro `pezframe_support::DefaultNoBound` (in Nightly builds, run with -Z macro-backtrace for more info)
error: first default error: first default
--> tests/derive_no_bound_ui/default_too_many_attributes.rs:24:2 --> tests/derive_no_bound_ui/default_too_many_attributes.rs:24:2
@@ -1,5 +1,5 @@
error: Invalid pallet macro call: unexpected attribute. Macro call must be bare, such as `#[frame_support::pallet]` or `#[pallet]`, or must specify the `dev_mode` attribute, such as `#[frame_support::pallet(dev_mode)]` or #[pallet(dev_mode)]. error: Invalid pezpallet macro call: unexpected attribute. Macro call must be bare, such as `#[pezframe_support::pezpallet]` or `#[pezpallet]`, or must specify the `dev_mode` attribute, such as `#[pezframe_support::pezpallet(dev_mode)]` or #[pezpallet(dev_mode)].
--> tests/pallet_ui/attr_non_empty.rs:18:26 --> tests/pezpallet_ui/attr_non_empty.rs:18:32
| |
18 | #[frame_support::pallet [foo]] 18 | #[pezframe_support::pezpallet [foo]]
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: unexpected token, expected `]` error: unexpected token, expected `]`
--> tests/pallet_ui/attribute_macros_deny_parameters.rs:25:21 --> tests/pezpallet_ui/attribute_macros_deny_parameters.rs:25:24
| |
25 | #[pallet::constant(Hello)] 25 | #[pezpallet::constant(Hello)]
| ^^^^^^^ | ^^^^^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, weight_of_authorize attribute must be used with authorize attribute error: Invalid pezpallet::call, weight_of_authorize attribute must be used with authorize attribute
--> tests/pallet_ui/authorize_weight_but_no_closure.rs:36:33 --> tests/pezpallet_ui/authorize_weight_but_no_closure.rs:36:36
| |
36 | #[pallet::weight_of_authorize(Weight::zero())] 36 | #[pezpallet::weight_of_authorize(Weight::zero())]
| ^^^^^^ | ^^^^^^
@@ -1,8 +1,8 @@
error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
--> tests/pallet_ui/authorize_wrong_closure.rs:36:23 --> tests/pezpallet_ui/authorize_wrong_closure.rs:36:26
| |
36 | #[pallet::authorize(|_| true)] 36 | #[pezpallet::authorize(|_| true)]
| ^-- | ^--
| | | |
| expected closure that takes 2 arguments | expected closure that takes 2 arguments
| takes 1 argument | takes 1 argument
@@ -1,12 +1,12 @@
error[E0631]: type mismatch in closure arguments error[E0631]: type mismatch in closure arguments
--> tests/pallet_ui/authorize_wrong_closure_2.rs:36:23 --> tests/pezpallet_ui/authorize_wrong_closure_2.rs:36:26
| |
36 | #[pallet::authorize(|_, _: u8| -> bool { true })] 36 | #[pezpallet::authorize(|_, _: u8| -> bool { true })]
| ^-------------------------- | ^--------------------------
| | | |
| expected due to this | expected due to this
| found signature defined here | found signature defined here
| return type was inferred to be `{closure@authorize_wrong_closure_2.rs:36:23}` here | return type was inferred to be `{closure@authorize_wrong_closure_2.rs:36:26}` here
| |
= note: expected closure signature `for<'a> fn(TransactionSource, &'a u32) -> _` = note: expected closure signature `for<'a> fn(TransactionSource, &'a u32) -> _`
found closure signature `fn(TransactionSource, u8) -> _` found closure signature `fn(TransactionSource, u8) -> _`
@@ -1,5 +1,5 @@
error: unexpected end of input, expected an expression error: unexpected end of input, expected an expression
--> tests/pallet_ui/authorize_wrong_closure_3.rs:36:22 --> tests/pezpallet_ui/authorize_wrong_closure_3.rs:36:25
| |
36 | #[pallet::authorize()] 36 | #[pezpallet::authorize()]
| ^^ | ^^
@@ -1,10 +1,10 @@
error[E0277]: expected a `Fn(TransactionSource, &u32)` closure, found `Result<_, _>` error[E0277]: expected a `Fn(TransactionSource, &u32)` closure, found `Result<_, _>`
--> tests/pallet_ui/authorize_wrong_closure_4.rs:36:23 --> tests/pezpallet_ui/authorize_wrong_closure_4.rs:36:26
| |
36 | #[pallet::authorize(Ok(Default::default()))] 36 | #[pezpallet::authorize(Ok(Default::default()))]
| ^^-------------------- | ^^--------------------
| | | |
| expected an `Fn(TransactionSource, &u32)` closure, found `Result<_, _>` | expected an `Fn(TransactionSource, &u32)` closure, found `Result<_, _>`
| return type was inferred to be `Result<_, _>` here | return type was inferred to be `Result<_, _>` here
| |
= help: the trait `for<'a> Fn(TransactionSource, &'a u32)` is not implemented for `Result<_, _>` = help: the trait `for<'a> Fn(TransactionSource, &'a u32)` is not implemented for `Result<_, _>`
@@ -1,8 +1,8 @@
error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument error[E0593]: closure is expected to take 2 arguments, but it takes 1 argument
--> tests/pallet_ui/authorize_wrong_closure_5.rs:36:23 --> tests/pezpallet_ui/authorize_wrong_closure_5.rs:36:26
| |
36 | #[pallet::authorize(|_a: &u32| -> TransactionValidityWithRefund { 36 | #[pezpallet::authorize(|_a: &u32| -> TransactionValidityWithRefund {
| ^------------------------------------------ | ^------------------------------------------
| | | |
| expected closure that takes 2 arguments | expected closure that takes 2 arguments
| takes 1 argument | takes 1 argument
@@ -1,22 +1,22 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/authorize_wrong_weight.rs:37:33 --> tests/pezpallet_ui/authorize_wrong_weight.rs:37:36
| |
37 | #[pallet::weight_of_authorize("foo")] 37 | #[pezpallet::weight_of_authorize("foo")]
| ^^^^^ | ^^^^^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error[E0308]: mismatched types error[E0308]: mismatched types
--> tests/pallet_ui/authorize_wrong_weight.rs:37:33 --> tests/pezpallet_ui/authorize_wrong_weight.rs:37:36
| |
18 | #[frame_support::pallet] 18 | #[pezframe_support::pezpallet]
| ------------------------ expected `frame_support::weights::Weight` because of return type | ------------------------------ expected `pezframe_support::weights::Weight` because of return type
... ...
37 | #[pallet::weight_of_authorize("foo")] 37 | #[pezpallet::weight_of_authorize("foo")]
| ^^^^^ expected `Weight`, found `&str` | ^^^^^ expected `Weight`, found `&str`
@@ -1,5 +1,5 @@
error[E0599]: no function or associated item named `authorize_call1` found for associated type `<T as pallet::Config>::WeightInfo` in the current scope error[E0599]: no function or associated item named `authorize_call1` found for associated type `<T as pezpallet::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/authorize_wrong_weight_info.rs:39:10 --> tests/pezpallet_ui/authorize_wrong_weight_info.rs:39:10
| |
39 | pub fn call1(origin: OriginFor<T>, a: u32) -> DispatchResult { 39 | pub fn call1(origin: OriginFor<T>, a: u32) -> DispatchResult {
| ^^^^^ function or associated item not found in `<T as Config>::WeightInfo` | ^^^^^ function or associated item not found in `<T as Config>::WeightInfo`
@@ -1,5 +1,5 @@
error[E0220]: associated type `WeightIn` not found for `T` error[E0220]: associated type `WeightIn` not found for `T`
--> tests/pallet_ui/authorize_wrong_weight_info_2.rs:34:29 --> tests/pezpallet_ui/authorize_wrong_weight_info_2.rs:34:32
| |
34 | #[pallet::call(weight = T::WeightIn)] 34 | #[pezpallet::call(weight = T::WeightIn)]
| ^^^^^^^^ help: there is an associated type with a similar name: `WeightInfo` | ^^^^^^^^ help: there is an associated type with a similar name: `WeightInfo`
@@ -1,41 +1,41 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_argument_invalid_bound.rs:36:20 --> tests/pezpallet_ui/call_argument_invalid_bound.rs:36:23
| |
36 | #[pallet::weight(0)] 36 | #[pezpallet::weight(0)]
| ^ | ^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug` error[E0277]: `<T as pezpallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | ^^^^ `<T as pezpallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| |
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar` = help: the trait `std::fmt::Debug` is not implemented for `<T as pezpallet::Config>::Bar`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug` = note: required for `&<T as pezpallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug` = note: required for the cast from `&&<T as pezpallet::Config>::Bar` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Clone` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar` | ^^^^ the trait `Clone` is not implemented for `<T as pezpallet::Config>::Bar`
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar` error[E0369]: binary operation `==` cannot be applied to type `&<T as pezpallet::Config>::Bar`
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ | ^^^^
error: unused variable: `origin` error: unused variable: `origin`
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:14 --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:14
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,60 +1,60 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:36:20 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:36:23
| |
36 | #[pallet::weight(0)] 36 | #[pezpallet::weight(0)]
| ^ | ^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug` error[E0277]: `<T as pezpallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | ^^^^ `<T as pezpallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| |
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar` = help: the trait `std::fmt::Debug` is not implemented for `<T as pezpallet::Config>::Bar`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug` = note: required for `&<T as pezpallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug` = note: required for the cast from `&&<T as pezpallet::Config>::Bar` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Clone` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar` | ^^^^ the trait `Clone` is not implemented for `<T as pezpallet::Config>::Bar`
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar` error[E0369]: binary operation `==` cannot be applied to type `&<T as pezpallet::Config>::Bar`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ | ^^^^
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Encode` is not satisfied error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Encode` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
| |
18 | #[frame_support::pallet] 18 | #[pezframe_support::pezpallet]
| ------------------------ required by a bound introduced by this call | ------------------------------ required by a bound introduced by this call
... ...
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar` | ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pezpallet::Config>::Bar`
| |
= note: required for `<T as pallet::Config>::Bar` to implement `Encode` = note: required for `<T as pezpallet::Config>::Bar` to implement `Encode`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Decode` is not satisfied error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Decode` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:42 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:42
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar` | ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pezpallet::Config>::Bar`
| |
= note: required for `<T as pallet::Config>::Bar` to implement `Decode` = note: required for `<T as pezpallet::Config>::Bar` to implement `Decode`
error: unused variable: `origin` error: unused variable: `origin`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:14 --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:14
| |
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo { 38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,19 +1,19 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:38:20 --> tests/pezpallet_ui/call_argument_invalid_bound_3.rs:38:23
| |
38 | #[pallet::weight(0)] 38 | #[pezpallet::weight(0)]
| ^ | ^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error[E0277]: `Bar` doesn't implement `std::fmt::Debug` error[E0277]: `Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:40:36 --> tests/pezpallet_ui/call_argument_invalid_bound_3.rs:40:36
| |
40 | pub fn foo(origin: OriginFor<T>, _bar: Bar) -> DispatchResultWithPostInfo { 40 | pub fn foo(origin: OriginFor<T>, _bar: Bar) -> DispatchResultWithPostInfo {
| ^^^^ `Bar` cannot be formatted using `{:?}` | ^^^^ `Bar` cannot be formatted using `{:?}`
@@ -29,7 +29,7 @@ help: consider annotating `Bar` with `#[derive(Debug)]`
| |
error: unused variable: `origin` error: unused variable: `origin`
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:40:14 --> tests/pezpallet_ui/call_argument_invalid_bound_3.rs:40:14
| |
40 | pub fn foo(origin: OriginFor<T>, _bar: Bar) -> DispatchResultWithPostInfo { 40 | pub fn foo(origin: OriginFor<T>, _bar: Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,11 +1,11 @@
error: Call indices are conflicting: Both functions foo and bar are at index 10 error: Call indices are conflicting: Both functions foo and bar are at index 10
--> tests/pallet_ui/call_conflicting_indices.rs:32:10 --> tests/pezpallet_ui/call_conflicting_indices.rs:32:10
| |
32 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {} 32 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^^ | ^^^
error: Call indices are conflicting: Both functions foo and bar are at index 10 error: Call indices are conflicting: Both functions foo and bar are at index 10
--> tests/pallet_ui/call_conflicting_indices.rs:36:10 --> tests/pezpallet_ui/call_conflicting_indices.rs:36:10
| |
36 | pub fn bar(origin: OriginFor<T>) -> DispatchResultWithPostInfo {} 36 | pub fn bar(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, feeless_if closure must have same number of arguments as the dispatchable function error: Invalid pezpallet::call, feeless_if closure must have same number of arguments as the dispatchable function
--> tests/pallet_ui/call_feeless_invalid_closure_arg1.rs:31:24 --> tests/pezpallet_ui/call_feeless_invalid_closure_arg1.rs:31:27
| |
31 | #[pallet::feeless_if(|| -> bool { true })] 31 | #[pezpallet::feeless_if(|| -> bool { true })]
| ^ | ^
@@ -1,5 +1,5 @@
error: Invalid type: expected `&OriginFor<T>` error: Invalid type: expected `&OriginFor<T>`
--> tests/pallet_ui/call_feeless_invalid_closure_arg2.rs:31:28 --> tests/pezpallet_ui/call_feeless_invalid_closure_arg2.rs:31:31
| |
31 | #[pallet::feeless_if(|_: bool| -> bool { true })] 31 | #[pezpallet::feeless_if(|_: bool| -> bool { true })]
| ^^^^ | ^^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, feeless_if closure argument must have a reference to the same type as the dispatchable function argument error: Invalid pezpallet::call, feeless_if closure argument must have a reference to the same type as the dispatchable function argument
--> tests/pallet_ui/call_feeless_invalid_closure_arg3.rs:31:43 --> tests/pezpallet_ui/call_feeless_invalid_closure_arg3.rs:31:46
| |
31 | #[pallet::feeless_if(|_: &OriginFor<T>, _s: &u32| -> bool { true })] 31 | #[pezpallet::feeless_if(|_: &OriginFor<T>, _s: &u32| -> bool { true })]
| ^^ | ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, feeless_if closure must return `bool` error: Invalid pezpallet::call, feeless_if closure must return `bool`
--> tests/pallet_ui/call_feeless_invalid_closure_return.rs:31:43 --> tests/pezpallet_ui/call_feeless_invalid_closure_return.rs:31:46
| |
31 | #[pallet::feeless_if(|_: &OriginFor<T>| -> u32 { 0 })] 31 | #[pezpallet::feeless_if(|_: &OriginFor<T>| -> u32 { 0 })]
| ^ | ^
@@ -1,11 +1,11 @@
error: Invalid feeless_if attribute: expected a closure error: Invalid feeless_if attribute: expected a closure
--> tests/pallet_ui/call_feeless_invalid_type.rs:31:24 --> tests/pezpallet_ui/call_feeless_invalid_type.rs:31:27
| |
31 | #[pallet::feeless_if(0)] 31 | #[pezpallet::feeless_if(0)]
| ^ | ^
error: expected `|` error: expected `|`
--> tests/pallet_ui/call_feeless_invalid_type.rs:31:24 --> tests/pezpallet_ui/call_feeless_invalid_type.rs:31:27
| |
31 | #[pallet::feeless_if(0)] 31 | #[pezpallet::feeless_if(0)]
| ^ | ^
@@ -1,5 +1,5 @@
error: Number literal must not have a suffix error: Number literal must not have a suffix
--> tests/pallet_ui/call_index_has_suffix.rs:31:30 --> tests/pezpallet_ui/call_index_has_suffix.rs:31:33
| |
31 | #[pallet::call_index(0something)] 31 | #[pezpallet::call_index(0something)]
| ^^^^^^^^^^ | ^^^^^^^^^^
@@ -1,5 +1,5 @@
error: expected one of: `weight`, `call_index`, `feeless_if`, `authorize`, `weight_of_authorize` error: expected one of: `weight`, `call_index`, `feeless_if`, `authorize`, `weight_of_authorize`
--> tests/pallet_ui/call_invalid_attr.rs:31:13 --> tests/pezpallet_ui/call_invalid_attr.rs:31:16
| |
31 | #[pallet::weird_attr] 31 | #[pezpallet::weird_attr]
| ^^^^^^^^^^ | ^^^^^^^^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, only method accepted error: Invalid pezpallet::call, only method accepted
--> tests/pallet_ui/call_invalid_const.rs:34:3 --> tests/pezpallet_ui/call_invalid_const.rs:34:3
| |
34 | const Foo: u8 = 3u8; 34 | const Foo: u8 = 3u8;
| ^^^^^ | ^^^^^
@@ -1,5 +1,5 @@
error: number too large to fit in target type error: number too large to fit in target type
--> tests/pallet_ui/call_invalid_index.rs:32:24 --> tests/pezpallet_ui/call_invalid_index.rs:32:27
| |
32 | #[pallet::call_index(256)] 32 | #[pezpallet::call_index(256)]
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: Invalid type: expected `OriginFor<T>` or `T::RuntimeOrigin` error: Invalid type: expected `OriginFor<T>` or `T::RuntimeOrigin`
--> tests/pallet_ui/call_invalid_origin_type.rs:34:22 --> tests/pezpallet_ui/call_invalid_origin_type.rs:34:22
| |
34 | pub fn foo(origin: u8) {} 34 | pub fn foo(origin: u8) {}
| ^^ | ^^
@@ -1,5 +1,5 @@
error: expected `DispatchResultWithPostInfo` or `DispatchResult` error: expected `DispatchResultWithPostInfo` or `DispatchResult`
--> tests/pallet_ui/call_invalid_return.rs:34:39 --> tests/pezpallet_ui/call_invalid_return.rs:34:39
| |
34 | pub fn foo(origin: OriginFor<T>) -> ::DispatchResult { todo!() } 34 | pub fn foo(origin: OriginFor<T>) -> ::DispatchResult { todo!() }
| ^ | ^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, dispatchable function must be public: `pub fn` error: Invalid pezpallet::call, dispatchable function must be public: `pub fn`
--> tests/pallet_ui/call_invalid_vis.rs:37:3 --> tests/pezpallet_ui/call_invalid_vis.rs:37:3
| |
37 | fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo { 37 | fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
| ^^ | ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, dispatchable function must be public: `pub fn` error: Invalid pezpallet::call, dispatchable function must be public: `pub fn`
--> tests/pallet_ui/call_invalid_vis_2.rs:37:3 --> tests/pezpallet_ui/call_invalid_vis_2.rs:37:3
| |
37 | pub(crate) fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo { 37 | pub(crate) fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {
| ^^^ | ^^^
@@ -1,11 +1,11 @@
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: error: use of deprecated constant `pezpallet::warnings::ImplicitCallIndex_0::_w`:
It is deprecated to use implicit call indices. It is deprecated to use implicit call indices.
Please instead ensure that all calls have a `pallet::call_index` attribute or put the pallet into `dev` mode. Please instead ensure that all calls have a `pezpallet::call_index` attribute or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/12891> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/paritytech/bizinikiwi/pull/11381> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pallet_ui/call_missing_index.rs:32:10 --> tests/pezpallet_ui/call_missing_index.rs:32:10
| |
32 | pub fn foo(_: OriginFor<T>) -> DispatchResult { 32 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ | ^^^
@@ -13,54 +13,54 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_1::_w`: error: use of deprecated constant `pezpallet::warnings::ImplicitCallIndex_1::_w`:
It is deprecated to use implicit call indices. It is deprecated to use implicit call indices.
Please instead ensure that all calls have a `pallet::call_index` attribute or put the pallet into `dev` mode. Please instead ensure that all calls have a `pezpallet::call_index` attribute or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/12891> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/paritytech/bizinikiwi/pull/11381> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pallet_ui/call_missing_index.rs:37:10 --> tests/pezpallet_ui/call_missing_index.rs:37:10
| |
37 | pub fn bar(_: OriginFor<T>) -> DispatchResult { 37 | pub fn bar(_: OriginFor<T>) -> DispatchResult {
| ^^^ | ^^^
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_missing_index.rs:31:20 --> tests/pezpallet_ui/call_missing_index.rs:31:23
| |
31 | #[pallet::weight(0)] 31 | #[pezpallet::weight(0)]
| ^ | ^
error: use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_1::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_missing_index.rs:36:20 --> tests/pezpallet_ui/call_missing_index.rs:36:23
| |
36 | #[pallet::weight(0)] 36 | #[pezpallet::weight(0)]
| ^ | ^
error: associated function `error_metadata` is never used error: associated function `error_metadata` is never used
--> tests/pallet_ui/call_missing_index.rs:26:12 --> tests/pezpallet_ui/call_missing_index.rs:26:15
| |
26 | #[pallet::pallet] 26 | #[pezpallet::pezpallet]
| ^^^^^^ associated function in this implementation | ^^^^^^^^^ associated function in this implementation
| |
= note: `-D dead-code` implied by `-D warnings` = note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]` = help: to override `-D warnings` add `#[allow(dead_code)]`
error: associated functions `new_call_variant_foo` and `new_call_variant_bar` are never used error: associated functions `new_call_variant_foo` and `new_call_variant_bar` are never used
--> tests/pallet_ui/call_missing_index.rs:32:10 --> tests/pezpallet_ui/call_missing_index.rs:32:10
| |
29 | #[pallet::call] 29 | #[pezpallet::call]
| ---- associated functions in this implementation | ---- associated functions in this implementation
... ...
32 | pub fn foo(_: OriginFor<T>) -> DispatchResult { 32 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: A pallet::call requires either a concrete `#[pallet::weight($expr)]` or an inherited weight from the `#[pallet:call(weight($type))]` attribute, but none were given. error: A pezpallet::call requires either a concrete `#[pezpallet::weight($expr)]` or an inherited weight from the `#[pezpallet:call(weight($type))]` attribute, but none were given.
--> tests/pallet_ui/call_missing_weight.rs:34:7 --> tests/pezpallet_ui/call_missing_weight.rs:34:7
| |
34 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {} 34 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^ | ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, too many call_index attributes given error: Invalid pezpallet::call, too many call_index attributes given
--> tests/pallet_ui/call_multiple_call_index.rs:34:7 --> tests/pezpallet_ui/call_multiple_call_index.rs:34:7
| |
34 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {} 34 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^ | ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, must have at least origin arg error: Invalid pezpallet::call, must have at least origin arg
--> tests/pallet_ui/call_no_origin.rs:34:7 --> tests/pezpallet_ui/call_no_origin.rs:34:7
| |
34 | pub fn foo() {} 34 | pub fn foo() {}
| ^^ | ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, require return type DispatchResultWithPostInfo error: Invalid pezpallet::call, require return type DispatchResultWithPostInfo
--> tests/pallet_ui/call_no_return.rs:34:7 --> tests/pezpallet_ui/call_no_return.rs:34:7
| |
34 | pub fn foo(origin: OriginFor<T>) {} 34 | pub fn foo(origin: OriginFor<T>) {}
| ^^ | ^^
@@ -1,5 +1,5 @@
error[E0308]: mismatched types error[E0308]: mismatched types
--> tests/pallet_ui/call_span_for_error.rs:32:15 --> tests/pezpallet_ui/call_span_for_error.rs:32:15
| |
32 | return Err(DispatchError::BadOrigin); 32 | return Err(DispatchError::BadOrigin);
| --- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `DispatchErrorWithPostInfo<...>`, found `DispatchError` | --- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `DispatchErrorWithPostInfo<...>`, found `DispatchError`
@@ -7,9 +7,9 @@ error[E0308]: mismatched types
| arguments to this enum variant are incorrect | arguments to this enum variant are incorrect
| |
= note: expected struct `DispatchErrorWithPostInfo<PostDispatchInfo>` = note: expected struct `DispatchErrorWithPostInfo<PostDispatchInfo>`
found enum `frame_support::pallet_prelude::DispatchError` found enum `pezframe_support::pezpallet_prelude::DispatchError`
help: the type constructed contains `frame_support::pallet_prelude::DispatchError` due to the type of the argument passed help: the type constructed contains `pezframe_support::pezpallet_prelude::DispatchError` due to the type of the argument passed
--> tests/pallet_ui/call_span_for_error.rs:32:11 --> tests/pezpallet_ui/call_span_for_error.rs:32:11
| |
32 | return Err(DispatchError::BadOrigin); 32 | return Err(DispatchError::BadOrigin);
| ^^^^------------------------^ | ^^^^------------------------^
@@ -20,7 +20,7 @@ note: tuple variant defined here
| |
| Err(#[stable(feature = "rust1", since = "1.0.0")] E), | Err(#[stable(feature = "rust1", since = "1.0.0")] E),
| ^^^ | ^^^
help: call `Into::into` on this expression to convert `frame_support::pallet_prelude::DispatchError` into `DispatchErrorWithPostInfo<PostDispatchInfo>` help: call `Into::into` on this expression to convert `pezframe_support::pezpallet_prelude::DispatchError` into `DispatchErrorWithPostInfo<PostDispatchInfo>`
| |
32 | return Err(DispatchError::BadOrigin.into()); 32 | return Err(DispatchError::BadOrigin.into());
| +++++++ | +++++++
@@ -1,21 +1,21 @@
error: invalid suffix `something` for number literal error: invalid suffix `something` for number literal
--> tests/pallet_ui/call_weight_argument_has_suffix.rs:32:26 --> tests/pezpallet_ui/call_weight_argument_has_suffix.rs:32:29
| |
32 | #[pallet::weight(10_000something)] 32 | #[pezpallet::weight(10_000something)]
| ^^^^^^^^^^^^^^^ invalid suffix `something` | ^^^^^^^^^^^^^^^ invalid suffix `something`
| |
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_weight_argument_has_suffix.rs:32:26 --> tests/pezpallet_ui/call_weight_argument_has_suffix.rs:32:29
| |
32 | #[pallet::weight(10_000something)] 32 | #[pezpallet::weight(10_000something)]
| ^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
@@ -1,31 +1,31 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_weight_const_warning.rs:32:26 --> tests/pezpallet_ui/call_weight_const_warning.rs:32:29
| |
32 | #[pallet::weight(123_u64)] 32 | #[pezpallet::weight(123_u64)]
| ^^^^^^^ | ^^^^^^^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: associated function `error_metadata` is never used error: associated function `error_metadata` is never used
--> tests/pallet_ui/call_weight_const_warning.rs:26:12 --> tests/pezpallet_ui/call_weight_const_warning.rs:26:15
| |
26 | #[pallet::pallet] 26 | #[pezpallet::pezpallet]
| ^^^^^^ associated function in this implementation | ^^^^^^^^^ associated function in this implementation
| |
= note: `-D dead-code` implied by `-D warnings` = note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]` = help: to override `-D warnings` add `#[allow(dead_code)]`
error: associated function `new_call_variant_foo` is never used error: associated function `new_call_variant_foo` is never used
--> tests/pallet_ui/call_weight_const_warning.rs:33:10 --> tests/pezpallet_ui/call_weight_const_warning.rs:33:10
| |
29 | #[pallet::call] 29 | #[pezpallet::call]
| ---- associated function in this implementation | ---- associated function in this implementation
... ...
33 | pub fn foo(_: OriginFor<T>) -> DispatchResult { Ok(()) } 33 | pub fn foo(_: OriginFor<T>) -> DispatchResult { Ok(()) }
| ^^^ | ^^^
@@ -1,32 +1,32 @@
error: invalid suffix `custom_prefix` for number literal error: invalid suffix `custom_prefix` for number literal
--> tests/pallet_ui/call_weight_const_warning_twice.rs:36:26 --> tests/pezpallet_ui/call_weight_const_warning_twice.rs:36:29
| |
36 | #[pallet::weight(123_custom_prefix)] 36 | #[pezpallet::weight(123_custom_prefix)]
| ^^^^^^^^^^^^^^^^^ invalid suffix `custom_prefix` | ^^^^^^^^^^^^^^^^^ invalid suffix `custom_prefix`
| |
= help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.)
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_weight_const_warning_twice.rs:32:26 --> tests/pezpallet_ui/call_weight_const_warning_twice.rs:32:29
| |
32 | #[pallet::weight(123)] 32 | #[pezpallet::weight(123)]
| ^^^ | ^^^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: use of deprecated constant `pallet::warnings::ConstantWeight_1::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_1::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/call_weight_const_warning_twice.rs:36:26 --> tests/pezpallet_ui/call_weight_const_warning_twice.rs:36:29
| |
36 | #[pallet::weight(123_custom_prefix)] 36 | #[pezpallet::weight(123_custom_prefix)]
| ^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^
@@ -1,11 +1,11 @@
error: expected `weight` error: expected `weight`
--> tests/pallet_ui/call_weight_inherited_invalid.rs:36:17 --> tests/pezpallet_ui/call_weight_inherited_invalid.rs:36:20
| |
36 | #[pallet::call(invalid)] 36 | #[pezpallet::call(invalid)]
| ^^^^^^^ | ^^^^^^^
error: expected parentheses error: expected parentheses
--> tests/pallet_ui/call_weight_inherited_invalid.rs:57:17 --> tests/pezpallet_ui/call_weight_inherited_invalid.rs:57:20
| |
57 | #[pallet::call = invalid] 57 | #[pezpallet::call = invalid]
| ^ | ^
@@ -1,11 +1,11 @@
error[E0412]: cannot find type `prefix` in this scope error[E0412]: cannot find type `prefix` in this scope
--> tests/pallet_ui/call_weight_inherited_invalid2.rs:39:24 --> tests/pezpallet_ui/call_weight_inherited_invalid2.rs:39:27
| |
39 | #[pallet::call(weight(prefix))] 39 | #[pezpallet::call(weight(prefix))]
| ^^^^^^ not found in this scope | ^^^^^^ not found in this scope
error[E0412]: cannot find type `prefix` in this scope error[E0412]: cannot find type `prefix` in this scope
--> tests/pallet_ui/call_weight_inherited_invalid2.rs:60:26 --> tests/pezpallet_ui/call_weight_inherited_invalid2.rs:60:29
| |
60 | #[pallet::call(weight = prefix)] 60 | #[pezpallet::call(weight = prefix)]
| ^^^^^^ not found in this scope | ^^^^^^ not found in this scope
@@ -1,20 +1,20 @@
error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, `dyn`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, `dyn`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime
--> tests/pallet_ui/call_weight_inherited_invalid3.rs:39:24 --> tests/pezpallet_ui/call_weight_inherited_invalid3.rs:39:27
| |
39 | #[pallet::call(weight(123))] 39 | #[pezpallet::call(weight(123))]
| ^^^ | ^^^
error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, `dyn`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime error: expected one of: `for`, parentheses, `fn`, `unsafe`, `extern`, identifier, `::`, `<`, `dyn`, square brackets, `*`, `&`, `!`, `impl`, `_`, lifetime
--> tests/pallet_ui/call_weight_inherited_invalid3.rs:60:26 --> tests/pezpallet_ui/call_weight_inherited_invalid3.rs:60:29
| |
60 | #[pallet::call(weight = 123)] 60 | #[pezpallet::call(weight = 123)]
| ^^^ | ^^^
error: unused import: `frame_system::pallet_prelude::*` error: unused import: `pezframe_system::pezpallet_prelude::*`
--> tests/pallet_ui/call_weight_inherited_invalid3.rs:21:5 --> tests/pezpallet_ui/call_weight_inherited_invalid3.rs:21:5
| |
21 | use frame_system::pallet_prelude::*; 21 | use pezframe_system::pezpallet_prelude::*;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
| |
= note: `-D unused-imports` implied by `-D warnings` = note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]` = help: to override `-D warnings` add `#[allow(unused_imports)]`
@@ -1,11 +1,11 @@
error[E0599]: no function or associated item named `foo` found for associated type `<T as parentheses::Config>::WeightInfo` in the current scope error[E0599]: no function or associated item named `foo` found for associated type `<T as parentheses::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:41:10 --> tests/pezpallet_ui/call_weight_inherited_invalid4.rs:41:10
| |
41 | pub fn foo(_: OriginFor<T>) -> DispatchResult { 41 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ function or associated item not found in `<T as Config>::WeightInfo` | ^^^ function or associated item not found in `<T as Config>::WeightInfo`
error[E0599]: no function or associated item named `foo` found for associated type `<T as assign::Config>::WeightInfo` in the current scope error[E0599]: no function or associated item named `foo` found for associated type `<T as assign::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:62:10 --> tests/pezpallet_ui/call_weight_inherited_invalid4.rs:62:10
| |
62 | pub fn foo(_: OriginFor<T>) -> DispatchResult { 62 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ function or associated item not found in `<T as Config>::WeightInfo` | ^^^ function or associated item not found in `<T as Config>::WeightInfo`
@@ -1,11 +1,11 @@
error: unexpected token, expected `)` error: unexpected token, expected `)`
--> tests/pallet_ui/call_weight_inherited_invalid5.rs:31:50 --> tests/pezpallet_ui/call_weight_inherited_invalid5.rs:31:53
| |
31 | #[pallet::call(weight(<T as Config>::WeightInfo straycat))] 31 | #[pezpallet::call(weight(<T as Config>::WeightInfo straycat))]
| ^^^^^^^^ | ^^^^^^^^
error: unexpected token, expected `)` error: unexpected token, expected `)`
--> tests/pallet_ui/call_weight_inherited_invalid5.rs:51:52 --> tests/pezpallet_ui/call_weight_inherited_invalid5.rs:51:55
| |
51 | #[pallet::call(weight = <T as Config>::WeightInfo straycat)] 51 | #[pezpallet::call(weight = <T as Config>::WeightInfo straycat)]
| ^^^^^^^^ | ^^^^^^^^
@@ -1,10 +1,10 @@
error: use of deprecated constant `pallet::warnings::UncheckedWeightWitness_0::_w`: error: use of deprecated constant `pezpallet::warnings::UncheckedWeightWitness_0::_w`:
It is deprecated to not check weight witness data. It is deprecated to not check weight witness data.
Please instead ensure that all witness data for weight calculation is checked before usage. Please instead ensure that all witness data for weight calculation is checked before usage.
For more info see: For more info see:
<https://github.com/pezkuwichain/pezkuwichain-sdk/pull/1818> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/254>
--> tests/pallet_ui/call_weight_unchecked_warning.rs:33:31 --> tests/pezpallet_ui/call_weight_unchecked_warning.rs:33:31
| |
33 | pub fn foo(_: OriginFor<T>, _unused: u64) -> DispatchResult { Ok(()) } 33 | pub fn foo(_: OriginFor<T>, _unused: u64) -> DispatchResult { Ok(()) }
| ^^^^^^^ | ^^^^^^^
@@ -13,19 +13,19 @@ error: use of deprecated constant `pallet::warnings::UncheckedWeightWitness_0::_
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: associated function `error_metadata` is never used error: associated function `error_metadata` is never used
--> tests/pallet_ui/call_weight_unchecked_warning.rs:26:12 --> tests/pezpallet_ui/call_weight_unchecked_warning.rs:26:15
| |
26 | #[pallet::pallet] 26 | #[pezpallet::pezpallet]
| ^^^^^^ associated function in this implementation | ^^^^^^^^^ associated function in this implementation
| |
= note: `-D dead-code` implied by `-D warnings` = note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]` = help: to override `-D warnings` add `#[allow(dead_code)]`
error: associated function `new_call_variant_foo` is never used error: associated function `new_call_variant_foo` is never used
--> tests/pallet_ui/call_weight_unchecked_warning.rs:33:10 --> tests/pezpallet_ui/call_weight_unchecked_warning.rs:33:10
| |
29 | #[pallet::call] 29 | #[pezpallet::call]
| ---- associated function in this implementation | ---- associated function in this implementation
... ...
33 | pub fn foo(_: OriginFor<T>, _unused: u64) -> DispatchResult { Ok(()) } 33 | pub fn foo(_: OriginFor<T>, _unused: u64) -> DispatchResult { Ok(()) }
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error[E0369]: binary operation `!=` cannot be applied to type `NoStorageVersionSet` error[E0369]: binary operation `!=` cannot be applied to type `NoStorageVersionSet`
--> tests/pallet_ui/compare_unset_storage_version.rs:32:39 --> tests/pezpallet_ui/compare_unset_storage_version.rs:32:39
| |
32 | if Self::in_code_storage_version() != Self::on_chain_storage_version() { 32 | if Self::in_code_storage_version() != Self::on_chain_storage_version() {
| ------------------------------- ^^ -------------------------------- StorageVersion | ------------------------------- ^^ -------------------------------- StorageVersion
@@ -7,7 +7,7 @@ error[E0369]: binary operation `!=` cannot be applied to type `NoStorageVersionS
| NoStorageVersionSet | NoStorageVersionSet
| |
note: the foreign item type `NoStorageVersionSet` doesn't implement `PartialEq<StorageVersion>` note: the foreign item type `NoStorageVersionSet` doesn't implement `PartialEq<StorageVersion>`
--> $WORKSPACE/bizinikiwi/frame/support/src/traits/metadata.rs --> $WORKSPACE/bizinikiwi/pezframe/support/src/traits/metadata.rs
| |
| pub struct NoStorageVersionSet; | pub struct NoStorageVersionSet;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<StorageVersion>` | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<StorageVersion>`
@@ -1,5 +1,5 @@
error: expected one of: `FreezeReason`, `HoldReason`, `LockId`, `SlashReason`, `Task` error: expected one of: `FreezeReason`, `HoldReason`, `LockId`, `SlashReason`, `Task`
--> tests/pallet_ui/composite_enum_unsupported_identifier.rs:27:11 --> tests/pezpallet_ui/composite_enum_unsupported_identifier.rs:27:11
| |
27 | pub enum HoldReasons {} 27 | pub enum HoldReasons {}
| ^^^^^^^^^^^ | ^^^^^^^^^^^
@@ -1,5 +1,5 @@
error: Invalid duplicated attribute for `#[pallet::config]`. Please remove duplicates: without_automatic_metadata. error: Invalid duplicated attribute for `#[pezpallet::config]`. Please remove duplicates: without_automatic_metadata.
--> tests/pallet_ui/config_duplicate_attr.rs:23:12 --> tests/pezpallet_ui/config_duplicate_attr.rs:23:15
| |
23 | #[pallet::config(with_default, without_automatic_metadata, without_automatic_metadata)] 23 | #[pezpallet::config(with_default, without_automatic_metadata, without_automatic_metadata)]
| ^^^^^^ | ^^^^^^
@@ -1,5 +1,5 @@
error: Invalid #[pallet::include_metadata] in #[pallet::config], collected type `MyNonScaleTypeInfo` does not implement `TypeInfo` or `Parameter` error: Invalid #[pezpallet::include_metadata] in #[pezpallet::config], collected type `MyNonScaleTypeInfo` does not implement `TypeInfo` or `Parameter`
--> tests/pallet_ui/config_metadata_non_type_info.rs:28:4 --> tests/pezpallet_ui/config_metadata_non_type_info.rs:28:4
| |
28 | #[pallet::include_metadata] 28 | #[pezpallet::include_metadata]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1,5 +1,5 @@
error: Invalid #[pallet::include_metadata]: conflict with #[pallet::constant]. Pallet constant already collect the metadata for the type. error: Invalid #[pezpallet::include_metadata]: conflict with #[pezpallet::constant]. Pezpallet constant already collect the metadata for the type.
--> tests/pallet_ui/config_metadata_on_constants.rs:26:10 --> tests/pezpallet_ui/config_metadata_on_constants.rs:26:10
| |
26 | #[pallet::include_metadata] 26 | #[pezpallet::include_metadata]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1,5 +1,5 @@
error: Invalid #[pallet::include_metadata] for `type RuntimeEvent`. The associated type `RuntimeEvent` is already collected in the metadata. error: Invalid #[pezpallet::include_metadata] for `type RuntimeEvent`. The associated type `RuntimeEvent` is already collected in the metadata.
--> tests/pallet_ui/config_metadata_on_events.rs:26:4 --> tests/pezpallet_ui/config_metadata_on_events.rs:26:4
| |
26 | #[pallet::include_metadata] 26 | #[pezpallet::include_metadata]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -1,5 +1,5 @@
error[E0220]: associated type `Block` not found for `Self` error[E0220]: associated type `Block` not found for `Self`
--> tests/pallet_ui/default_config_with_no_default_in_system.rs:25:31 --> tests/pezpallet_ui/default_config_with_no_default_in_system.rs:25:31
| |
25 | type MyGetParam2: Get<Self::Block>; 25 | type MyGetParam2: Get<Self::Block>;
| ^^^^^ there is an associated type `Block` in the trait `frame_system::Config` | ^^^^^ there is an associated type `Block` in the trait `pezframe_system::Config`
@@ -1,5 +1,5 @@
error: A pallet::call requires either a concrete `#[pallet::weight($expr)]` or an inherited weight from the `#[pallet:call(weight($type))]` attribute, but none were given. error: A pezpallet::call requires either a concrete `#[pezpallet::weight($expr)]` or an inherited weight from the `#[pezpallet:call(weight($type))]` attribute, but none were given.
--> tests/pallet_ui/dev_mode_without_arg.rs:39:7 --> tests/pezpallet_ui/dev_mode_without_arg.rs:39:7
| |
39 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult { 39 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult {
| ^^ | ^^
@@ -1,11 +1,11 @@
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: error: use of deprecated constant `pezpallet::warnings::ImplicitCallIndex_0::_w`:
It is deprecated to use implicit call indices. It is deprecated to use implicit call indices.
Please instead ensure that all calls have a `pallet::call_index` attribute or put the pallet into `dev` mode. Please instead ensure that all calls have a `pezpallet::call_index` attribute or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/12891> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/paritytech/bizinikiwi/pull/11381> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pallet_ui/dev_mode_without_arg_call_index.rs:39:10 --> tests/pezpallet_ui/dev_mode_without_arg_call_index.rs:39:10
| |
39 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult { 39 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult {
| ^^^^^^^ | ^^^^^^^
@@ -13,13 +13,13 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/dev_mode_without_arg_call_index.rs:38:20 --> tests/pezpallet_ui/dev_mode_without_arg_call_index.rs:38:23
| |
38 | #[pallet::weight(0)] 38 | #[pezpallet::weight(0)]
| ^ | ^
@@ -1,11 +1,11 @@
error: `_` can only be used in dev_mode. Please specify an appropriate hasher. error: `_` can only be used in dev_mode. Please specify an appropriate hasher.
--> tests/pallet_ui/dev_mode_without_arg_default_hasher.rs:38:47 --> tests/pezpallet_ui/dev_mode_without_arg_default_hasher.rs:38:47
| |
38 | type MyStorageMap<T: Config> = StorageMap<_, _, u32, u64>; 38 | type MyStorageMap<T: Config> = StorageMap<_, _, u32, u64>;
| ^ | ^
error[E0432]: unresolved import `pallet` error[E0432]: unresolved import `pezpallet`
--> tests/pallet_ui/dev_mode_without_arg_default_hasher.rs:20:9 --> tests/pezpallet_ui/dev_mode_without_arg_default_hasher.rs:20:9
| |
20 | pub use pallet::*; 20 | pub use pezpallet::*;
| ^^^^^^ help: a similar path exists: `test_pallet::pallet` | ^^^^^^^^^ help: a similar path exists: `test_pezpallet::pezpallet`
@@ -1,11 +1,11 @@
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: error: use of deprecated constant `pezpallet::warnings::ImplicitCallIndex_0::_w`:
It is deprecated to use implicit call indices. It is deprecated to use implicit call indices.
Please instead ensure that all calls have a `pallet::call_index` attribute or put the pallet into `dev` mode. Please instead ensure that all calls have a `pezpallet::call_index` attribute or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/12891> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/paritytech/bizinikiwi/pull/11381> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pallet_ui/dev_mode_without_arg_max_encoded_len.rs:42:10 --> tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.rs:42:10
| |
42 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult { 42 | pub fn my_call(_origin: OriginFor<T>) -> DispatchResult {
| ^^^^^^^ | ^^^^^^^
@@ -13,25 +13,25 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`: error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight. It is deprecated to use hard-coded constant as call weight.
Please instead benchmark all calls or put the pallet into `dev` mode. Please instead benchmark all calls or put the pezpallet into `dev` mode.
For more info see: For more info see:
<https://github.com/paritytech/bizinikiwi/pull/13798> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pallet_ui/dev_mode_without_arg_max_encoded_len.rs:41:20 --> tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.rs:41:23
| |
41 | #[pallet::weight(0)] 41 | #[pezpallet::weight(0)]
| ^ | ^
error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
--> tests/pallet_ui/dev_mode_without_arg_max_encoded_len.rs:28:12 --> tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.rs:28:15
| |
28 | #[pallet::pallet] 28 | #[pezpallet::pezpallet]
| _______________^ | __________________^
29 | | pub struct Pallet<T>(_); 29 | | pub struct Pezpallet<T>(_);
... | ... |
35 | | #[pallet::storage] 35 | | #[pezpallet::storage]
36 | | type MyStorage<T: Config> = StorageValue<_, Vec<u8>>; 36 | | type MyStorage<T: Config> = StorageValue<_, Vec<u8>>;
| |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>` | |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec<u8>`
| |
@@ -45,4 +45,5 @@ error[E0277]: the trait bound `Vec<u8>: MaxEncodedLen` is not satisfied
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
and $N others and $N others
= note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageMyStorage<T>, Vec<u8>>` to implement `StorageInfoTrait` = note: required for `StorageValue<_GeneratedPrefixForStorageMyStorage<T>, Vec<u8>>` to implement `StorageInfoTrait`
= note: consider using `--verbose` to print the full type name to the console
@@ -1,5 +1,5 @@
error: Invalid duplicated attribute error: Invalid duplicated attribute
--> tests/pallet_ui/duplicate_call_attr.rs:39:12 --> tests/pezpallet_ui/duplicate_call_attr.rs:39:15
| |
39 | #[pallet::call] 39 | #[pezpallet::call]
| ^^^^ | ^^^^
@@ -1,47 +1,47 @@
error: Duplicate storage prefixes found for `Foo` error: Duplicate storage prefixes found for `Foo`
--> tests/pallet_ui/duplicate_storage_prefix.rs:32:29 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:32:32
| |
32 | #[pallet::storage_prefix = "Foo"] 32 | #[pezpallet::storage_prefix = "Foo"]
| ^^^^^ | ^^^^^
error: Duplicate storage prefixes found for `Foo` error: Duplicate storage prefixes found for `Foo`
--> tests/pallet_ui/duplicate_storage_prefix.rs:29:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:29:7
| |
29 | type Foo<T> = StorageValue<_, u8>; 29 | type Foo<T> = StorageValue<_, u8>;
| ^^^ | ^^^
error: Duplicate storage prefixes found for `CounterForBar`, used for counter associated to counted storage map error: Duplicate storage prefixes found for `CounterForBar`, used for counter associated to counted storage map
--> tests/pallet_ui/duplicate_storage_prefix.rs:39:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:39:7
| |
39 | type Bar<T> = CountedStorageMap<_, Twox64Concat, u16, u16>; 39 | type Bar<T> = CountedStorageMap<_, Twox64Concat, u16, u16>;
| ^^^ | ^^^
error: Duplicate storage prefixes found for `CounterForBar` error: Duplicate storage prefixes found for `CounterForBar`
--> tests/pallet_ui/duplicate_storage_prefix.rs:36:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:36:7
| |
36 | type CounterForBar<T> = StorageValue<_, u16>; 36 | type CounterForBar<T> = StorageValue<_, u16>;
| ^^^^^^^^^^^^^ | ^^^^^^^^^^^^^
error[E0412]: cannot find type `_GeneratedPrefixForStorageFoo` in this scope error[E0412]: cannot find type `_GeneratedPrefixForStorageFoo` in this scope
--> tests/pallet_ui/duplicate_storage_prefix.rs:29:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:29:7
| |
29 | type Foo<T> = StorageValue<_, u8>; 29 | type Foo<T> = StorageValue<_, u8>;
| ^^^ not found in this scope | ^^^ not found in this scope
error[E0412]: cannot find type `_GeneratedPrefixForStorageNotFoo` in this scope error[E0412]: cannot find type `_GeneratedPrefixForStorageNotFoo` in this scope
--> tests/pallet_ui/duplicate_storage_prefix.rs:33:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:33:7
| |
33 | type NotFoo<T> = StorageValue<_, u16>; 33 | type NotFoo<T> = StorageValue<_, u16>;
| ^^^^^^ not found in this scope | ^^^^^^ not found in this scope
error[E0412]: cannot find type `_GeneratedPrefixForStorageCounterForBar` in this scope error[E0412]: cannot find type `_GeneratedPrefixForStorageCounterForBar` in this scope
--> tests/pallet_ui/duplicate_storage_prefix.rs:36:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:36:7
| |
36 | type CounterForBar<T> = StorageValue<_, u16>; 36 | type CounterForBar<T> = StorageValue<_, u16>;
| ^^^^^^^^^^^^^ not found in this scope | ^^^^^^^^^^^^^ not found in this scope
error[E0412]: cannot find type `_GeneratedPrefixForStorageBar` in this scope error[E0412]: cannot find type `_GeneratedPrefixForStorageBar` in this scope
--> tests/pallet_ui/duplicate_storage_prefix.rs:39:7 --> tests/pezpallet_ui/duplicate_storage_prefix.rs:39:7
| |
39 | type Bar<T> = CountedStorageMap<_, Twox64Concat, u16, u16>; 39 | type Bar<T> = CountedStorageMap<_, Twox64Concat, u16, u16>;
| ^^^ not found in this scope | ^^^ not found in this scope
@@ -1,5 +1,5 @@
error[E0277]: the trait bound `MyError: PalletError` is not satisfied error[E0277]: the trait bound `MyError: PalletError` is not satisfied
--> tests/pallet_ui/error_does_not_derive_pallet_error.rs:29:15 --> tests/pezpallet_ui/error_does_not_derive_pezpallet_error.rs:29:15
| |
29 | CustomError(crate::MyError), 29 | CustomError(crate::MyError),
| ^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError` | ^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError`
@@ -1,5 +1,5 @@
error: Invalid pallet::error, where clause is not allowed on pallet error item error: Invalid pezpallet::error, where clause is not allowed on pezpallet error item
--> tests/pallet_ui/error_where_clause.rs:36:20 --> tests/pezpallet_ui/error_where_clause.rs:36:20
| |
36 | pub enum Error<T> where u32: From<u8> {} 36 | pub enum Error<T> where u32: From<u8> {}
| ^^^^^ | ^^^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::error, expected item enum error: Invalid pezpallet::error, expected item enum
--> tests/pallet_ui/error_wrong_item.rs:36:2 --> tests/pezpallet_ui/error_wrong_item.rs:36:2
| |
36 | pub struct Foo; 36 | pub struct Foo;
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: expected `Error` error: expected `Error`
--> tests/pallet_ui/error_wrong_item_name.rs:36:11 --> tests/pezpallet_ui/error_wrong_item_name.rs:36:11
| |
36 | pub enum Foo<T> {} 36 | pub enum Foo<T> {}
| ^^^ | ^^^
@@ -1,33 +1,33 @@
error: unused import: `event` error: unused import: `event`
--> tests/pallet_ui/event_deprecated_runtime_event.rs:38:12 --> tests/pezpallet_ui/event_deprecated_runtime_event.rs:38:15
| |
38 | #[pallet::event] 38 | #[pezpallet::event]
| ^^^^^ | ^^^^^
| |
= note: `-D unused-imports` implied by `-D warnings` = note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]` = help: to override `-D warnings` add `#[allow(unused_imports)]`
error: use of deprecated constant `pallet::RuntimeEvent::_w`: error: use of deprecated constant `pezpallet::RuntimeEvent::_w`:
It is deprecated to have `RuntimeEvent` associated type in the pallet config. It is deprecated to have `RuntimeEvent` associated type in the pezpallet config.
Please instead remove it as it is redundant since associated bound gets appended automatically: Please instead remove it as it is redundant since associated bound gets appended automatically:
pub trait Config: frame_system::Config<RuntimeEvent: From<Event<Self>>> { }. pub trait Config: pezframe_system::Config<RuntimeEvent: From<Event<Self>>> { }.
For more info see: For more info see:
<https://github.com/pezkuwichain/pezkuwichain-sdk/pull/7229> <https://github.com/pezkuwichain/pezkuwi-sdk/issues/270>
--> tests/pallet_ui/event_deprecated_runtime_event.rs:26:8 --> tests/pezpallet_ui/event_deprecated_runtime_event.rs:26:8
| |
26 | type RuntimeEvent: IsType<<Self as frame_system::Config>::RuntimeEvent> + From<Event<Self>>; 26 | type RuntimeEvent: IsType<<Self as pezframe_system::Config>::RuntimeEvent> + From<Event<Self>>;
| ^^^^^^^^^^^^ | ^^^^^^^^^^^^
| |
= note: `-D deprecated` implied by `-D warnings` = note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]` = help: to override `-D warnings` add `#[allow(deprecated)]`
error: associated function `error_metadata` is never used error: associated function `error_metadata` is never used
--> tests/pallet_ui/event_deprecated_runtime_event.rs:29:12 --> tests/pezpallet_ui/event_deprecated_runtime_event.rs:29:15
| |
29 | #[pallet::pallet] 29 | #[pezpallet::pezpallet]
| ^^^^^^ associated function in this implementation | ^^^^^^^^^ associated function in this implementation
| |
= note: `-D dead-code` implied by `-D warnings` = note: `-D dead-code` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(dead_code)]` = help: to override `-D warnings` add `#[allow(dead_code)]`
@@ -1,21 +1,21 @@
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Clone` is not satisfied
--> tests/pallet_ui/event_field_not_member.rs:40:7 --> tests/pezpallet_ui/event_field_not_member.rs:40:7
| |
40 | B { b: T::Bar }, 40 | B { b: T::Bar },
| ^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar` | ^ the trait `Clone` is not implemented for `<T as pezpallet::Config>::Bar`
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar` error[E0369]: binary operation `==` cannot be applied to type `&<T as pezpallet::Config>::Bar`
--> tests/pallet_ui/event_field_not_member.rs:40:7 --> tests/pezpallet_ui/event_field_not_member.rs:40:7
| |
40 | B { b: T::Bar }, 40 | B { b: T::Bar },
| ^ | ^
error[E0277]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug` error[E0277]: `<T as pezpallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/event_field_not_member.rs:40:7 --> tests/pezpallet_ui/event_field_not_member.rs:40:7
| |
40 | B { b: T::Bar }, 40 | B { b: T::Bar },
| ^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | ^ `<T as pezpallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| |
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar` = help: the trait `std::fmt::Debug` is not implemented for `<T as pezpallet::Config>::Bar`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug` = note: required for `&<T as pezpallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug` = note: required for the cast from `&&<T as pezpallet::Config>::Bar` to `&dyn std::fmt::Debug`
@@ -1,5 +1,5 @@
error: Invalid pallet::event, expected enum item error: Invalid pezpallet::event, expected enum item
--> tests/pallet_ui/event_wrong_item.rs:36:2 --> tests/pezpallet_ui/event_wrong_item.rs:36:2
| |
36 | pub struct Foo; 36 | pub struct Foo;
| ^^^ | ^^^
@@ -1,5 +1,5 @@
error: expected `Event` error: expected `Event`
--> tests/pallet_ui/event_wrong_item_name.rs:36:11 --> tests/pezpallet_ui/event_wrong_item_name.rs:36:11
| |
36 | pub enum Foo {} 36 | pub enum Foo {}
| ^^^ | ^^^

Some files were not shown because too many files have changed in this diff Show More