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:
@@ -4,11 +4,11 @@ error: unexpected end of input, `pov_mode` can only be specified once
|
||||
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
|
||||
|
|
||||
19 | use frame_support_test::Config;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
19 | use pezframe_support_test::Config;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= help: to override `-D warnings` add `#[allow(unused_imports)]`
|
||||
|
||||
+6
-6
@@ -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
|
||||
|
|
||||
46 | use frame_support::traits::OriginTrait;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
46 | use pezframe_support::traits::OriginTrait;
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: `-D unused-imports` implied by `-D warnings`
|
||||
= 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
|
||||
|
|
||||
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
|
||||
|
|
||||
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`
|
||||
|
|
||||
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
|
||||
|
|
||||
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>`
|
||||
|
||||
Reference in New Issue
Block a user