diff --git a/.config/lychee.toml b/.config/lychee.toml index f6963233..169999a8 100644 --- a/.config/lychee.toml +++ b/.config/lychee.toml @@ -76,8 +76,8 @@ exclude = [ # Sıfır Etki - Kapanmış/Rate-Limited Siteler # ============================================ # Deprecated/shutdown sites - "https://substrate.io/", "https://invarch.network/", + "https://substrate.io/", # Rate limited (403) "https://aventus.io/", "https://efinity.io/", @@ -86,8 +86,8 @@ exclude = [ "https://parachain.capitaldex.exchange/", "https://stackoverflow.com/.*", # Server errors (5xx) - "https://impactprotocol.network/", "http://laminar.network/", + "https://impactprotocol.network/", "https://neatcoin.org/", # Network/DNS errors (defunct chains) "https://allfeat.network/", @@ -112,11 +112,11 @@ exclude = [ # ============================================ # GitHub commit-specific URLs (cannot migrate) # ============================================ + "https://github.com/paritytech/polkadot-sdk/blob/.*/bizinikiwi/.*", + "https://github.com/pezkuwichain/pezkuwi-sdk/blob/[a-f0-9]+/.*", "https://github.com/pezkuwichain/pezkuwi-sdk/issues/.*/commits/.*", "https://github.com/pezkuwichain/pezkuwi-sdk/issues/.*/files.*", - "https://github.com/pezkuwichain/pezkuwi-sdk/blob/[a-f0-9]+/.*", "https://github.com/pezkuwichain/pezkuwi-sdk/tree/[a-f0-9]+/.*", - "https://github.com/paritytech/polkadot-sdk/blob/.*/bizinikiwi/.*", # Migrated bizinikiwi references "https://github.com/pezkuwichain/bizinikiwi.*", ] diff --git a/.github/scripts/cmd/cmd.py b/.github/scripts/cmd/cmd.py index 611aeb0e..e086ac4d 100755 --- a/.github/scripts/cmd/cmd.py +++ b/.github/scripts/cmd/cmd.py @@ -189,22 +189,22 @@ bench_example = '''**Examples**: %(prog)s Runs benchmarks for pallet_balances and pallet_multisig for all runtimes which have these pallets. **--quiet** makes it to output nothing to PR but reactions - %(prog)s --pallet pallet_balances pallet_xcm_benchmarks::generic --quiet + %(prog)s --pezpallet pallet_balances pallet_xcm_benchmarks::generic --quiet Runs bench for all pallets for zagros runtime and fails fast on first failed benchmark %(prog)s --runtime zagros --fail-fast Does not output anything and cleans up the previous bot's & author command triggering comments in PR - %(prog)s --runtime zagros pezkuwichain --pallet pallet_balances pallet_multisig --quiet --clean + %(prog)s --runtime zagros pezkuwichain --pezpallet pallet_balances pallet_multisig --quiet --clean ''' -parser_bench = subparsers.add_parser('bench', aliases=['bench-omni'], help='Runs benchmarks (frame omni bencher)', epilog=bench_example, formatter_class=argparse.RawDescriptionHelpFormatter) +parser_bench = subparsers.add_parser('bench', aliases=['bench-omni'], help='Runs benchmarks (pezframe omni bencher)', epilog=bench_example, formatter_class=argparse.RawDescriptionHelpFormatter) for arg, config in common_args.items(): parser_bench.add_argument(arg, **config) parser_bench.add_argument('--runtime', help='Runtime(s) space separated', choices=runtimeNames, nargs='*', default=runtimeNames) -parser_bench.add_argument('--pallet', help='Pallet(s) space separated', nargs='*', default=[]) +parser_bench.add_argument('--pezpallet', help='Pezpallet(s) space separated', nargs='*', default=[]) parser_bench.add_argument('--fail-fast', help='Fail fast on first failed benchmark', action='store_true') @@ -382,26 +382,26 @@ def main(): print(f'\n') - # filter out only the specified pallets from collected runtimes/pallets - if args.pallet: - print(f'Pallets: {args.pallet}') + # filter out only the specified pezpallets from collected runtimes/pezpallets + if args.pezpallet: + print(f'Pezpallets: {args.pezpallet}') new_pallets_map = {} - # keep only specified pallets if they exist in the runtime + # keep only specified pezpallets if they exist in the runtime for runtime in runtime_pallets_map: - if set(args.pallet).issubset(set(runtime_pallets_map[runtime])): - new_pallets_map[runtime] = args.pallet + if set(args.pezpallet).issubset(set(runtime_pallets_map[runtime])): + new_pallets_map[runtime] = args.pezpallet runtime_pallets_map = new_pallets_map - print(f'Filtered out runtimes & pallets: {runtime_pallets_map}\n') + print(f'Filtered out runtimes & pezpallets: {runtime_pallets_map}\n') if not runtime_pallets_map: - if args.pallet and not args.runtime: - print(f"No pallets {args.pallet} found in any runtime") - elif args.runtime and not args.pallet: - print(f"{args.runtime} runtime does not have any pallets") - elif args.runtime and args.pallet: - print(f"No pallets {args.pallet} found in {args.runtime}") + if args.pezpallet and not args.runtime: + print(f"No pezpallets {args.pezpallet} found in any runtime") + elif args.runtime and not args.pezpallet: + print(f"{args.runtime} runtime does not have any pezpallets") + elif args.runtime and args.pezpallet: + print(f"No pezpallets {args.pezpallet} found in {args.runtime}") else: print('No runtimes found') sys.exit(1) @@ -448,10 +448,10 @@ def main(): output_path = xcm_path print(f'-- benchmarking {pallet} in {runtime} into {output_path}') - cmd = f"frame-omni-bencher v1 benchmark pallet " \ + cmd = f"pezframe-omni-bencher v1 benchmark pezpallet " \ f"--extrinsic=* " \ f"--runtime=target/{profile}/wbuild/{config['package']}/{config['package'].replace('-', '_')}.wasm " \ - f"--pallet={pallet} " \ + f"--pezpallet={pallet} " \ f"--header={header_path} " \ f"--output={output_path} " \ f"--wasm-execution=compiled " \ diff --git a/.github/workflows/build-publish-images.yml b/.github/workflows/build-publish-images.yml index 06d245ce..a77a3581 100644 --- a/.github/workflows/build-publish-images.yml +++ b/.github/workflows/build-publish-images.yml @@ -246,7 +246,7 @@ jobs: id: required run: | mkdir -p ./artifacts/bizinikiwi/ - WASM_BUILD_NO_COLOR=1 cargo build --locked --release -p pez-staging-node-cli + WASM_BUILD_NO_COLOR=1 cargo build --locked --release -p pezstaging-node-cli ls -la target/release/ - name: pack artifacts shell: bash diff --git a/.github/workflows/check-frame-omni-bencher.yml b/.github/workflows/check-pezframe-omni-bencher.yml similarity index 94% rename from .github/workflows/check-frame-omni-bencher.yml rename to .github/workflows/check-pezframe-omni-bencher.yml index 7c5cfeec..9816bcfb 100644 --- a/.github/workflows/check-frame-omni-bencher.yml +++ b/.github/workflows/check-pezframe-omni-bencher.yml @@ -44,7 +44,7 @@ jobs: id: required run: | cargo build --locked --quiet --release -p asset-hub-zagros-runtime --features runtime-benchmarks - cargo run --locked --release -p pezframe-omni-bencher --quiet -- v1 benchmark pallet --runtime target/release/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.compact.compressed.wasm --all --steps 2 --repeat 1 --quiet + cargo run --locked --release -p pezframe-omni-bencher --quiet -- v1 benchmark pezpallet --runtime target/release/wbuild/asset-hub-zagros-runtime/asset_hub_zagros_runtime.compact.compressed.wasm --all --steps 2 --repeat 1 --quiet runtime-matrix: runs-on: ubuntu-latest @@ -98,7 +98,7 @@ jobs: ls -lrt $RUNTIME_BLOB_PATH if [[ "$BENCH_CMD" == "pallet" ]]; then - cmd="./target/release/pezframe-omni-bencher v1 benchmark pallet --runtime $RUNTIME_BLOB_PATH --all --steps 2 --repeat 1 $FLAGS" + cmd="./target/release/pezframe-omni-bencher v1 benchmark pezpallet --runtime $RUNTIME_BLOB_PATH --all --steps 2 --repeat 1 $FLAGS" elif [[ "$BENCH_CMD" == "overhead" ]]; then cmd="./target/release/pezframe-omni-bencher v1 benchmark overhead --runtime $RUNTIME_BLOB_PATH" else diff --git a/.github/workflows/checks-quick.yml b/.github/workflows/checks-quick.yml index d3214bab..aa0bfdae 100644 --- a/.github/workflows/checks-quick.yml +++ b/.github/workflows/checks-quick.yml @@ -121,8 +121,8 @@ jobs: CONFIG: .github/.markdownlint.yaml run: | echo "Checking markdown formatting. More info: docs/contributor/markdown_linting.md" - echo "To fix potential erros, you can run 'markdownlint --config .github/.markdownlint.yaml -f --ignore target .' locally." - markdownlint --config "$CONFIG" --ignore target . + echo "To fix potential errors, you can run 'markdownlint --config .github/.markdownlint.yaml -f --ignore target --ignore vendor .' locally." + markdownlint --config "$CONFIG" --ignore target --ignore vendor . check-umbrella: runs-on: ubuntu-latest timeout-minutes: 20 diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 71eb745a..dd8d9a06 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,10 +32,11 @@ jobs: cargo clean 2>/dev/null || true rm -rf ~/.cargo/registry/cache 2>/dev/null || true rm -rf ~/.cargo/git/db 2>/dev/null || true - - run: cargo test --doc --workspace --locked + - run: cargo test --doc --workspace --locked --all-features id: required env: RUSTFLAGS: "-Cdebug-assertions=y -Dwarnings" + SKIP_WASM_BUILD: 1 build-rustdoc: runs-on: ${{ needs.preflight.outputs.RUNNER }} diff --git a/.github/workflows/release-20_build-rc.yml b/.github/workflows/release-20_build-rc.yml index 46d5b7bd..32180bab 100644 --- a/.github/workflows/release-20_build-rc.yml +++ b/.github/workflows/release-20_build-rc.yml @@ -139,7 +139,7 @@ jobs: uses: "./.github/workflows/release-reusable-rc-build.yml" with: binary: '["bizinikiwi-node"]' - package: pez-staging-node-cli + package: pezstaging-node-cli release_tag: ${{ needs.validate-inputs.outputs.release_tag }} target: x86_64-unknown-linux-gnu secrets: inherit @@ -260,7 +260,7 @@ jobs: uses: "./.github/workflows/release-reusable-rc-build.yml" with: binary: '["bizinikiwi-node"]' - package: pez-staging-node-cli + package: pezstaging-node-cli release_tag: ${{ needs.validate-inputs.outputs.release_tag }} target: aarch64-apple-darwin secrets: inherit diff --git a/.github/workflows/release-reusable-rc-build.yml b/.github/workflows/release-reusable-rc-build.yml index b4e62844..ab871837 100644 --- a/.github/workflows/release-reusable-rc-build.yml +++ b/.github/workflows/release-reusable-rc-build.yml @@ -403,7 +403,7 @@ jobs: secrets: inherit upload-bizinikiwi-node-artifacts-to-s3: - if: ${{ inputs.package == 'pez-staging-node-cli' && inputs.target == 'x86_64-unknown-linux-gnu' }} + if: ${{ inputs.package == 'pezstaging-node-cli' && inputs.target == 'x86_64-unknown-linux-gnu' }} needs: [build-rc] uses: ./.github/workflows/release-reusable-s3-upload.yml with: @@ -505,7 +505,7 @@ jobs: secrets: inherit upload-bizinikiwi-node-macos-artifacts-to-s3: - if: ${{ inputs.package == 'pez-staging-node-cli' && inputs.target == 'aarch64-apple-darwin' }} + if: ${{ inputs.package == 'pezstaging-node-cli' && inputs.target == 'aarch64-apple-darwin' }} needs: [build-macos-rc] uses: ./.github/workflows/release-reusable-s3-upload.yml with: diff --git a/.github/workflows/tests-linux-stable.yml b/.github/workflows/tests-linux-stable.yml index 2021a937..3d89558f 100644 --- a/.github/workflows/tests-linux-stable.yml +++ b/.github/workflows/tests-linux-stable.yml @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: script id: required - run: WASM_BUILD_NO_COLOR=1 cargo test -p pez-staging-node-cli --release --locked -- --ignored + run: WASM_BUILD_NO_COLOR=1 cargo test -p pezstaging-node-cli --release --locked -- --ignored # https://github.com/pezkuwichain/ci_cd/issues/864 test-linux-stable-runtime-benchmarks: diff --git a/.github/workflows/tests-misc.yml b/.github/workflows/tests-misc.yml index 137b3c9a..09fa4195 100644 --- a/.github/workflows/tests-misc.yml +++ b/.github/workflows/tests-misc.yml @@ -89,8 +89,8 @@ jobs: - name: script run: | 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=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,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 pezframe-election-provider-solution-type ui cargo test --locked -q --profile testnet -p pezsp-api-test ui diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6354f7a7..109a77da 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -35,7 +35,7 @@ jobs: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: script - run: cargo run --locked --release -p pez-staging-node-cli --bin bizinikiwi-node --features runtime-benchmarks --quiet -- benchmark pallet --chain dev --pallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet + run: cargo run --locked --release -p pezstaging-node-cli --bin bizinikiwi-node --features runtime-benchmarks --quiet -- benchmark pezpallet --chain dev --pezpallet "*" --extrinsic "*" --steps 2 --repeat 1 --quiet # cf https://github.com/pezkuwichain/pezkuwi-sdk/issues/1652 test-syscalls: @@ -76,14 +76,8 @@ jobs: - name: Checkout uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: script - # Exclude packages with feature unification issues with --benches flag - # (pezframe-support/runtime-benchmarks gets enabled but the package's runtime-benchmarks doesn't) - # pezpallet-tiki and all its dependents need to be excluded due to EnsureOrigin trait issues. - # FIXED: pezpallet-pez-rewards, collectives-zagros-runtime, asset-hub-* are now included! + # Use --features runtime-benchmarks to ensure all crates have the feature enabled, + # avoiding feature unification issues where pezframe-support has the feature but + # implementing crates don't. run: | - cargo check --workspace --benches --quiet \ - --exclude pezpallet-tiki \ - --exclude pezpallet-trust \ - --exclude pezpallet-welati \ - --exclude people-pezkuwichain-runtime \ - --exclude pezkuwi-teyrchain-bin + cargo check --workspace --benches --features runtime-benchmarks --quiet diff --git a/Cargo.lock b/Cargo.lock index e041eece..3e9ce8f6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -109,9 +109,9 @@ checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" [[package]] name = "alloy-consensus" -version = "1.1.3" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2e318e25fb719e747a7e8db1654170fc185024f3ed5b10f86c08d448a912f6e2" +checksum = "f3dcd2b4e208ce5477de90ccdcbd4bde2c8fb06af49a443974e92bb8f2c5e93f" dependencies = [ "alloy-eips", "alloy-primitives", @@ -204,9 +204,9 @@ dependencies = [ [[package]] name = "alloy-eips" -version = "1.1.3" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4c4d7c5839d9f3a467900c625416b24328450c65702eb3d8caff8813e4d1d33" +checksum = "6847d641141b92a1557094aa6c236cbe49c06fb24144d4a21fe6acb970c15888" dependencies = [ "alloy-eip2124", "alloy-eip2930", @@ -289,9 +289,9 @@ dependencies = [ [[package]] name = "alloy-serde" -version = "1.1.3" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0df1987ed0ff2d0159d76b52e7ddfc4e4fbddacc54d2fbee765e0d14d7c01b5" +checksum = "067b718d2e6ac1bb889341fcc7a250cfa49bcd3ba4f23923f1c1eb1f2b10cb7c" dependencies = [ "alloy-primitives", "serde", @@ -386,9 +386,9 @@ dependencies = [ [[package]] name = "alloy-tx-macros" -version = "1.1.3" +version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "333544408503f42d7d3792bfc0f7218b643d968a03d2c0ed383ae558fb4a76d0" +checksum = "04950a13cc4209d8e9b78f306e87782466bad8538c94324702d061ff03e211c9" dependencies = [ "darling 0.21.3", "proc-macro2 1.0.103", @@ -1431,6 +1431,7 @@ dependencies = [ "pezpallet-xcm-precompiles", "pezsnowbridge-outbound-queue-primitives", "pezsnowbridge-pezpallet-system-frontend", + "pezsnowbridge-runtime-common", "pezsp-api", "pezsp-arithmetic", "pezsp-block-builder", @@ -1457,7 +1458,6 @@ dependencies = [ "primitive-types 0.13.1", "scale-info", "serde_json", - "snowpezbridge-runtime-common", "testnet-teyrchains-constants", "teyrchains-common", "teyrchains-runtimes-test-utils", @@ -1609,7 +1609,7 @@ dependencies = [ "futures-lite 2.6.1", "parking", "polling 3.11.0", - "rustix 1.1.2", + "rustix 1.1.3", "slab", "windows-sys 0.61.2", ] @@ -1651,7 +1651,7 @@ dependencies = [ "cfg-if", "event-listener 5.4.1", "futures-lite 2.6.1", - "rustix 1.1.2", + "rustix 1.1.3", ] [[package]] @@ -1666,7 +1666,7 @@ dependencies = [ "cfg-if", "futures-core", "futures-io", - "rustix 1.1.2", + "rustix 1.1.3", "signal-hook-registry", "slab", "windows-sys 0.61.2", @@ -8610,7 +8610,7 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad38eb12aea514a0466ea40a80fd8cc83637065948eb4a426e4aa46261175227" dependencies = [ - "rustix 1.1.2", + "rustix 1.1.3", ] [[package]] @@ -13606,7 +13606,7 @@ dependencies = [ [[package]] name = "pezkuwi-sdk" -version = "0.1.0" +version = "0.0.0" dependencies = [ "asset-test-pezutils", "assets-common", @@ -13836,6 +13836,7 @@ dependencies = [ "pezpallet-revive-proc-macro", "pezpallet-revive-uapi", "pezpallet-root-offences", + "pezpallet-root-testing", "pezpallet-safe-mode", "pezpallet-salary", "pezpallet-scheduler", @@ -13870,6 +13871,7 @@ dependencies = [ "pezpallet-vesting", "pezpallet-whitelist", "pezpallet-xcm", + "pezpallet-xcm-benchmarks", "pezpallet-xcm-bridge-hub", "pezpallet-xcm-bridge-hub-router", "pezpallet-xcm-precompiles", @@ -14551,6 +14553,7 @@ dependencies = [ "hashbrown 0.15.5", "parity-scale-codec", "pezkuwi-subxt-codegen", + "pezkuwi-subxt-utils-stripmetadata", "pezsp-crypto-hashing", "scale-info", "scale-info-legacy", @@ -19046,7 +19049,7 @@ dependencies = [ "pezsp-io", "pezsp-runtime-interface", "pezsp-wasm-interface", - "rustix 1.1.2", + "rustix 1.1.3", "tempfile", "wasmtime", "wat", @@ -20278,6 +20281,22 @@ dependencies = [ "tracing", ] +[[package]] +name = "pezsnowbridge-runtime-common" +version = "0.2.0" +dependencies = [ + "parity-scale-codec", + "pezframe-support", + "pezframe-system", + "pezpallet-xcm", + "pezsp-arithmetic", + "pezsp-std", + "pezstaging-xcm", + "pezstaging-xcm-builder", + "pezstaging-xcm-executor", + "tracing", +] + [[package]] name = "pezsnowbridge-runtime-test-common" version = "0.2.0" @@ -21782,7 +21801,7 @@ dependencies = [ "concurrent-queue", "hermit-abi", "pin-project-lite", - "rustix 1.1.2", + "rustix 1.1.3", "windows-sys 0.61.2", ] @@ -23417,9 +23436,9 @@ dependencies = [ [[package]] name = "rustix" -version = "1.1.2" +version = "1.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e" +checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34" dependencies = [ "bitflags 2.10.0", "errno", @@ -24192,16 +24211,16 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.146" +version = "1.0.147" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "217ca874ae0207aac254aa02c957ded05585a90892cc8d87f9e5fa49669dadd8" +checksum = "6af14725505314343e673e9ecb7cd7e8a36aa9791eb936235a3567cc31447ae4" dependencies = [ "indexmap 2.12.1", "itoa", "memchr", - "ryu", "serde", "serde_core", + "zmij", ] [[package]] @@ -24634,22 +24653,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "snowpezbridge-runtime-common" -version = "0.2.0" -dependencies = [ - "parity-scale-codec", - "pezframe-support", - "pezframe-system", - "pezpallet-xcm", - "pezsp-arithmetic", - "pezsp-std", - "pezstaging-xcm", - "pezstaging-xcm-builder", - "pezstaging-xcm-executor", - "tracing", -] - [[package]] name = "socket2" version = "0.5.10" @@ -25331,14 +25334,14 @@ checksum = "591ef38edfb78ca4771ee32cf494cb8771944bee237a9b91fc9c1424ac4b777b" [[package]] name = "tempfile" -version = "3.23.0" +version = "3.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2d31c77bdf42a745371d260a26ca7163f1e0924b64afa0b688e61b5a9fa02f16" +checksum = "655da9c7eb6305c55742045d5a8d2037996d61d8de95806335c7c86ce0f82e9c" dependencies = [ "fastrand 2.3.0", "getrandom 0.3.4", "once_cell", - "rustix 1.1.2", + "rustix 1.1.3", "windows-sys 0.61.2", ] @@ -25357,7 +25360,7 @@ version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0" dependencies = [ - "rustix 1.1.2", + "rustix 1.1.3", "windows-sys 0.60.2", ] @@ -27133,7 +27136,7 @@ dependencies = [ "postcard", "pulley-interpreter", "rayon", - "rustix 1.1.2", + "rustix 1.1.3", "serde", "serde_derive", "serde_json", @@ -27200,7 +27203,7 @@ dependencies = [ "directories-next", "log", "postcard", - "rustix 1.1.2", + "rustix 1.1.3", "serde", "serde_derive", "sha2 0.10.9", @@ -27247,7 +27250,7 @@ dependencies = [ "cc", "cfg-if", "libc", - "rustix 1.1.2", + "rustix 1.1.3", "wasmtime-internal-asm-macros", "wasmtime-internal-versioned-export-macros", "windows-sys 0.60.2", @@ -27261,7 +27264,7 @@ checksum = "9f189b670fe4e668015cace8a1df1faae03ed9f6b2b638a504204336b4b34de2" dependencies = [ "cc", "object 0.37.3", - "rustix 1.1.2", + "rustix 1.1.3", "wasmtime-internal-versioned-export-macros", ] @@ -27989,7 +27992,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32e45ad4206f6d2479085147f02bc2ef834ac85886624a23575ae137c8aa8156" dependencies = [ "libc", - "rustix 1.1.2", + "rustix 1.1.3", ] [[package]] @@ -28536,6 +28539,12 @@ dependencies = [ "syn 2.0.111", ] +[[package]] +name = "zmij" +version = "0.1.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e404bcd8afdaf006e529269d3e85a743f9480c3cef60034d77860d02964f3ba" + [[package]] name = "zombienet-backchannel" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index a2cd5f15..d7cee5fa 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -369,31 +369,31 @@ members = [ "pezbridges/relays/messages", "pezbridges/relays/teyrchains", "pezbridges/relays/utils", - "pezbridges/snowbridge/pezpallets/ethereum-client", - "pezbridges/snowbridge/pezpallets/ethereum-client/fixtures", - "pezbridges/snowbridge/pezpallets/inbound-queue", - "pezbridges/snowbridge/pezpallets/inbound-queue-v2", - "pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures", - "pezbridges/snowbridge/pezpallets/inbound-queue/fixtures", - "pezbridges/snowbridge/pezpallets/outbound-queue", - "pezbridges/snowbridge/pezpallets/outbound-queue-v2", - "pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api", - "pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api", - "pezbridges/snowbridge/pezpallets/system", - "pezbridges/snowbridge/pezpallets/system-frontend", - "pezbridges/snowbridge/pezpallets/system-v2", - "pezbridges/snowbridge/pezpallets/system-v2/runtime-api", - "pezbridges/snowbridge/pezpallets/system/runtime-api", - "pezbridges/snowbridge/primitives/beacon", - "pezbridges/snowbridge/primitives/core", - "pezbridges/snowbridge/primitives/ethereum", - "pezbridges/snowbridge/primitives/inbound-queue", - "pezbridges/snowbridge/primitives/merkle-tree", - "pezbridges/snowbridge/primitives/outbound-queue", - "pezbridges/snowbridge/primitives/verification", - "pezbridges/snowbridge/runtime/runtime-common", - "pezbridges/snowbridge/runtime/test-common", - "pezbridges/snowbridge/test-utils", + "pezbridges/pezsnowbridge/pezpallets/ethereum-client", + "pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures", + "pezbridges/pezsnowbridge/pezpallets/inbound-queue", + "pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2", + "pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures", + "pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures", + "pezbridges/pezsnowbridge/pezpallets/outbound-queue", + "pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2", + "pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api", + "pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api", + "pezbridges/pezsnowbridge/pezpallets/system", + "pezbridges/pezsnowbridge/pezpallets/system-frontend", + "pezbridges/pezsnowbridge/pezpallets/system-v2", + "pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api", + "pezbridges/pezsnowbridge/pezpallets/system/runtime-api", + "pezbridges/pezsnowbridge/primitives/beacon", + "pezbridges/pezsnowbridge/primitives/core", + "pezbridges/pezsnowbridge/primitives/ethereum", + "pezbridges/pezsnowbridge/primitives/inbound-queue", + "pezbridges/pezsnowbridge/primitives/merkle-tree", + "pezbridges/pezsnowbridge/primitives/outbound-queue", + "pezbridges/pezsnowbridge/primitives/verification", + "pezbridges/pezsnowbridge/runtime/runtime-common", + "pezbridges/pezsnowbridge/runtime/test-common", + "pezbridges/pezsnowbridge/test-utils", "pezcumulus/bin/pov-validator", "pezcumulus/client/bootnodes", "pezcumulus/client/cli", @@ -1323,30 +1323,30 @@ pezsc-tracing-proc-macro = { path = "bizinikiwi/client/tracing/proc-macro", defa pezsc-transaction-pool = { path = "bizinikiwi/client/transaction-pool", default-features = false } pezsc-transaction-pool-api = { path = "bizinikiwi/client/transaction-pool/api", default-features = false } pezsc-utils = { path = "bizinikiwi/client/utils", default-features = false } -pezsnowbridge-beacon-primitives = { path = "pezbridges/snowbridge/primitives/beacon", default-features = false } -pezsnowbridge-core = { path = "pezbridges/snowbridge/primitives/core", default-features = false } -pezsnowbridge-ethereum = { path = "pezbridges/snowbridge/primitives/ethereum", default-features = false } -pezsnowbridge-inbound-queue-primitives = { path = "pezbridges/snowbridge/primitives/inbound-queue", default-features = false } -pezsnowbridge-merkle-tree = { path = "pezbridges/snowbridge/primitives/merkle-tree", default-features = false } -pezsnowbridge-outbound-queue-primitives = { path = "pezbridges/snowbridge/primitives/outbound-queue", default-features = false } -pezsnowbridge-outbound-queue-runtime-api = { path = "pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api", default-features = false } -pezsnowbridge-outbound-queue-v2-runtime-api = { path = "pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api", default-features = false } -pezsnowbridge-pezpallet-ethereum-client = { path = "pezbridges/snowbridge/pezpallets/ethereum-client", default-features = false } -pezsnowbridge-pezpallet-ethereum-client-fixtures = { path = "pezbridges/snowbridge/pezpallets/ethereum-client/fixtures", default-features = false } -pezsnowbridge-pezpallet-inbound-queue = { path = "pezbridges/snowbridge/pezpallets/inbound-queue", default-features = false } -pezsnowbridge-pezpallet-inbound-queue-fixtures = { path = "pezbridges/snowbridge/pezpallets/inbound-queue/fixtures", default-features = false } -pezsnowbridge-pezpallet-inbound-queue-v2 = { path = "pezbridges/snowbridge/pezpallets/inbound-queue-v2", default-features = false } -pezsnowbridge-pezpallet-inbound-queue-v2-fixtures = { path = "pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures", default-features = false } -pezsnowbridge-pezpallet-outbound-queue = { path = "pezbridges/snowbridge/pezpallets/outbound-queue", default-features = false } -pezsnowbridge-pezpallet-outbound-queue-v2 = { path = "pezbridges/snowbridge/pezpallets/outbound-queue-v2", default-features = false } -pezsnowbridge-pezpallet-system = { path = "pezbridges/snowbridge/pezpallets/system", default-features = false } -pezsnowbridge-pezpallet-system-frontend = { path = "pezbridges/snowbridge/pezpallets/system-frontend", default-features = false } -pezsnowbridge-pezpallet-system-v2 = { path = "pezbridges/snowbridge/pezpallets/system-v2", default-features = false } -pezsnowbridge-runtime-test-common = { path = "pezbridges/snowbridge/runtime/test-common", default-features = false } -pezsnowbridge-system-runtime-api = { path = "pezbridges/snowbridge/pezpallets/system/runtime-api", default-features = false } -pezsnowbridge-system-v2-runtime-api = { path = "pezbridges/snowbridge/pezpallets/system-v2/runtime-api", default-features = false } -pezsnowbridge-test-utils = { path = "pezbridges/snowbridge/test-utils" } -pezsnowbridge-verification-primitives = { path = "pezbridges/snowbridge/primitives/verification", default-features = false } +pezsnowbridge-beacon-primitives = { path = "pezbridges/pezsnowbridge/primitives/beacon", default-features = false } +pezsnowbridge-core = { path = "pezbridges/pezsnowbridge/primitives/core", default-features = false } +pezsnowbridge-ethereum = { path = "pezbridges/pezsnowbridge/primitives/ethereum", default-features = false } +pezsnowbridge-inbound-queue-primitives = { path = "pezbridges/pezsnowbridge/primitives/inbound-queue", default-features = false } +pezsnowbridge-merkle-tree = { path = "pezbridges/pezsnowbridge/primitives/merkle-tree", default-features = false } +pezsnowbridge-outbound-queue-primitives = { path = "pezbridges/pezsnowbridge/primitives/outbound-queue", default-features = false } +pezsnowbridge-outbound-queue-runtime-api = { path = "pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api", default-features = false } +pezsnowbridge-outbound-queue-v2-runtime-api = { path = "pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api", default-features = false } +pezsnowbridge-pezpallet-ethereum-client = { path = "pezbridges/pezsnowbridge/pezpallets/ethereum-client", default-features = false } +pezsnowbridge-pezpallet-ethereum-client-fixtures = { path = "pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures", default-features = false } +pezsnowbridge-pezpallet-inbound-queue = { path = "pezbridges/pezsnowbridge/pezpallets/inbound-queue", default-features = false } +pezsnowbridge-pezpallet-inbound-queue-fixtures = { path = "pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures", default-features = false } +pezsnowbridge-pezpallet-inbound-queue-v2 = { path = "pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2", default-features = false } +pezsnowbridge-pezpallet-inbound-queue-v2-fixtures = { path = "pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures", default-features = false } +pezsnowbridge-pezpallet-outbound-queue = { path = "pezbridges/pezsnowbridge/pezpallets/outbound-queue", default-features = false } +pezsnowbridge-pezpallet-outbound-queue-v2 = { path = "pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2", default-features = false } +pezsnowbridge-pezpallet-system = { path = "pezbridges/pezsnowbridge/pezpallets/system", default-features = false } +pezsnowbridge-pezpallet-system-frontend = { path = "pezbridges/pezsnowbridge/pezpallets/system-frontend", default-features = false } +pezsnowbridge-pezpallet-system-v2 = { path = "pezbridges/pezsnowbridge/pezpallets/system-v2", default-features = false } +pezsnowbridge-runtime-test-common = { path = "pezbridges/pezsnowbridge/runtime/test-common", default-features = false } +pezsnowbridge-system-runtime-api = { path = "pezbridges/pezsnowbridge/pezpallets/system/runtime-api", default-features = false } +pezsnowbridge-system-v2-runtime-api = { path = "pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api", default-features = false } +pezsnowbridge-test-utils = { path = "pezbridges/pezsnowbridge/test-utils" } +pezsnowbridge-verification-primitives = { path = "pezbridges/pezsnowbridge/primitives/verification", default-features = false } pezsp-api = { path = "bizinikiwi/primitives/api", default-features = false } pezsp-api-proc-macro = { path = "bizinikiwi/primitives/api/proc-macro", default-features = false } pezsp-application-crypto = { path = "bizinikiwi/primitives/application-crypto", default-features = false } @@ -1496,7 +1496,7 @@ slotmap = { version = "1.0" } smallvec = { version = "1.11.0", default-features = false } smoldot = { version = "0.20.0", default-features = false } smoldot-light = { version = "0.18.0", default-features = false } -snowpezbridge-runtime-common = { path = "pezbridges/snowbridge/runtime/runtime-common", default-features = false } +pezsnowbridge-runtime-common = { path = "pezbridges/pezsnowbridge/runtime/runtime-common", default-features = false } soketto = { version = "0.8.0" } sp-core = { version = "38.1.0" } spinners = { version = "4.1.1" } @@ -1614,6 +1614,13 @@ zstd = { version = "0.12.4", default-features = false } opt-level = 3 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) [profile.production] inherits = "release" diff --git a/bizinikiwi/pezframe/examples/src/lib.rs b/bizinikiwi/pezframe/examples/src/lib.rs index 0d60ec27..3a4bb293 100644 --- a/bizinikiwi/pezframe/examples/src/lib.rs +++ b/bizinikiwi/pezframe/examples/src/lib.rs @@ -40,9 +40,9 @@ //! - [`pezpallet_example_split`]: A simple example of a FRAME pezpallet demonstrating the ability //! to split sections across multiple files. //! -//! - [`pezpallet_example_frame_crate`]: Example pezpallet showcasing how one can be built using +//! - [`pezpallet_example_pezframe_crate`]: Example pezpallet showcasing how one can be built using //! only the -//! `frame` umbrella crate. +//! `pezframe` umbrella crate. //! //! - [`pezpallet_example_single_block_migrations`]: An example pezpallet demonstrating //! best-practices for writing storage migrations. diff --git a/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml b/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml index 54e73b6e..de247d81 100644 --- a/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml +++ b/bizinikiwi/pezframe/pezframe-metadata/Cargo.toml @@ -43,3 +43,6 @@ serde_full = ["codec/serde", "scale-info/serde", "serde", "serde/alloc"] decode = ["scale-info/decode"] std = ["codec/std", "decode", "scale-info/std", "serde/std", "serde_full"] + +[lints] +workspace = true diff --git a/bizinikiwi/pezframe/revive/README.md b/bizinikiwi/pezframe/revive/README.md index 83a0e8bb..87657bbe 100644 --- a/bizinikiwi/pezframe/revive/README.md +++ b/bizinikiwi/pezframe/revive/README.md @@ -1,12 +1,12 @@ # Revive Pezpallet This is an **experimental** module that provides functionality for the runtime to deploy and execute PolkaVM -smart-contracts. It is a heavily modified `pallet_contracts` fork. +smart-contracts. It is a heavily modified `pezpallet_contracts` fork. ## Overview -This module extends accounts based on the [`frame_support::traits::fungible`] traits to have smart-contract -functionality. It can be used with other modules that implement accounts based on [`frame_support::traits::fungible`]. +This module extends accounts based on the [`pezframe_support::traits::fungible`] traits to have smart-contract +functionality. It can be used with other modules that implement accounts based on [`pezframe_support::traits::fungible`]. These "smart-contract accounts" have the ability to instantiate smart-contracts and make calls to other contract and non-contract accounts. @@ -20,7 +20,7 @@ Finally, when an account is reaped, its associated code and storage of the smart ### Weight -Senders must specify a [`Weight`](https://docs.pezkuwichain.io/bizinikiwi/master/sp_weights/struct.Weight.html) limit +Senders must specify a [`Weight`](https://docs.pezkuwichain.io/bizinikiwi/master/pezsp_weights/struct.Weight.html) limit with every call, as all instructions invoked by the smart-contract require weight. Unused weight is refunded after the call, regardless of the execution outcome. @@ -79,7 +79,7 @@ to handle that failure, either proceeding or reverting A's changes. ### Dispatchable functions Those are documented in the [reference -documentation](https://docs.pezkuwichain.io/sdk/master/pallet_revive/pezpallet/dispatchables/index.html). +documentation](https://docs.pezkuwichain.io/sdk/master/pezpallet_revive/pezpallet/dispatchables/index.html). ## Usage @@ -108,7 +108,7 @@ concept of an unstable interface. Akin to the rust nightly compiler it allows us unstable so that contract languages can experiment with them and give feedback before we stabilize those. In order to access interfaces which don't have a stable `#[stable]` in [`runtime.rs`](src/vm/runtime.rs) -one need to set `pallet_revive::Config::UnsafeUnstableInterface` to `ConstU32`. +one need to set `pezpallet_revive::Config::UnsafeUnstableInterface` to `ConstU32`. **It should be obvious that any production runtime should never be compiled with this feature: In addition to be subject to change or removal those interfaces might not have proper weights associated with them and are therefore considered unsafe**. diff --git a/bizinikiwi/pezframe/revive/fixtures/build.rs b/bizinikiwi/pezframe/revive/fixtures/build.rs index 14d56065..a5390c64 100644 --- a/bizinikiwi/pezframe/revive/fixtures/build.rs +++ b/bizinikiwi/pezframe/revive/fixtures/build.rs @@ -176,11 +176,12 @@ fn create_cargo_toml<'a>( } fn invoke_build(current_dir: &Path) -> Result<()> { - // Note: panic_immediate_abort is now a real panic strategy in newer Rust nightlies - // Use -Cpanic=immediate-abort instead of -Zbuild-std-features=panic_immediate_abort - // -Zunstable-options must be in RUSTFLAGS as well for the rustc probe - let encoded_rustflags = - ["-Dwarnings", "-Zunstable-options", "-Cpanic=immediate-abort"].join("\x1f"); + // Use -Zbuild-std-features=panic_immediate_abort for immediate abort panic strategy + // This works with stable rust when RUSTC_BOOTSTRAP=1 is set + let encoded_rustflags = ["-Dwarnings"].join("\x1f"); + + let mut args = polkavm_linker::TargetJsonArgs::default(); + args.is_64_bit = true; let mut build_command = Command::new("cargo"); build_command @@ -191,9 +192,9 @@ fn invoke_build(current_dir: &Path) -> Result<()> { .env("RUSTUP_HOME", env::var("RUSTUP_HOME").unwrap_or_default()) // Support compilation on stable rust .env("RUSTC_BOOTSTRAP", "1") - .args(["build", "--release", "-Zbuild-std=core"]) + .args(["build", "--release", "-Zbuild-std=core", "-Zbuild-std-features=panic_immediate_abort"]) .arg("--target") - .arg(polkavm_linker::target_json_path(polkavm_linker::TargetJsonArgs::default()).unwrap()); + .arg(polkavm_linker::target_json_path(args).unwrap()); if let Ok(toolchain) = env::var(OVERRIDE_RUSTUP_TOOLCHAIN_ENV_VAR) { build_command.env("RUSTUP_TOOLCHAIN", &toolchain); diff --git a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/bench_all.sh b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/bench_all.sh index 7ad1a95c..ce8d0a6c 100755 --- a/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/bench_all.sh +++ b/bizinikiwi/pezframe/staking-async/runtimes/teyrchain/bench_all.sh @@ -29,8 +29,8 @@ run_benchmark() { echo "Outputting to '$output_file'" WASMTIME_BACKTRACE_DETAILS=1 RUST_LOG=${LOG} \ - ../../../../../target/release/pezframe-omni-bencher v1 benchmark pallet \ - --pallet "$pallet_name" \ + ../../../../../target/release/pezframe-omni-bencher v1 benchmark pezpallet \ + --pezpallet "$pallet_name" \ --extrinsic "*" \ --runtime "$WASM_BLOB_PATH" \ --steps "$STEPS" \ diff --git a/bizinikiwi/pezframe/support/src/lib.rs b/bizinikiwi/pezframe/support/src/lib.rs index a3424d1f..7b1ff31f 100644 --- a/bizinikiwi/pezframe/support/src/lib.rs +++ b/bizinikiwi/pezframe/support/src/lib.rs @@ -1041,8 +1041,7 @@ pub mod pezpallet_macros { /// ``` /// /// I.e. a regular trait definition named `Config`, with the supertrait - /// [`pezframe_system::pezpallet::Config`](../../pezframe_system/pezpallet/trait.Config. - /// html), and optionally other supertraits and a where clause. (Specifying other + /// `pezframe_system::pezpallet::Config`, and optionally other supertraits and a where clause. (Specifying other /// supertraits here is known as [tight coupling](https://docs.pezkuwichain.io/reference/how-to-guides/pezpallet-design/use-tight-coupling/)) /// /// ## Optional: `with_default` diff --git a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/dup_attr_pov_mode.stderr b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/dup_attr_pov_mode.stderr index aab91d27..c463b769 100644 --- a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/dup_attr_pov_mode.stderr +++ b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/dup_attr_pov_mode.stderr @@ -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)]` diff --git a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/extrinsic_call_wrong_origin.stderr b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/extrinsic_call_wrong_origin.stderr index 9f4e75a9..47d6bbf9 100644 --- a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/extrinsic_call_wrong_origin.stderr +++ b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/extrinsic_call_wrong_origin.stderr @@ -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 `::RuntimeOrigin: From` is not satisfied +error[E0277]: the trait bound `::RuntimeOrigin: From` is not satisfied --> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:52:5 | 52 | _(origin); - | ^^^^^^ the trait `From` is not implemented for `::RuntimeOrigin` + | ^^^^^^ the trait `From` is not implemented for `::RuntimeOrigin` | - = note: required for `u8` to implement `Into<::RuntimeOrigin>` + = note: required for `u8` to implement `Into<::RuntimeOrigin>` diff --git a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/invalid_origin.stderr b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/invalid_origin.stderr index d3f6289f..f9f6cf32 100644 --- a/bizinikiwi/pezframe/support/test/tests/benchmark_ui/invalid_origin.stderr +++ b/bizinikiwi/pezframe/support/test/tests/benchmark_ui/invalid_origin.stderr @@ -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 `::RuntimeOrigin: From<{integer}>` is not satisfied +error[E0277]: the trait bound `::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 `::RuntimeOrigin` + | ^ the trait `From<{integer}>` is not implemented for `::RuntimeOrigin` | - = note: required for `{integer}` to implement `Into<::RuntimeOrigin>` + = note: required for `{integer}` to implement `Into<::RuntimeOrigin>` diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/both_use_and_excluded_parts.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/both_use_and_excluded_parts.stderr index e5704f8a..48db102f 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/both_use_and_excluded_parts.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/both_use_and_excluded_parts.stderr @@ -1,8 +1,8 @@ error: Unexpected tokens, expected one of `=`, `,` - --> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:43 + --> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:52 | -43 | Pallet: pallet exclude_parts { Pallet } use_parts { Pallet }, - | ^^^^^^^^^ +43 | Pezpallet: pezpallet exclude_parts { Pezpallet } use_parts { Pezpallet }, + | ^^^^^^^^^ error[E0412]: cannot find type `RuntimeCall` in this scope --> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:35:64 @@ -16,13 +16,13 @@ help: you might be missing a type parameter | +++++++++++++ error[E0412]: cannot find type `Runtime` in this scope - --> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:25 + --> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:28 | -37 | impl pallet::Config for Runtime {} - | ^^^^^^^ not found in this scope +37 | impl pezpallet::Config for Runtime {} + | ^^^^^^^ not found in this scope | -help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum +help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum | -37 - impl pallet::Config for Runtime {} -37 + impl pallet::Config for sp_api::__private::TransactionType {} +37 - impl pezpallet::Config for Runtime {} +37 + impl pezpallet::Config for pezsp_api::__private::TransactionType {} | diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index.stderr index ef4fb8be..60b7e1eb 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index.stderr @@ -1,10 +1,10 @@ -error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0 +error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0 --> tests/construct_runtime_ui/conflicting_index.rs:26:3 | 26 | System: system::{}, | ^^^^^^ -error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0 +error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0 --> tests/construct_runtime_ui/conflicting_index.rs:27:3 | 27 | Pallet1: pallet1::{} = 0, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index_2.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index_2.stderr index d771119f..8bdf6c56 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_index_2.stderr @@ -1,10 +1,10 @@ -error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5 +error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5 --> tests/construct_runtime_ui/conflicting_index_2.rs:26:3 | 26 | System: system::{} = 5, | ^^^^^^ -error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5 +error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5 --> tests/construct_runtime_ui/conflicting_index_2.rs:29:3 | 29 | Pallet3: pallet3::{}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_module_name.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_module_name.stderr index 20051949..28d4b7f8 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_module_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/conflicting_module_name.stderr @@ -1,11 +1,11 @@ error: Two pallets with the same name! --> tests/construct_runtime_ui/conflicting_module_name.rs:24:3 | -24 | Balance: balances::{Pallet}, +24 | Balance: balances::{Pezpallet}, | ^^^^^^^ error: Two pallets with the same name! --> tests/construct_runtime_ui/conflicting_module_name.rs:25:3 | -25 | Balance: balances::{Pallet}, +25 | Balance: balances::{Pezpallet}, | ^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr index fd7ec82d..61cf72a2 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/deprecated_where_block.stderr @@ -1,10 +1,10 @@ error: use of deprecated constant `WhereSection::_w`: It is deprecated to use a `where` clause in `construct_runtime`. - Please instead use `frame_system::Config` to set the `Block` type and delete this clause. + Please instead use `pezframe_system::Config` to set the `Block` type and delete this clause. It is planned to be removed in December 2023. For more info see: - + --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -17,7 +17,7 @@ error: use of deprecated constant `WhereSection::_w`: | = note: `-D deprecated` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(deprecated)]` - = note: this error originates in the macro `frame_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -30,7 +30,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -43,12 +43,12 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Event` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Event` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub enum Event { | ^^^^^^ required by this bound in `Event` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -56,7 +56,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 20 | construct_runtime! { | ^ the trait `Config` is not implemented for `Runtime` | - = note: this error originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `RawOrigin<_>: TryFrom` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -70,7 +70,7 @@ error[E0277]: the trait bound `RawOrigin<_>: TryFrom` is not satis | |_^ the trait `TryFrom` is not implemented for `RawOrigin<_>` | = help: the trait `TryFrom` is implemented for `RawOrigin<::AccountId>` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -83,18 +83,18 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `Callable` is implemented for `Pallet` - = note: required for `Pallet` to implement `Callable` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = help: the trait `Callable` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `Callable` + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:26:3 | -26 | System: frame_system::{Pallet, Call, Storage, Config, Event}, +26 | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, | ^^^^^^ the trait `Config` is not implemented for `Runtime` | note: required by a bound in `GenesisConfig` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub struct GenesisConfig { | ^^^^^^ required by this bound in `GenesisConfig` @@ -110,13 +110,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Event` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Event` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub enum Event { | ^^^^^^ required by this bound in `Event` -error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Event` +error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Event` --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -134,7 +134,7 @@ note: an implementation of `Config` might be missing for `Runtime` 21 | | pub struct Runtime where | |______________________^ must implement `Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -151,13 +151,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Event` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Event` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub enum Event { | ^^^^^^ required by this bound in `Event` -error[E0277]: the trait bound `frame_system::Event: Encode` is not satisfied +error[E0277]: the trait bound `pezframe_system::Event: Encode` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -166,10 +166,10 @@ error[E0277]: the trait bound `frame_system::Event: Encode` is not sati 23 | | NodeBlock = Block, ... | 28 | | } - | |_^ the trait `Encode` is not implemented for `frame_system::Event` + | |_^ the trait `Encode` is not implemented for `pezframe_system::Event` | - = help: the trait `Encode` is implemented for `frame_system::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) + = help: the trait `Encode` is implemented for `pezframe_system::Event` + = note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -182,14 +182,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Event` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Event` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub enum Event { | ^^^^^^ 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: Decode` is not satisfied +error[E0277]: the trait bound `pezframe_system::Event: Decode` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -198,18 +198,18 @@ error[E0277]: the trait bound `frame_system::Event: Decode` is not sati 23 | | NodeBlock = Block, ... | 28 | | } - | |_^ the trait `Decode` is not implemented for `frame_system::Event` + | |_^ the trait `Decode` is not implemented for `pezframe_system::Event` | - = help: the trait `Decode` is implemented for `frame_system::Event` + = help: the trait `Decode` is implemented for `pezframe_system::Event` error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:26:11 | -26 | System: frame_system::{Pallet, Call, Storage, Config, Event}, - | ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime` +26 | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, + | ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Event` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Event` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub enum Event { | ^^^^^^ required by this bound in `Event` @@ -225,11 +225,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `std::fmt::Debug` is implemented for `frame_system::Event` - = note: required for `frame_system::Event` to implement `std::fmt::Debug` + = help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Event` + = note: required for `pezframe_system::Event` to implement `std::fmt::Debug` = note: 1 redundant requirement hidden - = note: required for `&frame_system::Event` to implement `std::fmt::Debug` - = note: required for the cast from `&&frame_system::Event` to `&dyn std::fmt::Debug` + = note: required for `&pezframe_system::Event` to implement `std::fmt::Debug` + = note: required for the cast from `&&pezframe_system::Event` to `&dyn std::fmt::Debug` error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -242,11 +242,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `std::fmt::Debug` is implemented for `frame_system::Error` - = note: required for `frame_system::Error` to implement `std::fmt::Debug` + = help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Error` + = note: required for `pezframe_system::Error` to implement `std::fmt::Debug` = note: 1 redundant requirement hidden - = note: required for `&frame_system::Error` to implement `std::fmt::Debug` - = note: required for the cast from `&&frame_system::Error` to `&dyn std::fmt::Debug` + = note: required for `&pezframe_system::Error` to implement `std::fmt::Debug` + = note: required for the cast from `&&pezframe_system::Error` to `&dyn std::fmt::Debug` error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -277,7 +277,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied | |_^ the trait `Config` is not implemented for `Runtime` | = note: required for `RawOrigin<_>` to implement `Into` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -304,8 +304,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:26:11 | -26 | System: frame_system::{Pallet, Call, Storage, Config, Event}, - | ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime` +26 | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, + | ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime` error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -318,9 +318,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `PalletInfoAccess` is implemented for `Pallet` - = note: required for `Pallet` to implement `PalletInfoAccess` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = help: the trait `PalletInfoAccess` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `PalletInfoAccess` + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -333,8 +333,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `Callable` is implemented for `Pallet` - = note: required for `Pallet` to implement `Callable` + = help: the trait `Callable` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `Callable` error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -347,10 +347,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `Callable` is implemented for `Pallet` - = note: required for `Pallet` to implement `Callable` + = help: the trait `Callable` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `Callable` -error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Call` +error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Call` --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -368,13 +368,13 @@ note: an implementation of `Config` might be missing for `Runtime` 21 | | pub struct Runtime where | |______________________^ must implement `Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0277]: the trait bound `frame_system::Call: Encode` is not satisfied +error[E0277]: the trait bound `pezframe_system::Call: Encode` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -383,10 +383,10 @@ error[E0277]: the trait bound `frame_system::Call: Encode` is not satis 23 | | NodeBlock = Block, ... | 28 | | } - | |_^ the trait `Encode` is not implemented for `frame_system::Call` + | |_^ the trait `Encode` is not implemented for `pezframe_system::Call` | - = help: the trait `Encode` is implemented for `frame_system::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) + = help: the trait `Encode` is implemented for `pezframe_system::Call` + = note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -399,14 +399,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | -note: required by a bound in `frame_system::Call` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs +note: required by a bound in `pezframe_system::Call` + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | - | #[pallet::call(weight = ::SystemWeightInfo)] - | ^^^^ required by this bound in `Call` - = note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) + | #[pezpallet::call(weight = ::SystemWeightInfo)] + | ^^^^ required by this bound in `Call` + = note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0277]: the trait bound `frame_system::Call: Decode` is not satisfied +error[E0277]: the trait bound `pezframe_system::Call: Decode` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | / construct_runtime! { @@ -415,10 +415,10 @@ error[E0277]: the trait bound `frame_system::Call: Decode` is not satis 23 | | NodeBlock = Block, ... | 28 | | } - | |_^ the trait `Decode` is not implemented for `frame_system::Call` + | |_^ the trait `Decode` is not implemented for `pezframe_system::Call` | - = help: the trait `Decode` is implemented for `frame_system::Call` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = help: the trait `Decode` is implemented for `pezframe_system::Call` + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -431,9 +431,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied 28 | | } | |_^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `Callable` is implemented for `Pallet` - = note: required for `Pallet` to implement `Callable` - = note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info) + = help: the trait `Callable` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `Callable` + = 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`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -450,20 +450,20 @@ error[E0599]: the method `get_dispatch_info` exists for reference `&Call` due to unsatisfied trait bounds | - ::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + ::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | - | #[pallet::call(weight = ::SystemWeightInfo)] - | ---- doesn't satisfy `frame_system::Call: GetDispatchInfo` + | #[pezpallet::call(weight = ::SystemWeightInfo)] + | ---- doesn't satisfy `pezframe_system::Call: GetDispatchInfo` | = note: the following trait bounds were not satisfied: `Runtime: Config` - which is required by `frame_system::Call: GetDispatchInfo` + which is required by `pezframe_system::Call: GetDispatchInfo` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: the method `is_feeless` exists for reference `&Call`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -480,20 +480,20 @@ error[E0599]: the method `is_feeless` exists for reference `&Call`, but 28 | | } | |__^ method cannot be called on `&Call` due to unsatisfied trait bounds | - ::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + ::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | - | #[pallet::call(weight = ::SystemWeightInfo)] - | ---- doesn't satisfy `frame_system::Call: CheckIfFeeless` + | #[pezpallet::call(weight = ::SystemWeightInfo)] + | ---- doesn't satisfy `pezframe_system::Call: CheckIfFeeless` | = note: the following trait bounds were not satisfied: `Runtime: Config` - which is required by `frame_system::Call: CheckIfFeeless` + which is required by `pezframe_system::Call: CheckIfFeeless` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: the method `get_call_name` exists for reference `&Call`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -510,31 +510,31 @@ error[E0599]: the method `get_call_name` exists for reference `&Call`, 28 | | } | |__^ method cannot be called on `&Call` due to unsatisfied trait bounds | - ::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + ::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | - | #[pallet::call(weight = ::SystemWeightInfo)] - | ---- doesn't satisfy `frame_system::Call: GetCallName` + | #[pezpallet::call(weight = ::SystemWeightInfo)] + | ---- doesn't satisfy `pezframe_system::Call: GetCallName` | = note: the following trait bounds were not satisfied: `Runtime: Config` - which is required by `frame_system::Call: GetCallName` + which is required by `pezframe_system::Call: GetCallName` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:26:3 | -26 | System: frame_system::{Pallet, Call, Storage, Config, Event}, +26 | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, | ^^^^^^ the trait `Config` is not implemented for `Runtime` | - = help: the trait `ViewFunctionIdPrefix` is implemented for `Pallet` - = note: required for `Pallet` to implement `ViewFunctionIdPrefix` + = help: the trait `ViewFunctionIdPrefix` is implemented for `Pezpallet` + = note: required for `Pezpallet` to implement `ViewFunctionIdPrefix` -error[E0599]: the function or associated item `storage_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `storage_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -547,18 +547,18 @@ error[E0599]: the function or associated item `storage_metadata` exists for stru 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `call_functions` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `call_functions` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -571,18 +571,18 @@ error[E0599]: the function or associated item `call_functions` exists for struct 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `pallet_view_functions_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `pezpallet_view_functions_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -595,16 +595,16 @@ error[E0599]: the function or associated item `pallet_view_functions_metadata` e 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0599]: the variant or associated item `event_metadata` exists for enum `Event`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -624,13 +624,13 @@ error[E0599]: the variant or associated item `event_metadata` exists for enum `E = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `pallet_constants_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `pezpallet_constants_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -643,18 +643,18 @@ error[E0599]: the function or associated item `pallet_constants_metadata` exists 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `error_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `error_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -667,18 +667,18 @@ error[E0599]: the function or associated item `error_metadata` exists for struct 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `pallet_documentation_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `pezpallet_documentation_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -691,18 +691,18 @@ error[E0599]: the function or associated item `pallet_documentation_metadata` ex 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: the function or associated item `pallet_associated_types_metadata` exists for struct `Pallet`, but its trait bounds were not satisfied +error[E0599]: the function or associated item `pezpallet_associated_types_metadata` exists for struct `Pezpallet`, but its trait bounds were not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 | 20 | construct_runtime! { @@ -715,16 +715,16 @@ error[E0599]: the function or associated item `pallet_associated_types_metadata` 23 | | NodeBlock = Block, ... | 28 | | } - | |__^ function or associated item cannot be called on `Pallet` due to unsatisfied trait bounds + | |__^ function or associated item cannot be called on `Pezpallet` due to unsatisfied trait bounds | = note: the following trait bounds were not satisfied: `Runtime: Config` note: the trait `Config` must be implemented - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub trait Config: 'static + Eq + Clone { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -739,15 +739,15 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied | = help: the trait `Serialize` is implemented for `GenesisConfig` = note: required for `GenesisConfig` to implement `Serialize` -note: required by a bound in `frame_support::sp_runtime::serde::ser::SerializeStruct::serialize_field` - --> $CARGO/serde_core-1.0.228/src/ser/mod.rs +note: required by a bound in `pezframe_support::pezsp_runtime::serde::ser::SerializeStruct::serialize_field` + --> $CARGO/serde_core-$VERSION/src/ser/mod.rs | | fn serialize_field(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error> | --------------- required by a bound in this associated function | where | T: ?Sized + Serialize; | ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -761,11 +761,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied | |_^ the trait `Config` is not implemented for `Runtime` | note: required by a bound in `GenesisConfig` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub struct GenesisConfig { | ^^^^^^ required by this bound in `GenesisConfig` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -779,11 +779,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied | |_^ the trait `Config` is not implemented for `Runtime` | note: required by a bound in `GenesisConfig` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub struct GenesisConfig { | ^^^^^^ required by this bound in `GenesisConfig` - = note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the trait bound `Runtime: Config` is not satisfied --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -797,7 +797,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied | |_^ the trait `Config` is not implemented for `Runtime` | note: required by a bound in `GenesisConfig` - --> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs + --> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs | | pub struct GenesisConfig { | ^^^^^^ required by this bound in `GenesisConfig` @@ -823,10 +823,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) and $N others - = note: required for `Pallet` to implement `OnGenesis` + = note: required for `Pezpallet` to implement `OnGenesis` = note: 1 redundant requirement hidden - = note: required for `(Pallet,)` to implement `OnGenesis` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: required for `(Pezpallet,)` to implement `OnGenesis` + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0282]: type annotations needed --> tests/construct_runtime_ui/deprecated_where_block.rs:20:1 @@ -839,4 +839,4 @@ error[E0282]: type annotations needed 28 | | } | |_^ cannot infer type | - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/duplicate_exclude.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/duplicate_exclude.stderr index e6d2fd49..591dcbb9 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/duplicate_exclude.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/duplicate_exclude.stderr @@ -1,5 +1,5 @@ error: `Call` was already declared before. Please remove the duplicate declaration - --> tests/construct_runtime_ui/duplicate_exclude.rs:26:46 + --> tests/construct_runtime_ui/duplicate_exclude.rs:26:49 | -26 | System: frame_system exclude_parts { Call, Call }, - | ^^^^ +26 | System: pezframe_system exclude_parts { Call, Call }, + | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/empty_pezpallet_path.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/empty_pezpallet_path.stderr index b76fa8b2..dfa0bc87 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/empty_pezpallet_path.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/empty_pezpallet_path.stderr @@ -1,5 +1,5 @@ error: expected one of: `crate`, `self`, `super`, identifier - --> tests/construct_runtime_ui/empty_pallet_path.rs:23:11 + --> tests/construct_runtime_ui/empty_pezpallet_path.rs:23:11 | 23 | system: , | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_missspell.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_missspell.stderr index 243e6618..eda0590e 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_missspell.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_missspell.stderr @@ -1,5 +1,5 @@ error: Unexpected tokens, expected one of `::$ident` `::{`, `exclude_parts`, `use_parts`, `=`, `,` - --> tests/construct_runtime_ui/exclude_missspell.rs:26:24 + --> tests/construct_runtime_ui/exclude_missspell.rs:26:27 | -26 | System: frame_system exclude_part { Call }, - | ^^^^^^^^^^^^ +26 | System: pezframe_system exclude_part { Call }, + | ^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_undefined_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_undefined_part.stderr index 0508fbb8..72d29cf4 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_undefined_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/exclude_undefined_part.stderr @@ -1,8 +1,8 @@ -error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`. - --> tests/construct_runtime_ui/exclude_undefined_part.rs:48:34 +error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`. + --> tests/construct_runtime_ui/exclude_undefined_part.rs:48:40 | -48 | Pallet: pallet exclude_parts { Call }, - | ^^^^ +48 | Pezpallet: pezpallet exclude_parts { Call }, + | ^^^^ error[E0412]: cannot find type `RuntimeCall` in this scope --> tests/construct_runtime_ui/exclude_undefined_part.rs:40:64 @@ -16,13 +16,13 @@ help: you might be missing a type parameter | +++++++++++++ error[E0412]: cannot find type `Runtime` in this scope - --> tests/construct_runtime_ui/exclude_undefined_part.rs:42:25 + --> tests/construct_runtime_ui/exclude_undefined_part.rs:42:28 | -42 | impl pallet::Config for Runtime {} - | ^^^^^^^ not found in this scope +42 | impl pezpallet::Config for Runtime {} + | ^^^^^^^ not found in this scope | -help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum +help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum | -42 - impl pallet::Config for Runtime {} -42 + impl pallet::Config for sp_api::__private::TransactionType {} +42 - impl pezpallet::Config for Runtime {} +42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {} | diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.stderr index 9e7578fd..bd8509e2 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/feature_gated_system_pallet.stderr @@ -1,5 +1,5 @@ -error: `System` pallet declaration is feature gated, please remove any `#[cfg]` attributes +error: `System` pezpallet declaration is feature gated, please remove any `#[cfg]` attributes --> tests/construct_runtime_ui/feature_gated_system_pallet.rs:24:3 | -24 | System: frame_system::{Pallet, Call, Storage, Config, Event}, +24 | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_details_keyword.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_details_keyword.stderr index feb61793..6e8a2fea 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_details_keyword.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_details_keyword.stderr @@ -1,4 +1,4 @@ -error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason` +error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason` --> tests/construct_runtime_ui/invalid_module_details_keyword.rs:23:20 | 23 | system: System::{enum}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_entry.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_entry.stderr index 97943dfc..5851ca81 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_entry.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/invalid_module_entry.stderr @@ -1,4 +1,4 @@ -error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason` +error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason` --> tests/construct_runtime_ui/invalid_module_entry.rs:24:23 | 24 | Balance: balances::{Unexpected}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.stderr index facd83a1..9f44c992 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.stderr @@ -1,4 +1,4 @@ -error: Instantiable pallet with no generic `Event` cannot be constructed: pallet `Balance` must have generic `Event` +error: Instantiable pezpallet with no generic `Event` cannot be constructed: pezpallet `Balance` must have generic `Event` --> tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.rs:24:3 | 24 | Balance: balances:: expanded::{}::{Event}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.stderr index e688d80e..e752b43d 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.stderr @@ -1,4 +1,4 @@ -error: Instantiable pallet with no generic `Origin` cannot be constructed: pallet `Balance` must have generic `Origin` +error: Instantiable pezpallet with no generic `Origin` cannot be constructed: pezpallet `Balance` must have generic `Origin` --> tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.rs:24:3 | 24 | Balance: balances:: expanded::{}::{Origin}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_system_module.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_system_module.stderr index 0f74553f..072a163d 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_system_module.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/missing_system_module.stderr @@ -1,4 +1,4 @@ -error: `System` pallet declaration is missing. Please add this line: `System: frame_system,` +error: `System` pezpallet declaration is missing. Please add this line: `System: pezframe_system,` --> tests/construct_runtime_ui/missing_system_module.rs:22:2 | 22 | / { diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/more_than_256_modules.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/more_than_256_modules.stderr index def06573..6ff419c1 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/more_than_256_modules.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/more_than_256_modules.stderr @@ -1,4 +1,4 @@ -error: Pallet index doesn't fit into u8, index is 256 +error: Pezpallet index doesn't fit into u8, index is 256 --> tests/construct_runtime_ui/more_than_256_modules.rs:27:3 | 27 | Pallet256: pallet256::{}, diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr index b16005d5..46b2ddc3 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.stderr @@ -1,16 +1,16 @@ -error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [frame_support]. +error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [pezframe_support]. --> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:67:2 | 67 | pub struct Runtime | ^^^ -error: recursion limit reached while expanding `frame_support::__private::tt_return!` +error: recursion limit reached while expanding `pezframe_support::__private::tt_return!` --> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 181 | | } | |_^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/pezpallet_error_too_large.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/pezpallet_error_too_large.stderr index cbc7dcb4..84e3bab0 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/pezpallet_error_too_large.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/pezpallet_error_too_large.stderr @@ -1,12 +1,12 @@ error[E0080]: evaluation of constant value failed - --> tests/construct_runtime_ui/pallet_error_too_large.rs:115:1 + --> tests/construct_runtime_ui/pezpallet_error_too_large.rs:115:1 | 115 | / construct_runtime! { 116 | | pub struct Runtime 117 | | { -118 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +118 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 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) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_call_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_call_part.stderr index 6d11c0d0..e5f77022 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_call_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_call_part.stderr @@ -1,15 +1,15 @@ -error: `Pallet` does not have #[pallet::call] defined, perhaps you should remove `Call` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::call] defined, perhaps you should remove `Call` from construct_runtime? --> tests/construct_runtime_ui/undefined_call_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_call_check::is_call_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_call_check::is_call_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_event_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_event_part.stderr index 6f4860df..9c3bdfd6 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_event_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_event_part.stderr @@ -1,53 +1,53 @@ -error: `Pallet` does not have #[pallet::event] defined, perhaps you should remove `Event` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::event] defined, perhaps you should remove `Event` from construct_runtime? --> tests/construct_runtime_ui/undefined_event_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0412]: cannot find type `Event` in module `pallet` +error[E0412]: cannot find type `Event` in module `pezpallet` --> tests/construct_runtime_ui/undefined_event_part.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ not found in `pallet` + | |_^ not found in `pezpallet` | = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider importing one of these enums | -18 + use frame_support_test::Event; +18 + use pezframe_support_test::Event; | -18 + use frame_system::Event; +18 + use pezframe_system::Event; | -error[E0433]: failed to resolve: could not find `Event` in `pallet` +error[E0433]: failed to resolve: could not find `Event` in `pezpallet` --> tests/construct_runtime_ui/undefined_event_part.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ could not find `Event` in `pallet` + | |_^ could not find `Event` in `pezpallet` | = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider importing one of these enums | -18 + use frame_support_test::Event; +18 + use pezframe_support_test::Event; | -18 + use frame_system::Event; +18 + use pezframe_system::Event; | diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_genesis_config_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_genesis_config_part.stderr index db3140bb..b32b2484 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_genesis_config_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_genesis_config_part.stderr @@ -1,34 +1,34 @@ -error: `Pallet` does not have #[pallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime? --> tests/construct_runtime_ui/undefined_genesis_config_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0412]: cannot find type `GenesisConfig` in module `pallet` +error[E0412]: cannot find type `GenesisConfig` in module `pezpallet` --> tests/construct_runtime_ui/undefined_genesis_config_part.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ not found in `pallet` + | |_^ not found in `pezpallet` | = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider importing one of these structs | -18 + use frame_system::GenesisConfig; +18 + use pezframe_system::GenesisConfig; | -18 + use test_pallet::GenesisConfig; +18 + use test_pezpallet::GenesisConfig; | diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_inherent_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_inherent_part.stderr index 9485f7ef..5d0acb9d 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_inherent_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_inherent_part.stderr @@ -1,33 +1,33 @@ -error: `Pallet` does not have #[pallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime? --> tests/construct_runtime_ui/undefined_inherent_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no function or associated item named `create_inherent` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `create_inherent` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `create_inherent` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `create_inherent` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `create_inherent`, perhaps you need to implement one of them: @@ -35,20 +35,20 @@ error[E0599]: no function or associated item named `create_inherent` found for s candidate #2: `ProvideInherent` = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no function or associated item named `is_inherent` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `is_inherent` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `is_inherent` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `is_inherent` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `is_inherent`, perhaps you need to implement one of them: @@ -56,81 +56,81 @@ error[E0599]: no function or associated item named `is_inherent` found for struc candidate #2: `ProvideInherent` = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no function or associated item named `check_inherent` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `check_inherent` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `check_inherent` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `check_inherent` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `check_inherent`, perhaps you need to implement it: candidate #1: `ProvideInherent` = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pallet::Pallet` in the current scope +error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- associated item `INHERENT_IDENTIFIER` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ associated item not found in `Pallet` + | |_^ associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `INHERENT_IDENTIFIER`, perhaps you need to implement it: candidate #1: `ProvideInherent` = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no function or associated item named `is_inherent_required` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `is_inherent_required` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `is_inherent_required` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `is_inherent_required` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following trait defines an item `is_inherent_required`, perhaps you need to implement it: candidate #1: `ProvideInherent` = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0277]: the trait bound `pallet::Pallet: ProvideInherent` is not satisfied +error[E0277]: the trait bound `pezpallet::Pezpallet: ProvideInherent` is not satisfied --> tests/construct_runtime_ui/undefined_inherent_part.rs:70:3 | -70 | Pallet: pallet expanded::{}::{Pallet, Inherent}, - | ^^^^^^ the trait `ProvideInherent` is not implemented for `pallet::Pallet` +70 | Pezpallet: pezpallet expanded::{}::{Pezpallet, Inherent}, + | ^^^^^^^^^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet` -error[E0277]: the trait bound `pallet::Pallet: ProvideInherent` is not satisfied +error[E0277]: the trait bound `pezpallet::Pezpallet: ProvideInherent` is not satisfied --> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ the trait `ProvideInherent` is not implemented for `pallet::Pallet` + | |_^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet` | = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_origin_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_origin_part.stderr index 8d7d5c8d..af7f7b40 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_origin_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_origin_part.stderr @@ -1,34 +1,34 @@ -error: `Pallet` does not have #[pallet::origin] defined, perhaps you should remove `Origin` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::origin] defined, perhaps you should remove `Origin` from construct_runtime? --> tests/construct_runtime_ui/undefined_origin_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0412]: cannot find type `Origin` in module `pallet` +error[E0412]: cannot find type `Origin` in module `pezpallet` --> tests/construct_runtime_ui/undefined_origin_part.rs:66:1 | 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ not found in `pallet` + | |_^ not found in `pezpallet` | = note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) help: consider importing one of these type aliases | -18 + use frame_support_test::Origin; +18 + use pezframe_support_test::Origin; | -18 + use frame_system::Origin; +18 + use pezframe_system::Origin; | diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_validate_unsigned_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_validate_unsigned_part.stderr index ea95df4f..8df108a0 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_validate_unsigned_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/undefined_validate_unsigned_part.stderr @@ -1,72 +1,72 @@ -error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime? +error: `Pezpallet` does not have #[pezpallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime? --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:22:1 | -22 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +22 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... 66 | / construct_runtime! { 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } | |_- in this macro invocation | - = note: this error originates in the macro `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezpallet::__bizinikiwi_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no variant or associated item named `Pallet` found for enum `RuntimeCall` in the current scope +error[E0599]: no variant or associated item named `Pezpallet` found for enum `RuntimeCall` in the current scope --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:70:3 | 66 | // construct_runtime! { 67 | || pub struct Runtime 68 | || { -69 | || System: frame_system::{Pallet, Call, Storage, Config, Event}, -70 | || Pallet: pallet::{Pallet, ValidateUnsigned}, - | || ----^^^^^^ variant or associated item not found in `RuntimeCall` +69 | || System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, +70 | || Pezpallet: pezpallet::{Pezpallet, ValidateUnsigned}, + | || ----^^^^^^^^^ variant or associated item not found in `RuntimeCall` | ||_____| | | 71 | | } 72 | | } - | |__- variant or associated item `Pallet` not found for this enum + | |__- variant or associated item `Pezpallet` not found for this enum -error[E0599]: no function or associated item named `pre_dispatch` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `pre_dispatch` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `pre_dispatch` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `pre_dispatch` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `pre_dispatch`, perhaps you need to implement one of them: candidate #1: `SignedExtension` candidate #2: `ValidateUnsigned` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) -error[E0599]: no function or associated item named `validate_unsigned` found for struct `pallet::Pallet` in the current scope +error[E0599]: no function or associated item named `validate_unsigned` found for struct `pezpallet::Pezpallet` in the current scope --> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1 | -28 | pub struct Pallet(_); - | -------------------- function or associated item `validate_unsigned` not found for this struct +28 | pub struct Pezpallet(_); + | ----------------------- function or associated item `validate_unsigned` not found for this struct ... 66 | construct_runtime! { | _^ 67 | | pub struct Runtime 68 | | { -69 | | System: frame_system::{Pallet, Call, Storage, Config, Event}, +69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config, Event}, ... | 72 | | } - | |_^ function or associated item not found in `Pallet` + | |_^ function or associated item not found in `Pezpallet` | = help: items from traits can only be used if the trait is implemented and in scope = note: the following traits define an item `validate_unsigned`, perhaps you need to implement one of them: candidate #1: `SignedExtension` candidate #2: `ValidateUnsigned` - = note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.stderr index 52fbe6d4..f9e3a3f7 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pallet_attr.stderr @@ -1,4 +1,4 @@ -error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime` +error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime` --> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3 | 24 | #[attr] diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pezpallet_attr.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pezpallet_attr.stderr index 52fbe6d4..5fdb74c1 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pezpallet_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/unsupported_pezpallet_attr.stderr @@ -1,5 +1,5 @@ -error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime` - --> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3 +error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime` + --> tests/construct_runtime_ui/unsupported_pezpallet_attr.rs:24:3 | 24 | #[attr] | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/use_undefined_part.stderr b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/use_undefined_part.stderr index 33408092..addc40a3 100644 --- a/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/use_undefined_part.stderr +++ b/bizinikiwi/pezframe/support/test/tests/construct_runtime_ui/use_undefined_part.stderr @@ -1,8 +1,8 @@ -error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`. - --> tests/construct_runtime_ui/use_undefined_part.rs:48:30 +error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`. + --> tests/construct_runtime_ui/use_undefined_part.rs:48:36 | -48 | Pallet: pallet use_parts { Call }, - | ^^^^ +48 | Pezpallet: pezpallet use_parts { Call }, + | ^^^^ error[E0412]: cannot find type `RuntimeCall` in this scope --> tests/construct_runtime_ui/use_undefined_part.rs:40:64 @@ -16,13 +16,13 @@ help: you might be missing a type parameter | +++++++++++++ error[E0412]: cannot find type `Runtime` in this scope - --> tests/construct_runtime_ui/use_undefined_part.rs:42:25 + --> tests/construct_runtime_ui/use_undefined_part.rs:42:28 | -42 | impl pallet::Config for Runtime {} - | ^^^^^^^ not found in this scope +42 | impl pezpallet::Config for Runtime {} + | ^^^^^^^ not found in this scope | -help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum +help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum | -42 - impl pallet::Config for Runtime {} -42 + impl pallet::Config for sp_api::__private::TransactionType {} +42 - impl pezpallet::Config for Runtime {} +42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {} | diff --git a/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.stderr b/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.stderr index 58aae713..f63b61dd 100644 --- a/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.stderr +++ b/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_fails_when_type_not_in_scope.stderr @@ -4,10 +4,10 @@ error[E0412]: cannot find type `RuntimeCall` in this scope 30 | type RuntimeCall = (); | ^^^^^^^^^^^ ... -35 | #[derive_impl(Pallet)] // Injects type RuntimeCall = RuntimeCall; - | ---------------------- in this macro invocation +35 | #[derive_impl(Pezpallet)] // Injects type RuntimeCall = RuntimeCall; + | ------------------------- 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 | 30 | type Self::RuntimeCall = (); diff --git a/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_invalid.stderr b/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_invalid.stderr index aafc6b5a..86549b0c 100644 --- a/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_invalid.stderr +++ b/bizinikiwi/pezframe/support/test/tests/derive_impl_ui/inject_runtime_type_invalid.stderr @@ -10,5 +10,5 @@ error[E0046]: not all trait items implemented, missing: `RuntimeInfo` 22 | type RuntimeInfo; | ---------------- `RuntimeInfo` from trait ... -30 | impl Config for Pallet { - | ^^^^^^^^^^^^^^^^^^^^^^ missing `RuntimeInfo` in implementation +30 | impl Config for Pezpallet { + | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `RuntimeInfo` in implementation diff --git a/bizinikiwi/pezframe/support/test/tests/derive_no_bound_ui/default_too_many_attributes.stderr b/bizinikiwi/pezframe/support/test/tests/derive_no_bound_ui/default_too_many_attributes.stderr index 775964ea..100877fc 100644 --- a/bizinikiwi/pezframe/support/test/tests/derive_no_bound_ui/default_too_many_attributes.stderr +++ b/bizinikiwi/pezframe/support/test/tests/derive_no_bound_ui/default_too_many_attributes.stderr @@ -1,10 +1,10 @@ error: multiple declared defaults --> 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 --> tests/derive_no_bound_ui/default_too_many_attributes.rs:24:2 diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attr_non_empty.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attr_non_empty.stderr index 1a54d76c..c9eb72d2 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attr_non_empty.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attr_non_empty.stderr @@ -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)]. - --> tests/pallet_ui/attr_non_empty.rs:18:26 +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/pezpallet_ui/attr_non_empty.rs:18:32 | -18 | #[frame_support::pallet [foo]] - | ^^^ +18 | #[pezframe_support::pezpallet [foo]] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attribute_macros_deny_parameters.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attribute_macros_deny_parameters.stderr index e15ea0c5..dcb415bd 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attribute_macros_deny_parameters.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/attribute_macros_deny_parameters.stderr @@ -1,5 +1,5 @@ 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)] + | ^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_weight_but_no_closure.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_weight_but_no_closure.stderr index bb61ef04..f85e8f3a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_weight_but_no_closure.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_weight_but_no_closure.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, weight_of_authorize attribute must be used with authorize attribute - --> tests/pallet_ui/authorize_weight_but_no_closure.rs:36:33 +error: Invalid pezpallet::call, weight_of_authorize attribute must be used with authorize attribute + --> 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())] + | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure.stderr index 8abc9015..25273a22 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure.stderr @@ -1,8 +1,8 @@ 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)] - | ^-- - | | - | expected closure that takes 2 arguments - | takes 1 argument +36 | #[pezpallet::authorize(|_| true)] + | ^-- + | | + | expected closure that takes 2 arguments + | takes 1 argument diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_2.stderr index 982206b1..c444f69c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_2.stderr @@ -1,12 +1,12 @@ 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 })] - | ^-------------------------- - | | - | expected due to this - | found signature defined here - | return type was inferred to be `{closure@authorize_wrong_closure_2.rs:36:23}` here +36 | #[pezpallet::authorize(|_, _: u8| -> bool { true })] + | ^-------------------------- + | | + | expected due to this + | found signature defined 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) -> _` found closure signature `fn(TransactionSource, u8) -> _` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_3.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_3.stderr index 895955b2..9badb244 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_3.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_3.stderr @@ -1,5 +1,5 @@ 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()] + | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_4.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_4.stderr index 6b946144..df60a4b0 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_4.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_4.stderr @@ -1,10 +1,10 @@ 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()))] - | ^^-------------------- - | | - | expected an `Fn(TransactionSource, &u32)` closure, found `Result<_, _>` - | return type was inferred to be `Result<_, _>` here +36 | #[pezpallet::authorize(Ok(Default::default()))] + | ^^-------------------- + | | + | expected an `Fn(TransactionSource, &u32)` closure, found `Result<_, _>` + | return type was inferred to be `Result<_, _>` here | = help: the trait `for<'a> Fn(TransactionSource, &'a u32)` is not implemented for `Result<_, _>` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_5.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_5.stderr index 4b72a44d..ac950d6e 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_5.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_closure_5.stderr @@ -1,8 +1,8 @@ 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 { - | ^------------------------------------------ - | | - | expected closure that takes 2 arguments - | takes 1 argument +36 | #[pezpallet::authorize(|_a: &u32| -> TransactionValidityWithRefund { + | ^------------------------------------------ + | | + | expected closure that takes 2 arguments + | takes 1 argument diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight.stderr index bf3389ef..8397c80f 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight.stderr @@ -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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` 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] - | ------------------------ expected `frame_support::weights::Weight` because of return type +18 | #[pezframe_support::pezpallet] + | ------------------------------ expected `pezframe_support::weights::Weight` because of return type ... -37 | #[pallet::weight_of_authorize("foo")] - | ^^^^^ expected `Weight`, found `&str` +37 | #[pezpallet::weight_of_authorize("foo")] + | ^^^^^ expected `Weight`, found `&str` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info.stderr index 6997dfb2..93abc0a9 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info.stderr @@ -1,5 +1,5 @@ -error[E0599]: no function or associated item named `authorize_call1` found for associated type `::WeightInfo` in the current scope - --> tests/pallet_ui/authorize_wrong_weight_info.rs:39:10 +error[E0599]: no function or associated item named `authorize_call1` found for associated type `::WeightInfo` in the current scope + --> tests/pezpallet_ui/authorize_wrong_weight_info.rs:39:10 | 39 | pub fn call1(origin: OriginFor, a: u32) -> DispatchResult { | ^^^^^ function or associated item not found in `::WeightInfo` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info_2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info_2.stderr index 237b1fc0..0042850a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/authorize_wrong_weight_info_2.stderr @@ -1,5 +1,5 @@ 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)] - | ^^^^^^^^ help: there is an associated type with a similar name: `WeightInfo` +34 | #[pezpallet::call(weight = T::WeightIn)] + | ^^^^^^^^ help: there is an associated type with a similar name: `WeightInfo` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound.stderr index 02330ad8..a71d827a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound.stderr @@ -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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` -error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` - --> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 +error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` + --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` + | ^^^^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | - = help: the trait `std::fmt::Debug` is not implemented for `::Bar` - = note: required for `&::Bar` to implement `std::fmt::Debug` - = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` + = help: the trait `std::fmt::Debug` is not implemented for `::Bar` + = note: required for `&::Bar` to implement `std::fmt::Debug` + = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` -error[E0277]: the trait bound `::Bar: Clone` is not satisfied - --> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 +error[E0277]: the trait bound `::Bar: Clone` is not satisfied + --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^ the trait `Clone` is not implemented for `::Bar` + | ^^^^ the trait `Clone` is not implemented for `::Bar` -error[E0369]: binary operation `==` cannot be applied to type `&::Bar` - --> tests/pallet_ui/call_argument_invalid_bound.rs:38:36 +error[E0369]: binary operation `==` cannot be applied to type `&::Bar` + --> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { | ^^^^ 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, _bar: T::Bar) -> DispatchResultWithPostInfo { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_2.stderr index 3fb0f465..d1b28654 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_2.stderr @@ -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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` -error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` - --> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 +error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` + --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` + | ^^^^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | - = help: the trait `std::fmt::Debug` is not implemented for `::Bar` - = note: required for `&::Bar` to implement `std::fmt::Debug` - = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` + = help: the trait `std::fmt::Debug` is not implemented for `::Bar` + = note: required for `&::Bar` to implement `std::fmt::Debug` + = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` -error[E0277]: the trait bound `::Bar: Clone` is not satisfied - --> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 +error[E0277]: the trait bound `::Bar: Clone` is not satisfied + --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^ the trait `Clone` is not implemented for `::Bar` + | ^^^^ the trait `Clone` is not implemented for `::Bar` -error[E0369]: binary operation `==` cannot be applied to type `&::Bar` - --> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 +error[E0369]: binary operation `==` cannot be applied to type `&::Bar` + --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { | ^^^^ -error[E0277]: the trait bound `::Bar: Encode` is not satisfied - --> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36 +error[E0277]: the trait bound `::Bar: Encode` is not satisfied + --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36 | -18 | #[frame_support::pallet] - | ------------------------ required by a bound introduced by this call +18 | #[pezframe_support::pezpallet] + | ------------------------------ required by a bound introduced by this call ... 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^ the trait `WrapperTypeEncode` is not implemented for `::Bar` + | ^^^^ the trait `WrapperTypeEncode` is not implemented for `::Bar` | - = note: required for `::Bar` to implement `Encode` + = note: required for `::Bar` to implement `Encode` -error[E0277]: the trait bound `::Bar: Decode` is not satisfied - --> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:42 +error[E0277]: the trait bound `::Bar: Decode` is not satisfied + --> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:42 | 38 | pub fn foo(origin: OriginFor, _bar: T::Bar) -> DispatchResultWithPostInfo { - | ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `::Bar` + | ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `::Bar` | - = note: required for `::Bar` to implement `Decode` + = note: required for `::Bar` to implement `Decode` 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, _bar: T::Bar) -> DispatchResultWithPostInfo { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_3.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_3.stderr index a83fd4f2..31aabe81 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_3.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_argument_invalid_bound_3.stderr @@ -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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` 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, _bar: Bar) -> DispatchResultWithPostInfo { | ^^^^ `Bar` cannot be formatted using `{:?}` @@ -29,7 +29,7 @@ help: consider annotating `Bar` with `#[derive(Debug)]` | 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, _bar: Bar) -> DispatchResultWithPostInfo { | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_conflicting_indices.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_conflicting_indices.stderr index 99970f30..45fd9532 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_conflicting_indices.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_conflicting_indices.stderr @@ -1,11 +1,11 @@ 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) -> DispatchResultWithPostInfo {} | ^^^ 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) -> DispatchResultWithPostInfo {} | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg1.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg1.stderr index 9c13d59d..3103c732 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg1.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg1.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::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 +error: Invalid pezpallet::call, feeless_if closure must have same number of arguments as the dispatchable function + --> tests/pezpallet_ui/call_feeless_invalid_closure_arg1.rs:31:27 | -31 | #[pallet::feeless_if(|| -> bool { true })] - | ^ +31 | #[pezpallet::feeless_if(|| -> bool { true })] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg2.stderr index 1c38ec23..d2d6ceb2 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg2.stderr @@ -1,5 +1,5 @@ error: Invalid type: expected `&OriginFor` - --> 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 })] + | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg3.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg3.stderr index 1ad9588c..609759f9 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg3.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_arg3.stderr @@ -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 - --> tests/pallet_ui/call_feeless_invalid_closure_arg3.rs:31:43 +error: Invalid pezpallet::call, feeless_if closure argument must have a reference to the same type as the dispatchable function argument + --> tests/pezpallet_ui/call_feeless_invalid_closure_arg3.rs:31:46 | -31 | #[pallet::feeless_if(|_: &OriginFor, _s: &u32| -> bool { true })] - | ^^ +31 | #[pezpallet::feeless_if(|_: &OriginFor, _s: &u32| -> bool { true })] + | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_return.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_return.stderr index a8c05242..1c9cad9c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_return.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_closure_return.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, feeless_if closure must return `bool` - --> tests/pallet_ui/call_feeless_invalid_closure_return.rs:31:43 +error: Invalid pezpallet::call, feeless_if closure must return `bool` + --> tests/pezpallet_ui/call_feeless_invalid_closure_return.rs:31:46 | -31 | #[pallet::feeless_if(|_: &OriginFor| -> u32 { 0 })] - | ^ +31 | #[pezpallet::feeless_if(|_: &OriginFor| -> u32 { 0 })] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_type.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_type.stderr index add3decb..5814b35d 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_type.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_feeless_invalid_type.stderr @@ -1,11 +1,11 @@ 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 `|` - --> 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)] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_index_has_suffix.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_index_has_suffix.stderr index 9ee626f2..2bbc079b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_index_has_suffix.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_index_has_suffix.stderr @@ -1,5 +1,5 @@ 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)] + | ^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_attr.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_attr.stderr index b4269729..51ccf604 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_attr.stderr @@ -1,5 +1,5 @@ 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] + | ^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_const.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_const.stderr index 152a1bdc..40882ed1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_const.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_const.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, only method accepted - --> tests/pallet_ui/call_invalid_const.rs:34:3 +error: Invalid pezpallet::call, only method accepted + --> tests/pezpallet_ui/call_invalid_const.rs:34:3 | 34 | const Foo: u8 = 3u8; | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_index.stderr index 78656db0..22642056 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_index.stderr @@ -1,5 +1,5 @@ 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)] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_origin_type.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_origin_type.stderr index 1f814eaa..a97241de 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_origin_type.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_origin_type.stderr @@ -1,5 +1,5 @@ error: Invalid type: expected `OriginFor` 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) {} | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_return.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_return.stderr index 4752a1be..d77644ad 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_return.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_return.stderr @@ -1,5 +1,5 @@ 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) -> ::DispatchResult { todo!() } | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis.stderr index eaac9a44..9fd2dbb1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, dispatchable function must be public: `pub fn` - --> tests/pallet_ui/call_invalid_vis.rs:37:3 +error: Invalid pezpallet::call, dispatchable function must be public: `pub fn` + --> tests/pezpallet_ui/call_invalid_vis.rs:37:3 | 37 | fn foo(origin: OriginFor) -> DispatchResultWithPostInfo { | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis_2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis_2.stderr index 24bb848a..13fb1285 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_invalid_vis_2.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, dispatchable function must be public: `pub fn` - --> tests/pallet_ui/call_invalid_vis_2.rs:37:3 +error: Invalid pezpallet::call, dispatchable function must be public: `pub fn` + --> tests/pezpallet_ui/call_invalid_vis_2.rs:37:3 | 37 | pub(crate) fn foo(origin: OriginFor) -> DispatchResultWithPostInfo { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_index.stderr index 0deee8dd..4e3cb910 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_index.stderr @@ -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. - 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: - - - --> tests/pallet_ui/call_missing_index.rs:32:10 + + + --> tests/pezpallet_ui/call_missing_index.rs:32:10 | 32 | pub fn foo(_: OriginFor) -> DispatchResult { | ^^^ @@ -13,54 +13,54 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: = note: `-D deprecated` implied by `-D warnings` = 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. - 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: - - - --> tests/pallet_ui/call_missing_index.rs:37:10 + + + --> tests/pezpallet_ui/call_missing_index.rs:37:10 | 37 | pub fn bar(_: OriginFor) -> 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. - 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: - - --> 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. - 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: - - --> 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 - --> tests/pallet_ui/call_missing_index.rs:26:12 + --> tests/pezpallet_ui/call_missing_index.rs:26:15 | -26 | #[pallet::pallet] - | ^^^^^^ associated function in this implementation +26 | #[pezpallet::pezpallet] + | ^^^^^^^^^ associated function in this implementation | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` 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] - | ---- associated functions in this implementation +29 | #[pezpallet::call] + | ---- associated functions in this implementation ... 32 | pub fn foo(_: OriginFor) -> DispatchResult { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_weight.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_weight.stderr index 39b599eb..2ec41e92 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_weight.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_missing_weight.stderr @@ -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. - --> tests/pallet_ui/call_missing_weight.rs:34:7 +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/pezpallet_ui/call_missing_weight.rs:34:7 | 34 | pub fn foo(origin: OriginFor) -> DispatchResultWithPostInfo {} | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_multiple_call_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_multiple_call_index.stderr index 14af3c79..7cd0cb6b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_multiple_call_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_multiple_call_index.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, too many call_index attributes given - --> tests/pallet_ui/call_multiple_call_index.rs:34:7 +error: Invalid pezpallet::call, too many call_index attributes given + --> tests/pezpallet_ui/call_multiple_call_index.rs:34:7 | 34 | pub fn foo(origin: OriginFor) -> DispatchResultWithPostInfo {} | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_origin.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_origin.stderr index d7aa4ea7..31704fea 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_origin.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_origin.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, must have at least origin arg - --> tests/pallet_ui/call_no_origin.rs:34:7 +error: Invalid pezpallet::call, must have at least origin arg + --> tests/pezpallet_ui/call_no_origin.rs:34:7 | 34 | pub fn foo() {} | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_return.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_return.stderr index e73b4c28..7175cd9f 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_return.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_no_return.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::call, require return type DispatchResultWithPostInfo - --> tests/pallet_ui/call_no_return.rs:34:7 +error: Invalid pezpallet::call, require return type DispatchResultWithPostInfo + --> tests/pezpallet_ui/call_no_return.rs:34:7 | 34 | pub fn foo(origin: OriginFor) {} | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_span_for_error.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_span_for_error.stderr index 48e623e9..f6843606 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_span_for_error.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_span_for_error.stderr @@ -1,5 +1,5 @@ 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); | --- ^^^^^^^^^^^^^^^^^^^^^^^^ expected `DispatchErrorWithPostInfo<...>`, found `DispatchError` @@ -7,9 +7,9 @@ error[E0308]: mismatched types | arguments to this enum variant are incorrect | = note: expected struct `DispatchErrorWithPostInfo` - found enum `frame_support::pallet_prelude::DispatchError` -help: the type constructed contains `frame_support::pallet_prelude::DispatchError` due to the type of the argument passed - --> tests/pallet_ui/call_span_for_error.rs:32:11 + found enum `pezframe_support::pezpallet_prelude::DispatchError` +help: the type constructed contains `pezframe_support::pezpallet_prelude::DispatchError` due to the type of the argument passed + --> tests/pezpallet_ui/call_span_for_error.rs:32:11 | 32 | return Err(DispatchError::BadOrigin); | ^^^^------------------------^ @@ -20,7 +20,7 @@ note: tuple variant defined here | | 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` +help: call `Into::into` on this expression to convert `pezframe_support::pezpallet_prelude::DispatchError` into `DispatchErrorWithPostInfo` | 32 | return Err(DispatchError::BadOrigin.into()); | +++++++ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_argument_has_suffix.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_argument_has_suffix.stderr index 9a4b41dc..265b5783 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_argument_has_suffix.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_argument_has_suffix.stderr @@ -1,21 +1,21 @@ 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)] - | ^^^^^^^^^^^^^^^ invalid suffix `something` +32 | #[pezpallet::weight(10_000something)] + | ^^^^^^^^^^^^^^^ invalid suffix `something` | = 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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning.stderr index 36268fb1..a7737f67 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning.stderr @@ -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. - 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: - - --> 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` = help: to override `-D warnings` add `#[allow(deprecated)]` 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] - | ^^^^^^ associated function in this implementation +26 | #[pezpallet::pezpallet] + | ^^^^^^^^^ associated function in this implementation | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` 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] - | ---- associated function in this implementation +29 | #[pezpallet::call] + | ---- associated function in this implementation ... 33 | pub fn foo(_: OriginFor) -> DispatchResult { Ok(()) } | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning_twice.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning_twice.stderr index 6326c5bb..eced73bf 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning_twice.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_const_warning_twice.stderr @@ -1,32 +1,32 @@ 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)] - | ^^^^^^^^^^^^^^^^^ invalid suffix `custom_prefix` +36 | #[pezpallet::weight(123_custom_prefix)] + | ^^^^^^^^^^^^^^^^^ invalid suffix `custom_prefix` | = 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. - 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: - - --> 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` = 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. - 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: - - --> 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)] + | ^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid.stderr index 6b30716a..a2092da8 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid.stderr @@ -1,11 +1,11 @@ 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 - --> 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] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid2.stderr index e84b0b6f..c4ed7003 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid2.stderr @@ -1,11 +1,11 @@ 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))] - | ^^^^^^ not found in this scope +39 | #[pezpallet::call(weight(prefix))] + | ^^^^^^ not found 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)] - | ^^^^^^ not found in this scope +60 | #[pezpallet::call(weight = prefix)] + | ^^^^^^ not found in this scope diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid3.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid3.stderr index 339551d9..28cd06e5 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid3.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid3.stderr @@ -1,20 +1,20 @@ 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 - --> 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::*` - --> tests/pallet_ui/call_weight_inherited_invalid3.rs:21:5 +error: unused import: `pezframe_system::pezpallet_prelude::*` + --> 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` = help: to override `-D warnings` add `#[allow(unused_imports)]` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid4.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid4.stderr index b4c08855..66eeeed7 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid4.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid4.stderr @@ -1,11 +1,11 @@ error[E0599]: no function or associated item named `foo` found for associated type `::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) -> DispatchResult { | ^^^ function or associated item not found in `::WeightInfo` error[E0599]: no function or associated item named `foo` found for associated type `::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) -> DispatchResult { | ^^^ function or associated item not found in `::WeightInfo` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid5.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid5.stderr index 477dc05d..78cf52c3 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid5.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_inherited_invalid5.stderr @@ -1,11 +1,11 @@ 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(::WeightInfo straycat))] - | ^^^^^^^^ +31 | #[pezpallet::call(weight(::WeightInfo straycat))] + | ^^^^^^^^ 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 = ::WeightInfo straycat)] - | ^^^^^^^^ +51 | #[pezpallet::call(weight = ::WeightInfo straycat)] + | ^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_unchecked_warning.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_unchecked_warning.stderr index d6bde76d..64545221 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_unchecked_warning.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/call_weight_unchecked_warning.stderr @@ -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. Please instead ensure that all witness data for weight calculation is checked before usage. For more info see: - - --> 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, _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)]` 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] - | ^^^^^^ associated function in this implementation +26 | #[pezpallet::pezpallet] + | ^^^^^^^^^ associated function in this implementation | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` 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] - | ---- associated function in this implementation +29 | #[pezpallet::call] + | ---- associated function in this implementation ... 33 | pub fn foo(_: OriginFor, _unused: u64) -> DispatchResult { Ok(()) } | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/compare_unset_storage_version.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/compare_unset_storage_version.stderr index acef413c..9019b455 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/compare_unset_storage_version.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/compare_unset_storage_version.stderr @@ -1,5 +1,5 @@ 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() { | ------------------------------- ^^ -------------------------------- StorageVersion @@ -7,7 +7,7 @@ error[E0369]: binary operation `!=` cannot be applied to type `NoStorageVersionS | NoStorageVersionSet | note: the foreign item type `NoStorageVersionSet` doesn't implement `PartialEq` - --> $WORKSPACE/bizinikiwi/frame/support/src/traits/metadata.rs + --> $WORKSPACE/bizinikiwi/pezframe/support/src/traits/metadata.rs | | pub struct NoStorageVersionSet; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/composite_enum_unsupported_identifier.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/composite_enum_unsupported_identifier.stderr index 8de9c899..ea0f444c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/composite_enum_unsupported_identifier.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/composite_enum_unsupported_identifier.stderr @@ -1,5 +1,5 @@ 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 {} | ^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_duplicate_attr.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_duplicate_attr.stderr index 46326bde..1f38d8ff 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_duplicate_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_duplicate_attr.stderr @@ -1,5 +1,5 @@ -error: Invalid duplicated attribute for `#[pallet::config]`. Please remove duplicates: without_automatic_metadata. - --> tests/pallet_ui/config_duplicate_attr.rs:23:12 +error: Invalid duplicated attribute for `#[pezpallet::config]`. Please remove duplicates: without_automatic_metadata. + --> 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)] + | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_non_type_info.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_non_type_info.stderr index 362e97e8..322173d2 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_non_type_info.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_non_type_info.stderr @@ -1,5 +1,5 @@ -error: Invalid #[pallet::include_metadata] in #[pallet::config], collected type `MyNonScaleTypeInfo` does not implement `TypeInfo` or `Parameter` - --> tests/pallet_ui/config_metadata_non_type_info.rs:28:4 +error: Invalid #[pezpallet::include_metadata] in #[pezpallet::config], collected type `MyNonScaleTypeInfo` does not implement `TypeInfo` or `Parameter` + --> tests/pezpallet_ui/config_metadata_non_type_info.rs:28:4 | -28 | #[pallet::include_metadata] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +28 | #[pezpallet::include_metadata] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_constants.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_constants.stderr index eb943158..1e3ad8d1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_constants.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_constants.stderr @@ -1,5 +1,5 @@ -error: Invalid #[pallet::include_metadata]: conflict with #[pallet::constant]. Pallet constant already collect the metadata for the type. - --> tests/pallet_ui/config_metadata_on_constants.rs:26:10 +error: Invalid #[pezpallet::include_metadata]: conflict with #[pezpallet::constant]. Pezpallet constant already collect the metadata for the type. + --> tests/pezpallet_ui/config_metadata_on_constants.rs:26:10 | -26 | #[pallet::include_metadata] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +26 | #[pezpallet::include_metadata] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_events.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_events.stderr index 15132ccc..3edcb13a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_events.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/config_metadata_on_events.stderr @@ -1,5 +1,5 @@ -error: Invalid #[pallet::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 +error: Invalid #[pezpallet::include_metadata] for `type RuntimeEvent`. The associated type `RuntimeEvent` is already collected in the metadata. + --> tests/pezpallet_ui/config_metadata_on_events.rs:26:4 | -26 | #[pallet::include_metadata] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^ +26 | #[pezpallet::include_metadata] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/default_config_with_no_default_in_system.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/default_config_with_no_default_in_system.stderr index 5a5b4809..d1f1b9bb 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/default_config_with_no_default_in_system.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/default_config_with_no_default_in_system.stderr @@ -1,5 +1,5 @@ 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; - | ^^^^^ there is an associated type `Block` in the trait `frame_system::Config` + | ^^^^^ there is an associated type `Block` in the trait `pezframe_system::Config` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg.stderr index 828fd3ae..da7c81f2 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg.stderr @@ -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. - --> tests/pallet_ui/dev_mode_without_arg.rs:39:7 +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/pezpallet_ui/dev_mode_without_arg.rs:39:7 | 39 | pub fn my_call(_origin: OriginFor) -> DispatchResult { | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_call_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_call_index.stderr index 03932f46..95387b1a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_call_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_call_index.stderr @@ -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. - 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: - - - --> 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) -> DispatchResult { | ^^^^^^^ @@ -13,13 +13,13 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: = note: `-D deprecated` implied by `-D warnings` = 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. - 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: - - --> 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)] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_default_hasher.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_default_hasher.stderr index 81d0257c..cccbf22b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_default_hasher.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_default_hasher.stderr @@ -1,11 +1,11 @@ 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 = StorageMap<_, _, u32, u64>; | ^ -error[E0432]: unresolved import `pallet` - --> tests/pallet_ui/dev_mode_without_arg_default_hasher.rs:20:9 +error[E0432]: unresolved import `pezpallet` + --> tests/pezpallet_ui/dev_mode_without_arg_default_hasher.rs:20:9 | -20 | pub use pallet::*; - | ^^^^^^ help: a similar path exists: `test_pallet::pallet` +20 | pub use pezpallet::*; + | ^^^^^^^^^ help: a similar path exists: `test_pezpallet::pezpallet` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.stderr index 7f62f91e..3a1dab26 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/dev_mode_without_arg_max_encoded_len.stderr @@ -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. - 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: - - - --> 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) -> DispatchResult { | ^^^^^^^ @@ -13,25 +13,25 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`: = note: `-D deprecated` implied by `-D warnings` = 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. - 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: - - --> 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: 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] - | _______________^ -29 | | pub struct Pallet(_); +28 | #[pezpallet::pezpallet] + | __________________^ +29 | | pub struct Pezpallet(_); ... | -35 | | #[pallet::storage] +35 | | #[pezpallet::storage] 36 | | type MyStorage = StorageValue<_, Vec>; | |__________________^ the trait `MaxEncodedLen` is not implemented for `Vec` | @@ -45,4 +45,5 @@ error[E0277]: the trait bound `Vec: MaxEncodedLen` is not satisfied (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) and $N others - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageMyStorage, Vec>` to implement `StorageInfoTrait` + = note: required for `StorageValue<_GeneratedPrefixForStorageMyStorage, Vec>` to implement `StorageInfoTrait` + = note: consider using `--verbose` to print the full type name to the console diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_call_attr.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_call_attr.stderr index fcaa576f..0a188a39 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_call_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_call_attr.stderr @@ -1,5 +1,5 @@ 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] + | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_storage_prefix.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_storage_prefix.stderr index 1e046d85..763e5f1e 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_storage_prefix.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/duplicate_storage_prefix.stderr @@ -1,47 +1,47 @@ 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` - --> tests/pallet_ui/duplicate_storage_prefix.rs:29:7 + --> tests/pezpallet_ui/duplicate_storage_prefix.rs:29:7 | 29 | type Foo = StorageValue<_, u8>; | ^^^ 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 = CountedStorageMap<_, Twox64Concat, u16, u16>; | ^^^ 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 = StorageValue<_, u16>; | ^^^^^^^^^^^^^ 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 = StorageValue<_, u8>; | ^^^ not found 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 = StorageValue<_, u16>; | ^^^^^^ not found 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 = StorageValue<_, u16>; | ^^^^^^^^^^^^^ not found 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 = CountedStorageMap<_, Twox64Concat, u16, u16>; | ^^^ not found in this scope diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_does_not_derive_pezpallet_error.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_does_not_derive_pezpallet_error.stderr index 92fb5b9c..4decc964 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_does_not_derive_pezpallet_error.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_does_not_derive_pezpallet_error.stderr @@ -1,5 +1,5 @@ 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), | ^^^^^^^^^^^^^^ the trait `PalletError` is not implemented for `MyError` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_where_clause.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_where_clause.stderr index f9bcb617..3487446f 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_where_clause.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_where_clause.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::error, where clause is not allowed on pallet error item - --> tests/pallet_ui/error_where_clause.rs:36:20 +error: Invalid pezpallet::error, where clause is not allowed on pezpallet error item + --> tests/pezpallet_ui/error_where_clause.rs:36:20 | 36 | pub enum Error where u32: From {} | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item.stderr index cbaac7b5..dc998f78 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::error, expected item enum - --> tests/pallet_ui/error_wrong_item.rs:36:2 +error: Invalid pezpallet::error, expected item enum + --> tests/pezpallet_ui/error_wrong_item.rs:36:2 | 36 | pub struct Foo; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item_name.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item_name.stderr index 784ae463..7bde7f36 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/error_wrong_item_name.stderr @@ -1,5 +1,5 @@ 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 {} | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_deprecated_runtime_event.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_deprecated_runtime_event.stderr index 5410ed1e..c98f7f81 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_deprecated_runtime_event.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_deprecated_runtime_event.stderr @@ -1,33 +1,33 @@ 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` = help: to override `-D warnings` add `#[allow(unused_imports)]` -error: use of deprecated constant `pallet::RuntimeEvent::_w`: - It is deprecated to have `RuntimeEvent` associated type in the pallet config. +error: use of deprecated constant `pezpallet::RuntimeEvent::_w`: + 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: - pub trait Config: frame_system::Config>> { }. + pub trait Config: pezframe_system::Config>> { }. For more info see: - - --> tests/pallet_ui/event_deprecated_runtime_event.rs:26:8 + + --> tests/pezpallet_ui/event_deprecated_runtime_event.rs:26:8 | -26 | type RuntimeEvent: IsType<::RuntimeEvent> + From>; +26 | type RuntimeEvent: IsType<::RuntimeEvent> + From>; | ^^^^^^^^^^^^ | = note: `-D deprecated` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(deprecated)]` 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] - | ^^^^^^ associated function in this implementation +29 | #[pezpallet::pezpallet] + | ^^^^^^^^^ associated function in this implementation | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_field_not_member.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_field_not_member.stderr index fc4a33b7..c9dbb148 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_field_not_member.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_field_not_member.stderr @@ -1,21 +1,21 @@ -error[E0277]: the trait bound `::Bar: Clone` is not satisfied - --> tests/pallet_ui/event_field_not_member.rs:40:7 +error[E0277]: the trait bound `::Bar: Clone` is not satisfied + --> tests/pezpallet_ui/event_field_not_member.rs:40:7 | 40 | B { b: T::Bar }, - | ^ the trait `Clone` is not implemented for `::Bar` + | ^ the trait `Clone` is not implemented for `::Bar` -error[E0369]: binary operation `==` cannot be applied to type `&::Bar` - --> tests/pallet_ui/event_field_not_member.rs:40:7 +error[E0369]: binary operation `==` cannot be applied to type `&::Bar` + --> tests/pezpallet_ui/event_field_not_member.rs:40:7 | 40 | B { b: T::Bar }, | ^ -error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` - --> tests/pallet_ui/event_field_not_member.rs:40:7 +error[E0277]: `::Bar` doesn't implement `std::fmt::Debug` + --> tests/pezpallet_ui/event_field_not_member.rs:40:7 | 40 | B { b: T::Bar }, - | ^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` + | ^ `::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug` | - = help: the trait `std::fmt::Debug` is not implemented for `::Bar` - = note: required for `&::Bar` to implement `std::fmt::Debug` - = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` + = help: the trait `std::fmt::Debug` is not implemented for `::Bar` + = note: required for `&::Bar` to implement `std::fmt::Debug` + = note: required for the cast from `&&::Bar` to `&dyn std::fmt::Debug` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item.stderr index 155391f1..7d268c3a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::event, expected enum item - --> tests/pallet_ui/event_wrong_item.rs:36:2 +error: Invalid pezpallet::event, expected enum item + --> tests/pezpallet_ui/event_wrong_item.rs:36:2 | 36 | pub struct Foo; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item_name.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item_name.stderr index b70e560e..d1bc4604 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/event_wrong_item_name.stderr @@ -1,5 +1,5 @@ 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 {} | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_inconsistent_build_config.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_inconsistent_build_config.stderr index d515547e..7de81061 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_inconsistent_build_config.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_inconsistent_build_config.stderr @@ -1,5 +1,5 @@ -error: `#[pallet::genesis_config]` and `#[pallet::genesis_build]` attributes must be either both used or both not used, instead genesis_config is unused and genesis_build is used - --> tests/pallet_ui/genesis_inconsistent_build_config.rs:19:1 +error: `#[pezpallet::genesis_config]` and `#[pezpallet::genesis_build]` attributes must be either both used or both not used, instead genesis_config is unused and genesis_build is used + --> tests/pezpallet_ui/genesis_inconsistent_build_config.rs:19:1 | -19 | mod pallet { +19 | mod pezpallet { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_invalid_generic.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_invalid_generic.stderr index b54a23c9..cacc7f47 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_invalid_generic.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_invalid_generic.stderr @@ -1,13 +1,13 @@ error: Invalid genesis builder: expected `BuildGenesisConfig` (or the deprecated `GenesisBuild` or `GenesisBuild`) - --> tests/pallet_ui/genesis_invalid_generic.rs:36:7 + --> tests/pezpallet_ui/genesis_invalid_generic.rs:36:7 | 36 | impl GenesisBuild for GenesisConfig {} | ^^^^^^^^^^^^ error: expected `<` - --> tests/pallet_ui/genesis_invalid_generic.rs:18:1 + --> tests/pezpallet_ui/genesis_invalid_generic.rs:18:1 | -18 | #[frame_support::pallet] - | ^^^^^^^^^^^^^^^^^^^^^^^^ +18 | #[pezframe_support::pezpallet] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `pezframe_support::pezpallet` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_wrong_name.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_wrong_name.stderr index 4d1c09ec..585f0e7d 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_wrong_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/genesis_wrong_name.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::genesis_build, expected impl<..> GenesisBuild<..> for GenesisConfig<..> - --> tests/pallet_ui/genesis_wrong_name.rs:36:2 +error: Invalid pezpallet::genesis_build, expected impl<..> GenesisBuild<..> for GenesisConfig<..> + --> tests/pezpallet_ui/genesis_wrong_name.rs:36:2 | 36 | impl Foo {} | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_non_enum.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_non_enum.stderr index 45351f36..38e5752a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_non_enum.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_non_enum.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::composite_enum, expected enum item - --> tests/pallet_ui/hold_reason_non_enum.rs:27:2 +error: Invalid pezpallet::composite_enum, expected enum item + --> tests/pezpallet_ui/hold_reason_non_enum.rs:27:2 | 27 | pub struct HoldReason; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_not_pub.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_not_pub.stderr index 75834ad8..0e56937c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_not_pub.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hold_reason_not_pub.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::composite_enum, `HoldReason` must be public - --> tests/pallet_ui/hold_reason_not_pub.rs:27:5 +error: Invalid pezpallet::composite_enum, `HoldReason` must be public + --> tests/pezpallet_ui/hold_reason_not_pub.rs:27:5 | 27 | enum HoldReason {} | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hooks_invalid_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hooks_invalid_item.stderr index 92b5baef..d85deb2c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hooks_invalid_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/hooks_invalid_item.stderr @@ -1,15 +1,15 @@ error[E0107]: missing generics for trait `Hooks` - --> tests/pallet_ui/hooks_invalid_item.rs:29:18 + --> tests/pezpallet_ui/hooks_invalid_item.rs:29:18 | -29 | impl Hooks for Pallet {} +29 | impl Hooks for Pezpallet {} | ^^^^^ expected 1 generic argument | note: trait defined here, with 1 generic parameter: `BlockNumber` - --> $WORKSPACE/bizinikiwi/frame/support/src/traits/hooks.rs + --> $WORKSPACE/bizinikiwi/pezframe/support/src/traits/hooks.rs | | pub trait Hooks { | ^^^^^ ----------- help: add missing generic argument | -29 | impl Hooks for Pallet {} +29 | impl Hooks for Pezpallet {} | +++++++++++++ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_1.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_1.stderr index 89f0be40..79ea1381 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_1.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_1.stderr @@ -1,29 +1,29 @@ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/inconsistent_instance_1.rs:27:20 + --> tests/pezpallet_ui/inconsistent_instance_1.rs:27:23 | -27 | pub struct Pallet(core::marker::PhantomData); - | ^ +27 | pub struct Pezpallet(core::marker::PhantomData); + | ^ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/inconsistent_instance_1.rs:33:7 + --> tests/pezpallet_ui/inconsistent_instance_1.rs:33:7 | -33 | impl Pallet {} +33 | impl Pezpallet {} | ^ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/inconsistent_instance_1.rs:33:18 + --> tests/pezpallet_ui/inconsistent_instance_1.rs:33:18 | -33 | impl Pallet {} - | ^^^^^^ +33 | impl Pezpallet {} + | ^^^^^^^^^ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/inconsistent_instance_1.rs:30:47 + --> tests/pezpallet_ui/inconsistent_instance_1.rs:30:47 | -30 | impl Hooks> for Pallet {} - | ^^^^^^ +30 | impl Hooks> for Pezpallet {} + | ^^^^^^^^^ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/inconsistent_instance_1.rs:30:7 + --> tests/pezpallet_ui/inconsistent_instance_1.rs:30:7 | -30 | impl Hooks> for Pallet {} +30 | impl Hooks> for Pezpallet {} | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_2.stderr index 703f5396..21011bec 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inconsistent_instance_2.stderr @@ -1,29 +1,29 @@ error: Invalid generic declaration, trait is defined without instance but generic use some - --> tests/pallet_ui/inconsistent_instance_2.rs:27:20 + --> tests/pezpallet_ui/inconsistent_instance_2.rs:27:23 | -27 | pub struct Pallet(core::marker::PhantomData<(T, I)>); - | ^ +27 | pub struct Pezpallet(core::marker::PhantomData<(T, I)>); + | ^ error: Invalid generic declaration, trait is defined without instance but generic use some - --> tests/pallet_ui/inconsistent_instance_2.rs:33:7 + --> tests/pezpallet_ui/inconsistent_instance_2.rs:33:7 | -33 | impl, I: 'static> Pallet {} +33 | impl, I: 'static> Pezpallet {} | ^ error: Invalid generic declaration, trait is defined without instance but generic use some - --> tests/pallet_ui/inconsistent_instance_2.rs:33:33 + --> tests/pezpallet_ui/inconsistent_instance_2.rs:33:33 | -33 | impl, I: 'static> Pallet {} - | ^^^^^^ +33 | impl, I: 'static> Pezpallet {} + | ^^^^^^^^^ error: Invalid generic declaration, trait is defined without instance but generic use some - --> tests/pallet_ui/inconsistent_instance_2.rs:30:62 + --> tests/pezpallet_ui/inconsistent_instance_2.rs:30:62 | -30 | impl, I: 'static> Hooks> for Pallet {} - | ^^^^^^ +30 | impl, I: 'static> Hooks> for Pezpallet {} + | ^^^^^^^^^ error: Invalid generic declaration, trait is defined without instance but generic use some - --> tests/pallet_ui/inconsistent_instance_2.rs:30:7 + --> tests/pezpallet_ui/inconsistent_instance_2.rs:30:7 | -30 | impl, I: 'static> Hooks> for Pallet {} +30 | impl, I: 'static> Hooks> for Pezpallet {} | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_check_inner_span.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_check_inner_span.stderr index 516bddd2..73172b57 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_check_inner_span.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_check_inner_span.stderr @@ -1,8 +1,8 @@ error[E0046]: not all trait items implemented, missing: `Call`, `Error`, `INHERENT_IDENTIFIER`, `create_inherent`, `is_inherent` - --> tests/pallet_ui/inherent_check_inner_span.rs:36:2 + --> tests/pezpallet_ui/inherent_check_inner_span.rs:36:2 | -36 | impl ProvideInherent for Pallet {} - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Call`, `Error`, `INHERENT_IDENTIFIER`, `create_inherent`, `is_inherent` in implementation +36 | impl ProvideInherent for Pezpallet {} + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `Call`, `Error`, `INHERENT_IDENTIFIER`, `create_inherent`, `is_inherent` in implementation | = help: implement the missing item: `type Call = /* Type */;` = help: implement the missing item: `type Error = /* Type */;` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_invalid_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_invalid_item.stderr index efafdf8c..af1addf2 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_invalid_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/inherent_invalid_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::inherent, expected impl<..> ProvideInherent for Pallet<..> - --> tests/pallet_ui/inherent_invalid_item.rs:36:2 +error: Invalid pezpallet::inherent, expected impl<..> ProvideInherent for Pezpallet<..> + --> tests/pezpallet_ui/inherent_invalid_item.rs:36:2 | 36 | impl Foo {} | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/lock_id_duplicate.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/lock_id_duplicate.stderr index d298afa3..e5a1186a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/lock_id_duplicate.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/lock_id_duplicate.stderr @@ -1,5 +1,5 @@ error: Invalid duplicated `LockId` definition - --> tests/pallet_ui/lock_id_duplicate.rs:30:14 + --> tests/pezpallet_ui/lock_id_duplicate.rs:30:14 | 30 | pub enum LockId {} | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/mod_not_inlined.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/mod_not_inlined.stderr index b9ce5789..93c5c42f 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/mod_not_inlined.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/mod_not_inlined.stderr @@ -1,13 +1,13 @@ error[E0658]: non-inline modules in proc macro input are unstable - --> tests/pallet_ui/mod_not_inlined.rs:19:1 + --> tests/pezpallet_ui/mod_not_inlined.rs:19:1 | 19 | mod foo; | ^^^^^^^^ | = note: see issue #54727 for more information -error: Invalid pallet definition, expected mod to be inlined. - --> tests/pallet_ui/mod_not_inlined.rs:19:1 +error: Invalid pezpallet definition, expected mod to be inlined. + --> tests/pezpallet_ui/mod_not_inlined.rs:19:1 | 19 | mod foo; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_bounds_but_missing_with_default.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_bounds_but_missing_with_default.stderr index 6e2bc2a7..eb1f6d23 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_bounds_but_missing_with_default.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_bounds_but_missing_with_default.stderr @@ -1,5 +1,5 @@ -error: `#[pallet:no_default_bounds]` can only be used if `#[pallet::config(with_default)]` has been specified - --> tests/pallet_ui/no_default_bounds_but_missing_with_default.rs:26:4 +error: `#[pezpallet:no_default_bounds]` can only be used if `#[pezpallet::config(with_default)]` has been specified + --> tests/pezpallet_ui/no_default_bounds_but_missing_with_default.rs:26:4 | -26 | #[pallet::no_default_bounds] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +26 | #[pezpallet::no_default_bounds] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_but_missing_with_default.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_but_missing_with_default.stderr index 1b066bbe..f5318644 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_but_missing_with_default.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/no_default_but_missing_with_default.stderr @@ -1,5 +1,5 @@ -error: `#[pallet::no_default]` can only be used if `#[pallet::config(with_default)]` has been specified - --> tests/pallet_ui/no_default_but_missing_with_default.rs:26:4 +error: `#[pezpallet::no_default]` can only be used if `#[pezpallet::config(with_default)]` has been specified + --> tests/pezpallet_ui/no_default_but_missing_with_default.rs:26:4 | -26 | #[pallet::no_default] - | ^^^^^^^^^^^^^^^^^^^^ +26 | #[pezpallet::no_default] + | ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.stderr index 6cb3ac9e..7014e4ec 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.stderr @@ -1,11 +1,11 @@ -error: Invalid pallet::storage, cannot find `Hasher` generic, required for `StorageMap`. - --> tests/pallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.rs:38:43 +error: Invalid pezpallet::storage, cannot find `Hasher` generic, required for `StorageMap`. + --> tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.rs:38:43 | 38 | type MyStorageMap = StorageMap; | ^ -error[E0432]: unresolved import `pallet` - --> tests/pallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.rs:20:9 +error[E0432]: unresolved import `pezpallet` + --> tests/pezpallet_ui/non_dev_mode_storage_map_explicit_key_default_hasher.rs:20:9 | -20 | pub use pallet::*; - | ^^^^^^ help: a similar path exists: `test_pallet::pallet` +20 | pub use pezpallet::*; + | ^^^^^^^^^ help: a similar path exists: `test_pezpallet::pezpallet` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/dev_mode_valid.rs b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/dev_mode_valid.rs index 255b5245..6d49c957 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/dev_mode_valid.rs +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/dev_mode_valid.rs @@ -86,7 +86,7 @@ impl pezframe_system::Config for Runtime { type BlockLength = (); type DbWeight = (); type Version = (); - type PezpalletInfo = PezpalletInfo; + type PalletInfo = PalletInfo; type AccountData = (); type OnNewAccount = (); type OnKilledAccount = (); diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/error_nested_types.rs b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/error_nested_types.rs index 4bb86b73..e0cbb943 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/error_nested_types.rs +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/error_nested_types.rs @@ -16,7 +16,7 @@ // limitations under the License. use codec::{Decode, DecodeWithMemTracking, Encode}; -use pezframe_support::PezpalletError; +use pezframe_support::PalletError; #[pezframe_support::pezpallet] #[allow(unused_imports)] @@ -33,7 +33,7 @@ pub mod pezpallet { } } -#[derive(Encode, Decode, DecodeWithMemTracking, PezpalletError, scale_info::TypeInfo)] +#[derive(Encode, Decode, DecodeWithMemTracking, PalletError, scale_info::TypeInfo)] pub enum MyError { Foo, Bar, @@ -42,17 +42,17 @@ pub enum MyError { Wrapper(Wrapper), } -#[derive(Encode, Decode, DecodeWithMemTracking, PezpalletError, scale_info::TypeInfo)] +#[derive(Encode, Decode, DecodeWithMemTracking, PalletError, scale_info::TypeInfo)] pub enum NestedError { Quux, } -#[derive(Encode, Decode, DecodeWithMemTracking, PezpalletError, scale_info::TypeInfo)] +#[derive(Encode, Decode, DecodeWithMemTracking, PalletError, scale_info::TypeInfo)] pub struct MyStruct { field: u8, } -#[derive(Encode, Decode, DecodeWithMemTracking, PezpalletError, scale_info::TypeInfo)] +#[derive(Encode, Decode, DecodeWithMemTracking, PalletError, scale_info::TypeInfo)] pub struct Wrapper(bool); fn main() {} diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/no_std_genesis_config.rs b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/no_std_genesis_config.rs index e2470502..13a637d3 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/no_std_genesis_config.rs +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pass/no_std_genesis_config.rs @@ -44,7 +44,7 @@ impl pezframe_system::Config for Runtime { type BlockLength = (); type DbWeight = (); type Version = (); - type PezpalletInfo = PezpalletInfo; + type PalletInfo = PalletInfo; type AccountData = (); type OnNewAccount = (); type OnKilledAccount = (); diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_arg_non_path.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_arg_non_path.stderr index a630380b..fc36d697 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_arg_non_path.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_arg_non_path.stderr @@ -1,5 +1,5 @@ -error: The `pallet_doc` received an unsupported argument. Supported format: `pallet_doc("PATH")` - --> tests/pallet_ui/pallet_doc_arg_non_path.rs:20:1 +error: The `pezpallet_doc` received an unsupported argument. Supported format: `pezpallet_doc("PATH")` + --> tests/pezpallet_ui/pezpallet_doc_arg_non_path.rs:20:1 | -20 | #[pallet_doc(X)] +20 | #[pezpallet_doc(X)] | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_empty.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_empty.stderr index 0ef0ea9c..afa887c4 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_empty.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_empty.stderr @@ -1,5 +1,5 @@ -error: The `pallet_doc` received an unsupported argument. Supported format: `pallet_doc("PATH")` - --> tests/pallet_ui/pallet_doc_empty.rs:20:1 +error: The `pezpallet_doc` received an unsupported argument. Supported format: `pezpallet_doc("PATH")` + --> tests/pezpallet_ui/pezpallet_doc_empty.rs:20:1 | -20 | #[pallet_doc] +20 | #[pezpallet_doc] | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_invalid_arg.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_invalid_arg.stderr index 8a948b1b..6ec0d3f9 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_invalid_arg.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_invalid_arg.stderr @@ -1,5 +1,5 @@ -error: The `pallet_doc` received an unsupported argument. Supported format: `pallet_doc("PATH")` - --> tests/pallet_ui/pallet_doc_invalid_arg.rs:20:1 +error: The `pezpallet_doc` received an unsupported argument. Supported format: `pezpallet_doc("PATH")` + --> tests/pezpallet_ui/pezpallet_doc_invalid_arg.rs:20:1 | -20 | #[pallet_doc = "invalid"] +20 | #[pezpallet_doc = "invalid"] | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_multiple_args.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_multiple_args.stderr index c3e05b38..5e079949 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_multiple_args.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_doc_multiple_args.stderr @@ -1,5 +1,5 @@ -error: The `pallet_doc` received an unsupported argument. Supported format: `pallet_doc("PATH")` - --> tests/pallet_ui/pallet_doc_multiple_args.rs:20:1 +error: The `pezpallet_doc` received an unsupported argument. Supported format: `pezpallet_doc("PATH")` + --> tests/pezpallet_ui/pezpallet_doc_multiple_args.rs:20:1 | -20 | #[pallet_doc("A", "B")] +20 | #[pezpallet_doc("A", "B")] | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_invalid_arg.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_invalid_arg.stderr index 8736890f..b534bf00 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_invalid_arg.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_invalid_arg.stderr @@ -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)]. - --> tests/pallet_ui/pallet_invalid_arg.rs:18:25 +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/pezpallet_ui/pezpallet_invalid_arg.rs:18:31 | -18 | #[frame_support::pallet(foo)] - | ^^^ +18 | #[pezframe_support::pezpallet(foo)] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_struct_invalid_attr.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_struct_invalid_attr.stderr index 6f7f5617..da5a2002 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_struct_invalid_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/pezpallet_struct_invalid_attr.stderr @@ -1,5 +1,5 @@ error: expected `without_storage_info` or `storage_version` - --> tests/pallet_ui/pallet_struct_invalid_attr.rs:24:12 + --> tests/pezpallet_ui/pezpallet_struct_invalid_attr.rs:24:15 | -24 | #[pallet::generate_storage_info] // invalid - | ^^^^^^^^^^^^^^^^^^^^^ +24 | #[pezpallet::generate_storage_info] // invalid + | ^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr index fee09c80..280f9a15 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.stderr @@ -1,13 +1,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -15,21 +15,21 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -45,18 +45,18 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -73,13 +73,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `TypeInfo` is not implemented for `Bar` | @@ -94,13 +94,13 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied (A, B, C, D, E, F) and $N others = note: required for `Bar` to implement `StaticTypeInfo` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -108,16 +108,16 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -133,13 +133,13 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -156,13 +156,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -170,16 +170,16 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -195,13 +195,13 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -218,4 +218,4 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.stderr index be362137..d72b8087 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.stderr @@ -1,13 +1,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -15,21 +15,21 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -45,18 +45,18 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:27:15 | -27 | #[pallet::without_storage_info] - | _______________^ -28 | | pub struct Pallet(core::marker::PhantomData); +27 | #[pezpallet::without_storage_info] + | __________________^ +28 | | pub struct Pezpallet(core::marker::PhantomData); 29 | | -30 | | #[pallet::hooks] +30 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -73,13 +73,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `PartialStorageInfoTrait` error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `TypeInfo` is not implemented for `Bar` | @@ -94,13 +94,13 @@ error[E0277]: the trait bound `Bar: TypeInfo` is not satisfied (A, B, C, D, E, F) and $N others = note: required for `Bar` to implement `StaticTypeInfo` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -108,16 +108,16 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -133,13 +133,13 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -156,13 +156,13 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageEntryMetadataBuilder` error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeDecode` is not implemented for `Bar` | @@ -170,16 +170,16 @@ error[E0277]: the trait bound `Bar: WrapperTypeDecode` is not satisfied Arc Box Rc - frame_support::sp_runtime::sp_application_crypto::sp_core::Bytes + pezframe_support::pezsp_runtime::pezsp_application_crypto::pezsp_core::Bytes = note: required for `Bar` to implement `Decode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `EncodeLike` is not implemented for `Bar` | @@ -195,13 +195,13 @@ error[E0277]: the trait bound `Bar: EncodeLike` is not satisfied and $N others = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied - --> tests/pallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:12 + --> tests/pezpallet_ui/storage_ensure_span_are_ok_on_wrong_gen_unnamed.rs:38:15 | -38 | #[pallet::storage] - | _______________^ +38 | #[pezpallet::storage] + | __________________^ 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `WrapperTypeEncode` is not implemented for `Bar` | @@ -218,4 +218,4 @@ error[E0277]: the trait bound `Bar: WrapperTypeEncode` is not satisfied = note: required for `Bar` to implement `Encode` = note: required for `Bar` to implement `FullEncode` = note: required for `Bar` to implement `FullCodec` - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `TryDecodeEntireStorage` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_incomplete_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_incomplete_item.stderr index 524654b2..ad9c1827 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_incomplete_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_incomplete_item.stderr @@ -1,13 +1,13 @@ error: free type alias without body - --> tests/pallet_ui/storage_incomplete_item.rs:36:2 + --> tests/pezpallet_ui/storage_incomplete_item.rs:36:2 | 36 | type Foo; | ^^^^^^^^- | | | help: provide a definition for the type: `= ;` -error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pallet` - --> tests/pallet_ui/storage_incomplete_item.rs:35:4 +error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pezpallet` + --> tests/pezpallet_ui/storage_incomplete_item.rs:35:4 | -35 | #[pallet::storage] - | ^^^^^^ use of unresolved module or unlinked crate `pallet` +35 | #[pezpallet::storage] + | ^^^^^^^^^ use of unresolved module or unlinked crate `pezpallet` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied.stderr index 637f9fc1..726cb10a 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied.stderr @@ -1,13 +1,13 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied - --> tests/pallet_ui/storage_info_unsatisfied.rs:26:12 + --> tests/pezpallet_ui/storage_info_unsatisfied.rs:26:15 | -26 | #[pallet::pallet] - | _______________^ -27 | | pub struct Pallet(core::marker::PhantomData); +26 | #[pezpallet::pezpallet] + | __________________^ +27 | | pub struct Pezpallet(core::marker::PhantomData); 28 | | -29 | | #[pallet::hooks] +29 | | #[pezpallet::hooks] ... | -38 | | #[pallet::storage] +38 | | #[pezpallet::storage] 39 | | type Foo = StorageValue<_, Bar>; | |____________^ the trait `MaxEncodedLen` is not implemented for `Bar` | @@ -21,4 +21,4 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) and $N others - = note: required for `frame_support::pallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageInfoTrait` + = note: required for `pezframe_support::pezpallet_prelude::StorageValue<_GeneratedPrefixForStorageFoo, Bar>` to implement `StorageInfoTrait` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied_nmap.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied_nmap.stderr index e33698dd..a7d07aa1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied_nmap.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_info_unsatisfied_nmap.stderr @@ -1,13 +1,13 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied - --> tests/pallet_ui/storage_info_unsatisfied_nmap.rs:29:12 + --> tests/pezpallet_ui/storage_info_unsatisfied_nmap.rs:29:15 | -29 | #[pallet::pallet] - | _______________^ -30 | | pub struct Pallet(core::marker::PhantomData); +29 | #[pezpallet::pezpallet] + | __________________^ +30 | | pub struct Pezpallet(core::marker::PhantomData); 31 | | -32 | | #[pallet::hooks] +32 | | #[pezpallet::hooks] ... | -41 | | #[pallet::storage] +41 | | #[pezpallet::storage] 42 | | type Foo = StorageNMap<_, Key, u32>; | |____________^ the trait `MaxEncodedLen` is not implemented for `Bar` | @@ -21,6 +21,6 @@ error[E0277]: the trait bound `Bar: MaxEncodedLen` is not satisfied (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6) (TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7) and $N others - = note: required for `NMapKey` to implement `KeyGeneratorMaxEncodedLen` + = note: required for `NMapKey` to implement `KeyGeneratorMaxEncodedLen` = note: required for `StorageNMap<_GeneratedPrefixForStorageFoo, Key<..., ...>, u32>` to implement `StorageInfoTrait` = note: consider using `--verbose` to print the full type name to the console diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_attribute.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_attribute.stderr index 519fadaa..d9fb6adf 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_attribute.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_attribute.stderr @@ -1,5 +1,5 @@ error: expected one of: `getter`, `storage_prefix`, `unbounded`, `whitelist_storage`, `disable_try_decode_storage` - --> tests/pallet_ui/storage_invalid_attribute.rs:33:12 + --> tests/pezpallet_ui/storage_invalid_attribute.rs:33:15 | -33 | #[pallet::generate_store(pub trait Store)] - | ^^^^^^^^^^^^^^ +33 | #[pezpallet::generate_store(pub trait Store)] + | ^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_first_generic.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_first_generic.stderr index 0b1a7273..3f2557e1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_first_generic.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_first_generic.stderr @@ -1,11 +1,11 @@ -error: Invalid pallet::storage, for unnamed generic arguments the type first generic argument must be `_`, the argument is then replaced by macro. - --> tests/pallet_ui/storage_invalid_first_generic.rs:36:29 +error: Invalid pezpallet::storage, for unnamed generic arguments the type first generic argument must be `_`, the argument is then replaced by macro. + --> tests/pezpallet_ui/storage_invalid_first_generic.rs:36:29 | 36 | type Foo = StorageValue; | ^^ error: expected `_` - --> tests/pallet_ui/storage_invalid_first_generic.rs:36:29 + --> tests/pezpallet_ui/storage_invalid_first_generic.rs:36:29 | 36 | type Foo = StorageValue; | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_rename_value.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_rename_value.stderr index e7cff8b4..b498b0f3 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_rename_value.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_invalid_rename_value.stderr @@ -1,5 +1,5 @@ error: `pub` is not a valid identifier - --> tests/pallet_ui/storage_invalid_rename_value.rs:30:29 + --> tests/pezpallet_ui/storage_invalid_rename_value.rs:30:32 | -30 | #[pallet::storage_prefix = "pub"] - | ^^^^^ +30 | #[pezpallet::storage_prefix = "pub"] + | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_getters.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_getters.stderr index 494205c2..ae7ad064 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_getters.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_getters.stderr @@ -1,5 +1,5 @@ error: Invalid attribute: Duplicate attribute - --> tests/pallet_ui/storage_multiple_getters.rs:37:3 + --> tests/pezpallet_ui/storage_multiple_getters.rs:37:3 | -37 | #[pallet::getter(fn foo_error)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +37 | #[pezpallet::getter(fn foo_error)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_renames.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_renames.stderr index 60720a46..c3f91a1c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_renames.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_multiple_renames.stderr @@ -1,5 +1,5 @@ error: Invalid attribute: Duplicate attribute - --> tests/pallet_ui/storage_multiple_renames.rs:37:3 + --> tests/pezpallet_ui/storage_multiple_renames.rs:37:3 | -37 | #[pallet::storage_prefix = "Baz"] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +37 | #[pezpallet::storage_prefix = "Baz"] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_not_storage_type.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_not_storage_type.stderr index 27dd3a1e..aa74f305 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_not_storage_type.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_not_storage_type.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, expected ident: `StorageValue` or `StorageMap` or `CountedStorageMap` or `StorageDoubleMap` or `StorageNMap` or `CountedStorageNMap` in order to expand metadata, found `u8`. - --> tests/pallet_ui/storage_not_storage_type.rs:36:16 +error: Invalid pezpallet::storage, expected ident: `StorageValue` or `StorageMap` or `CountedStorageMap` or `StorageDoubleMap` or `StorageNMap` or `CountedStorageNMap` in order to expand metadata, found `u8`. + --> tests/pezpallet_ui/storage_not_storage_type.rs:36:16 | 36 | type Foo = u8; | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_missing_generics.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_missing_generics.stderr index af8ff50b..1864d95d 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_missing_generics.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_missing_generics.stderr @@ -1,11 +1,11 @@ -error[E0107]: missing generics for enum `pallet::Error` - --> tests/pallet_ui/storage_result_query_missing_generics.rs:35:56 +error[E0107]: missing generics for enum `pezpallet::Error` + --> tests/pezpallet_ui/storage_result_query_missing_generics.rs:35:56 | 35 | type Foo = StorageValue<_, u8, ResultQuery>; | ^^^^^ expected 1 generic argument | note: enum defined here, with 1 generic parameter: `T` - --> tests/pallet_ui/storage_result_query_missing_generics.rs:30:11 + --> tests/pezpallet_ui/storage_result_query_missing_generics.rs:30:11 | 30 | pub enum Error { | ^^^^^ - diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_multiple_type_args.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_multiple_type_args.stderr index 1e27dac7..086e539c 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_multiple_type_args.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_multiple_type_args.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, unexpected number of generic arguments for ResultQuery, expected 1 type argument, found 2 - --> tests/pallet_ui/storage_result_query_multiple_type_args.rs:36:56 +error: Invalid pezpallet::storage, unexpected number of generic arguments for ResultQuery, expected 1 type argument, found 2 + --> tests/pezpallet_ui/storage_result_query_multiple_type_args.rs:36:56 | 36 | type Foo = StorageValue<_, u8, ResultQuery::NonExistentValue, SomeOtherError>>; | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_no_defined_pezpallet_error.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_no_defined_pezpallet_error.stderr index 1593c982..c65948cf 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_no_defined_pezpallet_error.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_no_defined_pezpallet_error.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, unexpected number of path segments for the generics in ResultQuery, expected a path with at least 2 segments, found 1 - --> tests/pallet_ui/storage_result_query_no_defined_pallet_error.rs:29:56 +error: Invalid pezpallet::storage, unexpected number of path segments for the generics in ResultQuery, expected a path with at least 2 segments, found 1 + --> tests/pezpallet_ui/storage_result_query_no_defined_pezpallet_error.rs:29:56 | 29 | type Foo = StorageValue<_, u8, ResultQuery>; | ^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_parenthesized_generics.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_parenthesized_generics.stderr index 926f9ad7..d44c43a1 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_parenthesized_generics.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_parenthesized_generics.stderr @@ -1,5 +1,5 @@ error: expected `,` - --> tests/pallet_ui/storage_result_query_parenthesized_generics.rs:35:55 + --> tests/pezpallet_ui/storage_result_query_parenthesized_generics.rs:35:55 | 35 | type Foo = StorageValue<_, u8, ResultQuery(NonExistentValue)>; | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_wrong_generic_kind.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_wrong_generic_kind.stderr index b08af8da..0785f692 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_wrong_generic_kind.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_result_query_wrong_generic_kind.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, unexpected generic argument kind, expected a type path to a `PalletError` enum variant, found `'static` - --> tests/pallet_ui/storage_result_query_wrong_generic_kind.rs:35:56 +error: Invalid pezpallet::storage, unexpected generic argument kind, expected a type path to a `PalletError` enum variant, found `'static` + --> tests/pezpallet_ui/storage_result_query_wrong_generic_kind.rs:35:56 | 35 | type Foo = StorageValue<_, u8, ResultQuery<'static>>; | ^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_duplicate_named_generic.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_duplicate_named_generic.stderr index ab30a9e4..c4fd1058 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_duplicate_named_generic.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_duplicate_named_generic.stderr @@ -1,11 +1,11 @@ -error: Invalid pallet::storage, Duplicated named generic - --> tests/pallet_ui/storage_value_duplicate_named_generic.rs:36:42 +error: Invalid pezpallet::storage, Duplicated named generic + --> tests/pezpallet_ui/storage_value_duplicate_named_generic.rs:36:42 | 36 | type Foo = StorageValue; | ^^^^^ -error: Invalid pallet::storage, Duplicated named generic - --> tests/pallet_ui/storage_value_duplicate_named_generic.rs:36:29 +error: Invalid pezpallet::storage, Duplicated named generic + --> tests/pezpallet_ui/storage_value_duplicate_named_generic.rs:36:29 | 36 | type Foo = StorageValue; | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_generic_named_and_unnamed.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_generic_named_and_unnamed.stderr index d58c0445..b37cf05b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_generic_named_and_unnamed.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_generic_named_and_unnamed.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, invalid generic declaration for storage. Expect only type generics or binding generics, e.g. `` or ``. - --> tests/pallet_ui/storage_value_generic_named_and_unnamed.rs:36:16 +error: Invalid pezpallet::storage, invalid generic declaration for storage. Expect only type generics or binding generics, e.g. `` or ``. + --> tests/pezpallet_ui/storage_value_generic_named_and_unnamed.rs:36:16 | 36 | type Foo = StorageValue; | ^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_no_generic.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_no_generic.stderr index 688d7cc5..a99b52a8 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_no_generic.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_no_generic.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, invalid number of generic generic arguments, expect more that 0 generic arguments. - --> tests/pallet_ui/storage_value_no_generic.rs:36:16 +error: Invalid pezpallet::storage, invalid number of generic generic arguments, expect more that 0 generic arguments. + --> tests/pezpallet_ui/storage_value_no_generic.rs:36:16 | 36 | type Foo = StorageValue; | ^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_unexpected_named_generic.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_unexpected_named_generic.stderr index 32e12c89..7bdaf2c4 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_unexpected_named_generic.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_value_unexpected_named_generic.stderr @@ -1,11 +1,11 @@ -error: Invalid pallet::storage, Unexpected generic `P` for `StorageValue`. `StorageValue` expect generics `Value`, and optional generics `QueryKind`, `OnEmpty`. - --> tests/pallet_ui/storage_value_unexpected_named_generic.rs:36:29 +error: Invalid pezpallet::storage, Unexpected generic `P` for `StorageValue`. `StorageValue` expect generics `Value`, and optional generics `QueryKind`, `OnEmpty`. + --> tests/pezpallet_ui/storage_value_unexpected_named_generic.rs:36:29 | 36 | type Foo = StorageValue

; | ^ -error: Invalid pallet::storage, cannot find `Value` generic, required for `StorageValue`. - --> tests/pallet_ui/storage_value_unexpected_named_generic.rs:36:28 +error: Invalid pezpallet::storage, cannot find `Value` generic, required for `StorageValue`. + --> tests/pezpallet_ui/storage_value_unexpected_named_generic.rs:36:28 | 36 | type Foo = StorageValue

; | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_wrong_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_wrong_item.stderr index 3856d44d..3eabc187 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_wrong_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/storage_wrong_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::storage, expect item type. - --> tests/pallet_ui/storage_wrong_item.rs:36:2 +error: Invalid pezpallet::storage, expect item type. + --> tests/pezpallet_ui/storage_wrong_item.rs:36:2 | 36 | impl Foo {} | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_can_only_be_attached_to_impl.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_can_only_be_attached_to_impl.stderr index eaa8e718..73c5d49d 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_can_only_be_attached_to_impl.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_can_only_be_attached_to_impl.stderr @@ -1,5 +1,5 @@ error: expected `impl` - --> tests/pallet_ui/task_can_only_be_attached_to_impl.rs:30:5 + --> tests/pezpallet_ui/task_can_only_be_attached_to_impl.rs:30:5 | 30 | pub struct Task; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_condition_invalid_arg.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_condition_invalid_arg.stderr index 9c7bad81..dedff6db 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_condition_invalid_arg.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_condition_invalid_arg.stderr @@ -1,23 +1,23 @@ -error: unused import: `frame_system::pallet_prelude::OriginFor` - --> tests/pallet_ui/task_condition_invalid_arg.rs:21:6 +error: unused import: `pezframe_system::pezpallet_prelude::OriginFor` + --> tests/pezpallet_ui/task_condition_invalid_arg.rs:21:6 | -21 | use frame_system::pallet_prelude::OriginFor; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +21 | use pezframe_system::pezpallet_prelude::OriginFor; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` error[E0308]: mismatched types - --> tests/pallet_ui/task_condition_invalid_arg.rs:35:10 + --> tests/pezpallet_ui/task_condition_invalid_arg.rs:35:10 | -32 | #[pallet::task_condition(|flag: bool| flag)] - | ----------------- arguments to this function are incorrect +32 | #[pezpallet::task_condition(|flag: bool| flag)] + | ----------------- arguments to this function are incorrect ... 35 | fn foo(_i: u32) -> DispatchResult { | ^^ expected `bool`, found `u32` | note: closure parameter defined here - --> tests/pallet_ui/task_condition_invalid_arg.rs:32:29 + --> tests/pezpallet_ui/task_condition_invalid_arg.rs:32:32 | -32 | #[pallet::task_condition(|flag: bool| flag)] - | ^^^^^^^^^^ +32 | #[pezpallet::task_condition(|flag: bool| flag)] + | ^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_condition.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_condition.stderr index 05c0ba5e..a5991a02 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_condition.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_condition.stderr @@ -1,28 +1,28 @@ -error: unused import: `frame_system::pallet_prelude::OriginFor` - --> tests/pallet_ui/task_invalid_condition.rs:21:6 +error: unused import: `pezframe_system::pezpallet_prelude::OriginFor` + --> tests/pezpallet_ui/task_invalid_condition.rs:21:6 | -21 | use frame_system::pallet_prelude::OriginFor; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +21 | use pezframe_system::pezpallet_prelude::OriginFor; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` error[E0308]: mismatched types - --> tests/pallet_ui/task_invalid_condition.rs:18:1 + --> tests/pezpallet_ui/task_invalid_condition.rs:18:1 | -18 | #[frame_support::pallet(dev_mode)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +18 | #[pezframe_support::pezpallet(dev_mode)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected integer, found `()` | expected due to this | - = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `pezframe_support::pezpallet` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0618]: expected function, found `{integer}` - --> tests/pallet_ui/task_invalid_condition.rs:32:28 + --> tests/pezpallet_ui/task_invalid_condition.rs:32:31 | -18 | #[frame_support::pallet(dev_mode)] - | ---------------------------------- call expression requires function +18 | #[pezframe_support::pezpallet(dev_mode)] + | ---------------------------------------- call expression requires function ... -32 | #[pallet::task_condition(0)] - | ^ +32 | #[pezpallet::task_condition(0)] + | ^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen.stderr index 1dc9e3d4..83a5e6d9 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen.stderr @@ -1,5 +1,5 @@ error: Invalid generic declaration, trait is defined with instance but generic use none - --> tests/pallet_ui/task_invalid_gen.rs:32:11 + --> tests/pezpallet_ui/task_invalid_gen.rs:32:11 | 32 | pub enum Task {} | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen2.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen2.stderr index 448825e6..4f9820bf 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen2.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_gen2.stderr @@ -1,13 +1,13 @@ error: Invalid type def generics: expected `T` or `T: Config` or `T, I = ()` or `T: Config, I: 'static = ()` - --> tests/pallet_ui/task_invalid_gen2.rs:32:11 + --> tests/pezpallet_ui/task_invalid_gen2.rs:32:11 | 32 | pub enum Task {} | ^^^^ error: unexpected end of input, expected `T` - --> tests/pallet_ui/task_invalid_gen2.rs:18:1 + --> tests/pezpallet_ui/task_invalid_gen2.rs:18:1 | -18 | #[frame_support::pallet(dev_mode)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +18 | #[pezframe_support::pezpallet(dev_mode)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `pezframe_support::pezpallet` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_index.stderr index d3360045..bcfbc10b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_index.stderr @@ -1,5 +1,5 @@ error: expected integer literal - --> tests/pallet_ui/task_invalid_index.rs:31:24 + --> tests/pezpallet_ui/task_invalid_index.rs:31:27 | -31 | #[pallet::task_index("0")] - | ^^^ +31 | #[pezpallet::task_index("0")] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_list.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_list.stderr index 26abc277..262dc518 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_list.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_list.stderr @@ -1,20 +1,20 @@ -error: unused import: `frame_system::pallet_prelude::OriginFor` - --> tests/pallet_ui/task_invalid_list.rs:21:6 +error: unused import: `pezframe_system::pezpallet_prelude::OriginFor` + --> tests/pezpallet_ui/task_invalid_list.rs:21:6 | -21 | use frame_system::pallet_prelude::OriginFor; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +21 | use pezframe_system::pezpallet_prelude::OriginFor; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` error[E0689]: can't call method `map` on ambiguous numeric type `{integer}` - --> tests/pallet_ui/task_invalid_list.rs:18:1 + --> tests/pezpallet_ui/task_invalid_list.rs:18:1 | -18 | #[frame_support::pallet(dev_mode)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +18 | #[pezframe_support::pezpallet(dev_mode)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `pezframe_support::pezpallet` (in Nightly builds, run with -Z macro-backtrace for more info) help: you must specify a concrete type for this numeric value, like `i32` | -33 | #[pallet::task_list(0_i32)] - | ++++ +33 | #[pezpallet::task_list(0_i32)] + | ++++ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_weight.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_weight.stderr index 24e925a0..1c283054 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_weight.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_invalid_weight.stderr @@ -1,28 +1,28 @@ -error: unused import: `frame_system::pallet_prelude::OriginFor` - --> tests/pallet_ui/task_invalid_weight.rs:21:6 +error: unused import: `pezframe_system::pezpallet_prelude::OriginFor` + --> tests/pezpallet_ui/task_invalid_weight.rs:21:6 | -21 | use frame_system::pallet_prelude::OriginFor; - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +21 | use pezframe_system::pezpallet_prelude::OriginFor; + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `-D unused-imports` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(unused_imports)]` error[E0308]: mismatched types - --> tests/pallet_ui/task_invalid_weight.rs:18:1 + --> tests/pezpallet_ui/task_invalid_weight.rs:18:1 | -18 | #[frame_support::pallet(dev_mode)] - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +18 | #[pezframe_support::pezpallet(dev_mode)] + | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | expected integer, found `()` | expected due to this | - = note: this error originates in the attribute macro `frame_support::pallet` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the attribute macro `pezframe_support::pezpallet` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0308]: mismatched types - --> tests/pallet_ui/task_invalid_weight.rs:34:25 + --> tests/pezpallet_ui/task_invalid_weight.rs:34:28 | -18 | #[frame_support::pallet(dev_mode)] - | ---------------------------------- expected `Weight` because of return type +18 | #[pezframe_support::pezpallet(dev_mode)] + | ---------------------------------------- expected `Weight` because of return type ... -34 | #[pallet::task_weight("0")] - | ^^^ expected `Weight`, found `&str` +34 | #[pezpallet::task_weight("0")] + | ^^^ expected `Weight`, found `&str` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_condition.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_condition.stderr index c709ec7e..d4593d70 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_condition.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_condition.stderr @@ -1,5 +1,5 @@ -error: missing `#[pallet::task_condition(..)]` attribute - --> tests/pallet_ui/task_missing_condition.rs:32:6 +error: missing `#[pezpallet::task_condition(..)]` attribute + --> tests/pezpallet_ui/task_missing_condition.rs:32:6 | 32 | fn foo() -> DispatchResult { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_index.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_index.stderr index ba3c9d13..6c35d25e 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_index.stderr @@ -1,5 +1,5 @@ -error: missing `#[pallet::task_index(..)]` attribute - --> tests/pallet_ui/task_missing_index.rs:31:6 +error: missing `#[pezpallet::task_index(..)]` attribute + --> tests/pezpallet_ui/task_missing_index.rs:31:6 | 31 | fn foo() -> DispatchResult { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_list.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_list.stderr index f4ae26a7..f57ba889 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_list.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_list.stderr @@ -1,5 +1,5 @@ -error: missing `#[pallet::task_list(..)]` attribute - --> tests/pallet_ui/task_missing_list.rs:33:6 +error: missing `#[pezpallet::task_list(..)]` attribute + --> tests/pezpallet_ui/task_missing_list.rs:33:6 | 33 | fn foo() -> DispatchResult { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_weight.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_weight.stderr index de7b2eb1..2ad545ae 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_weight.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/task_missing_weight.stderr @@ -1,5 +1,5 @@ -error: missing `#[pallet::task_weight(..)]` attribute - --> tests/pallet_ui/task_missing_weight.rs:34:6 +error: missing `#[pezpallet::task_weight(..)]` attribute + --> tests/pezpallet_ui/task_missing_weight.rs:34:6 | 34 | fn foo() -> DispatchResult { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound.stderr index a9dbdd23..99e6bcab 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound.stderr @@ -1,5 +1,5 @@ -error: Invalid usage of `#[pallet::constant]`: `Get` trait bound not found - --> tests/pallet_ui/trait_constant_invalid_bound.rs:26:3 +error: Invalid usage of `#[pezpallet::constant]`: `Get` trait bound not found + --> tests/pezpallet_ui/trait_constant_invalid_bound.rs:26:3 | 26 | type U; | ^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound_lifetime.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound_lifetime.stderr index 7d14aad6..7f82ab5b 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound_lifetime.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_constant_invalid_bound_lifetime.stderr @@ -1,5 +1,5 @@ -error: Invalid usage of `#[pallet::constant]`: Expected a type argument - --> tests/pallet_ui/trait_constant_invalid_bound_lifetime.rs:26:15 +error: Invalid usage of `#[pezpallet::constant]`: Expected a type argument + --> tests/pezpallet_ui/trait_constant_invalid_bound_lifetime.rs:26:15 | 26 | type U: Get<'static>; | ^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_invalid_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_invalid_item.stderr index bf000020..ac32f7a4 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_invalid_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_invalid_item.stderr @@ -1,5 +1,5 @@ -error: Invalid #[pallet::constant] in #[pallet::config], expected type item - --> tests/pallet_ui/trait_invalid_item.rs:26:3 +error: Invalid #[pezpallet::constant] in #[pezpallet::config], expected type item + --> tests/pezpallet_ui/trait_invalid_item.rs:26:3 | 26 | const U: u8 = 3; | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_constant_attr.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_constant_attr.stderr index 75ae829f..67f0ecf3 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_constant_attr.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_constant_attr.stderr @@ -1,5 +1,5 @@ -error: Duplicate #[pallet::constant] attribute not allowed. - --> tests/pallet_ui/trait_item_duplicate_constant_attr.rs:26:4 +error: Duplicate #[pezpallet::constant] attribute not allowed. + --> tests/pezpallet_ui/trait_item_duplicate_constant_attr.rs:26:4 | -26 | #[pallet::constant] - | ^^^^^^^^^^^^^^^^^^ +26 | #[pezpallet::constant] + | ^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_no_default.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_no_default.stderr index 8162af2e..a5ce6f93 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_no_default.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_item_duplicate_no_default.stderr @@ -1,5 +1,5 @@ -error: Duplicate #[pallet::no_default] attribute not allowed. - --> tests/pallet_ui/trait_item_duplicate_no_default.rs:27:4 +error: Duplicate #[pezpallet::no_default] attribute not allowed. + --> tests/pezpallet_ui/trait_item_duplicate_no_default.rs:27:4 | -27 | #[pallet::no_default] - | ^^^^^^^^^^^^^^^^^^^^ +27 | #[pezpallet::no_default] + | ^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_no_supertrait.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_no_supertrait.stderr index e18ed29d..62c0cc51 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_no_supertrait.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/trait_no_supertrait.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::trait, expected explicit `frame_system::Config` as supertrait, found none. (try `pub trait Config: frame_system::Config { ...` or `pub trait Config: frame_system::Config { ...`). To disable this check, use `#[pallet::disable_frame_system_supertrait_check]` - --> tests/pallet_ui/trait_no_supertrait.rs:24:2 +error: Invalid pezpallet::trait, expected explicit `pezframe_system::Config` as supertrait, found none. (try `pub trait Config: pezframe_system::Config { ...` or `pub trait Config: pezframe_system::Config { ...`). To disable this check, use `#[pezpallet::disable_pezframe_system_supertrait_check]` + --> tests/pezpallet_ui/trait_no_supertrait.rs:24:2 | 24 | pub trait Config { | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_error_in_block.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_error_in_block.stderr index 0b13dcff..53cf23f7 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_error_in_block.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_error_in_block.stderr @@ -1,5 +1,5 @@ error[E0599]: no function or associated item named `new` found for type `u32` in the current scope - --> tests/pallet_ui/type_value_error_in_block.rs:37:8 + --> tests/pezpallet_ui/type_value_error_in_block.rs:37:8 | 37 | u32::new() | ^^^ function or associated item not found in `u32` diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_forgotten_where_clause.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_forgotten_where_clause.stderr index 93b0caaf..5a1eadbe 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_forgotten_where_clause.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_forgotten_where_clause.stderr @@ -1,53 +1,53 @@ -error[E0277]: the trait bound `::AccountId: From` is not satisfied - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:41:34 +error[E0277]: the trait bound `::AccountId: From` is not satisfied + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:41:37 | -41 | #[pallet::type_value] fn Foo() -> u32 { 3u32 } - | ^^^^^^ the trait `From` is not implemented for `::AccountId` +41 | #[pezpallet::type_value] fn Foo() -> u32 { 3u32 } + | ^^^^^^ the trait `From` is not implemented for `::AccountId` | -note: required by a bound in `pallet::Config` - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:25:51 +note: required by a bound in `pezpallet::Config` + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:25:54 | -24 | pub trait Config: frame_system::Config +24 | pub trait Config: pezframe_system::Config | ------ required by a bound in this trait -25 | where ::AccountId: From - | ^^^^^^^^^ required by this bound in `Config` +25 | where ::AccountId: From + | ^^^^^^^^^ required by this bound in `Config` help: consider further restricting the associated type | -41 | #[pallet::type_value] fn Foo() -> u32 where ::AccountId: From { 3u32 } - | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ +41 | #[pezpallet::type_value] fn Foo() -> u32 where ::AccountId: From { 3u32 } + | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -error[E0277]: the trait bound `::AccountId: From` is not satisfied - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:41:12 +error[E0277]: the trait bound `::AccountId: From` is not satisfied + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:41:15 | -41 | #[pallet::type_value] fn Foo() -> u32 { 3u32 } - | ^^^^^^^^^^ the trait `From` is not implemented for `::AccountId` +41 | #[pezpallet::type_value] fn Foo() -> u32 { 3u32 } + | ^^^^^^^^^^ the trait `From` is not implemented for `::AccountId` | -note: required by a bound in `pallet::Config` - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:25:51 +note: required by a bound in `pezpallet::Config` + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:25:54 | -24 | pub trait Config: frame_system::Config +24 | pub trait Config: pezframe_system::Config | ------ required by a bound in this trait -25 | where ::AccountId: From - | ^^^^^^^^^ required by this bound in `Config` +25 | where ::AccountId: From + | ^^^^^^^^^ required by this bound in `Config` help: consider further restricting the associated type | -41 | #[pallet::type_value where ::AccountId: From] fn Foo() -> u32 { 3u32 } - | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ +41 | #[pezpallet::type_value where ::AccountId: From] fn Foo() -> u32 { 3u32 } + | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -error[E0277]: the trait bound `::AccountId: From` is not satisfied - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:41:12 +error[E0277]: the trait bound `::AccountId: From` is not satisfied + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:41:15 | -41 | #[pallet::type_value] fn Foo() -> u32 { 3u32 } - | ^^^^^^^^^^ the trait `From` is not implemented for `::AccountId` +41 | #[pezpallet::type_value] fn Foo() -> u32 { 3u32 } + | ^^^^^^^^^^ the trait `From` is not implemented for `::AccountId` | -note: required by a bound in `pallet::Config` - --> tests/pallet_ui/type_value_forgotten_where_clause.rs:25:51 +note: required by a bound in `pezpallet::Config` + --> tests/pezpallet_ui/type_value_forgotten_where_clause.rs:25:54 | -24 | pub trait Config: frame_system::Config +24 | pub trait Config: pezframe_system::Config | ------ required by a bound in this trait -25 | where ::AccountId: From - | ^^^^^^^^^ required by this bound in `Config` +25 | where ::AccountId: From + | ^^^^^^^^^ required by this bound in `Config` help: consider further restricting the associated type | -41 | #[pallet::type_value] fn Foo() -> u32 where ::AccountId: From { 3u32 } - | +++++++++++++++++++++++++++++++++++++++++++++++++++++++ +41 | #[pezpallet::type_value] fn Foo() -> u32 where ::AccountId: From { 3u32 } + | ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_invalid_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_invalid_item.stderr index 94fe8841..a759ae9e 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_invalid_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_invalid_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::type_value, expected item fn - --> tests/pallet_ui/type_value_invalid_item.rs:35:24 +error: Invalid pezpallet::type_value, expected item fn + --> tests/pezpallet_ui/type_value_invalid_item.rs:35:27 | -35 | #[pallet::type_value] struct Foo; - | ^^^^^^ +35 | #[pezpallet::type_value] struct Foo; + | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_no_return.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_no_return.stderr index 58c45dfe..259eedae 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_no_return.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/type_value_no_return.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::type_value, expected return type - --> tests/pallet_ui/type_value_no_return.rs:35:24 +error: Invalid pezpallet::type_value, expected return type + --> tests/pezpallet_ui/type_value_no_return.rs:35:27 | -35 | #[pallet::type_value] fn Foo() {} - | ^^ +35 | #[pezpallet::type_value] fn Foo() {} + | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_invalid_item.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_invalid_item.stderr index f0a4604d..47f2a254 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_invalid_item.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_invalid_item.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::view_functions, expected a function - --> tests/pallet_ui/view_function_invalid_item.rs:30:3 +error: Invalid pezpallet::view_functions, expected a function + --> tests/pezpallet_ui/view_function_invalid_item.rs:30:3 | 30 | pub const SECONDS_PER_MINUTE: u32 = 60; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_no_return.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_no_return.stderr index 689253e1..96c467c9 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_no_return.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_no_return.stderr @@ -1,5 +1,5 @@ error: view functions must return a value - --> tests/pallet_ui/view_function_no_return.rs:33:7 + --> tests/pezpallet_ui/view_function_no_return.rs:33:7 | 33 | pub fn get_value() { | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_not_public.stderr b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_not_public.stderr index 3a638038..29cbfe2d 100644 --- a/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_not_public.stderr +++ b/bizinikiwi/pezframe/support/test/tests/pezpallet_ui/view_function_not_public.stderr @@ -1,5 +1,5 @@ -error: Invalid pallet::view_functions, view function must be public: `pub fn` - --> tests/pallet_ui/view_function_not_public.rs:33:3 +error: Invalid pezpallet::view_functions, view function must be public: `pub fn` + --> tests/pezpallet_ui/view_function_not_public.rs:33:3 | 33 | fn get_value() -> Option { | ^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_index.stderr index 8963c5d3..4d0829f3 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_index.stderr @@ -1,11 +1,11 @@ -error: Pallet indices are conflicting: Both pallets System and Pallet are at index 0 +error: Pezpallet indices are conflicting: Both pallets System and Pezpallet are at index 0 --> tests/runtime_ui/conflicting_pallet_index.rs:37:14 | -37 | pub type System = frame_system; +37 | pub type System = pezframe_system; | ^^^^^^ -error: Pallet indices are conflicting: Both pallets System and Pallet are at index 0 +error: Pezpallet indices are conflicting: Both pallets System and Pezpallet are at index 0 --> tests/runtime_ui/conflicting_pallet_index.rs:40:14 | -40 | pub type Pallet = pallet; - | ^^^^^^ +40 | pub type Pezpallet = pezpallet; + | ^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_name.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_name.stderr index c250c24e..7c1b337f 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pallet_name.stderr @@ -1,11 +1,11 @@ error: Two pallets with the same name! --> tests/runtime_ui/conflicting_pallet_name.rs:37:14 | -37 | pub type System = frame_system; +37 | pub type System = pezframe_system; | ^^^^^^ error: Two pallets with the same name! --> tests/runtime_ui/conflicting_pallet_name.rs:40:14 | -40 | pub type System = pallet; +40 | pub type System = pezpallet; | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_index.stderr index 8963c5d3..f467108f 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_index.stderr @@ -1,11 +1,11 @@ -error: Pallet indices are conflicting: Both pallets System and Pallet are at index 0 - --> tests/runtime_ui/conflicting_pallet_index.rs:37:14 +error: Pezpallet indices are conflicting: Both pallets System and Pezpallet are at index 0 + --> tests/runtime_ui/conflicting_pezpallet_index.rs:37:14 | -37 | pub type System = frame_system; +37 | pub type System = pezframe_system; | ^^^^^^ -error: Pallet indices are conflicting: Both pallets System and Pallet are at index 0 - --> tests/runtime_ui/conflicting_pallet_index.rs:40:14 +error: Pezpallet indices are conflicting: Both pallets System and Pezpallet are at index 0 + --> tests/runtime_ui/conflicting_pezpallet_index.rs:40:14 | -40 | pub type Pallet = pallet; - | ^^^^^^ +40 | pub type Pezpallet = pezpallet; + | ^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_name.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_name.stderr index c250c24e..865e5304 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_name.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/conflicting_pezpallet_name.stderr @@ -1,11 +1,11 @@ error: Two pallets with the same name! - --> tests/runtime_ui/conflicting_pallet_name.rs:37:14 + --> tests/runtime_ui/conflicting_pezpallet_name.rs:37:14 | -37 | pub type System = frame_system; +37 | pub type System = pezframe_system; | ^^^^^^ error: Two pallets with the same name! - --> tests/runtime_ui/conflicting_pallet_name.rs:40:14 + --> tests/runtime_ui/conflicting_pezpallet_name.rs:40:14 | -40 | pub type System = pallet; +40 | pub type System = pezpallet; | ^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_attribute.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_attribute.stderr index e1355241..2d1c7b65 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_attribute.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_attribute.stderr @@ -1,5 +1,5 @@ -error: Invalid runtime macro call: unexpected attribute. Macro call must be bare, such as `#[frame_support::runtime]` or `#[runtime]`, or must specify the `legacy_ordering` attribute, such as `#[frame_support::runtime(legacy_ordering)]` or #[runtime(legacy_ordering)]. - --> tests/runtime_ui/invalid_attribute.rs:18:26 +error: Invalid runtime macro call: unexpected attribute. Macro call must be bare, such as `#[pezframe_support::runtime]` or `#[runtime]`, or must specify the `legacy_ordering` attribute, such as `#[pezframe_support::runtime(legacy_ordering)]` or #[runtime(legacy_ordering)]. + --> tests/runtime_ui/invalid_attribute.rs:18:29 | -18 | #[frame_support::runtime(dummy)] - | ^^^^^ +18 | #[pezframe_support::runtime(dummy)] + | ^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pallet_index.stderr index 1fbd086d..5cc89785 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pallet_index.stderr @@ -1,5 +1,5 @@ error: expected integer literal - --> tests/runtime_ui/invalid_pallet_index.rs:24:29 + --> tests/runtime_ui/invalid_pallet_index.rs:24:32 | -24 | #[runtime::pallet_index("0")] - | ^^^ +24 | #[runtime::pezpallet_index("0")] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pezpallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pezpallet_index.stderr index 1fbd086d..21b8ad20 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pezpallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/invalid_pezpallet_index.stderr @@ -1,5 +1,5 @@ error: expected integer literal - --> tests/runtime_ui/invalid_pallet_index.rs:24:29 + --> tests/runtime_ui/invalid_pezpallet_index.rs:24:32 | -24 | #[runtime::pallet_index("0")] - | ^^^ +24 | #[runtime::pezpallet_index("0")] + | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pallet_index.stderr index a2cbaa48..291cb275 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pallet_index.stderr @@ -1,5 +1,5 @@ -error: Missing pallet index for pallet declaration. Please add `#[runtime::pallet_index(...)]` +error: Missing pezpallet index for pezpallet declaration. Please add `#[runtime::pezpallet_index(...)]` --> tests/runtime_ui/missing_pallet_index.rs:24:5 | -24 | pub type System = frame_system; +24 | pub type System = pezframe_system; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pezpallet_index.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pezpallet_index.stderr index a2cbaa48..223dbb92 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pezpallet_index.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_pezpallet_index.stderr @@ -1,5 +1,5 @@ -error: Missing pallet index for pallet declaration. Please add `#[runtime::pallet_index(...)]` - --> tests/runtime_ui/missing_pallet_index.rs:24:5 +error: Missing pezpallet index for pezpallet declaration. Please add `#[runtime::pezpallet_index(...)]` + --> tests/runtime_ui/missing_pezpallet_index.rs:24:5 | -24 | pub type System = frame_system; +24 | pub type System = pezframe_system; | ^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_system_pallet.stderr b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_system_pallet.stderr index dc3ac4cd..a27e0e02 100644 --- a/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_system_pallet.stderr +++ b/bizinikiwi/pezframe/support/test/tests/runtime_ui/missing_system_pallet.stderr @@ -1,4 +1,4 @@ -error: `System` pallet declaration is missing. Please add this line: `pub type System = frame_system;` +error: `System` pezpallet declaration is missing. Please add this line: `pub type System = pezframe_system;` --> tests/runtime_ui/missing_system_pallet.rs:19:5 | 19 | mod runtime { diff --git a/bizinikiwi/pezframe/support/test/tests/split_ui/import_without_pallet.stderr b/bizinikiwi/pezframe/support/test/tests/split_ui/import_without_pallet.stderr index 4db71c59..8e9c7413 100644 --- a/bizinikiwi/pezframe/support/test/tests/split_ui/import_without_pallet.stderr +++ b/bizinikiwi/pezframe/support/test/tests/split_ui/import_without_pallet.stderr @@ -1,5 +1,5 @@ -error: `#[import_section]` can only be applied to a valid pallet module +error: `#[import_section]` can only be applied to a valid pezpallet module --> tests/split_ui/import_without_pallet.rs:29:9 | -29 | pub mod pallet { - | ^^^^^^ +29 | pub mod pezpallet { + | ^^^^^^^^^ diff --git a/bizinikiwi/pezframe/support/test/tests/split_ui/no_section_found.stderr b/bizinikiwi/pezframe/support/test/tests/split_ui/no_section_found.stderr index 486543c1..c3c7f074 100644 --- a/bizinikiwi/pezframe/support/test/tests/split_ui/no_section_found.stderr +++ b/bizinikiwi/pezframe/support/test/tests/split_ui/no_section_found.stderr @@ -1,8 +1,8 @@ -error[E0432]: unresolved import `pallet` +error[E0432]: unresolved import `pezpallet` --> tests/split_ui/no_section_found.rs:22:9 | -22 | pub use pallet::*; - | ^^^^^^ help: a similar path exists: `test_pallet::pallet` +22 | pub use pezpallet::*; + | ^^^^^^^^^ help: a similar path exists: `test_pezpallet::pezpallet` error: cannot find macro `__export_tokens_tt_storages_dev` in this scope --> tests/split_ui/no_section_found.rs:24:1 @@ -10,4 +10,4 @@ error: cannot find macro `__export_tokens_tt_storages_dev` in this scope 24 | #[import_section(storages_dev)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | - = note: this error originates in the macro `frame_support::macro_magic::forward_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) + = note: this error originates in the macro `pezframe_support::macro_magic::forward_tokens` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/bizinikiwi/scripts/run_all_benchmarks.sh b/bizinikiwi/scripts/run_all_benchmarks.sh index 915312cb..94397b45 100755 --- a/bizinikiwi/scripts/run_all_benchmarks.sh +++ b/bizinikiwi/scripts/run_all_benchmarks.sh @@ -133,11 +133,11 @@ for PALLET in "${PALLETS[@]}"; do echo "[+] Benchmarking $PALLET with weight file $WEIGHT_FILE"; OUTPUT=$( - $BIZINIKIWI benchmark pallet \ + $BIZINIKIWI benchmark pezpallet \ --chain=dev \ --steps=50 \ --repeat=20 \ - --pallet="$PALLET" \ + --pezpallet="$PALLET" \ --extrinsic="*" \ --wasm-execution=compiled \ --heap-pages=4096 \ diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/command.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/command.rs index 4e5db32f..ad9b1509 100644 --- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/command.rs +++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/command.rs @@ -633,13 +633,13 @@ impl PalletCmd { /// Whether this pezpallet should be run. fn pezpallet_selected(&self, pezpallet: &Vec) -> bool { - let include = self.pallets.clone(); + let include = self.pezpallet.clone(); let included = include.is_empty() || include.iter().any(|p| p.as_bytes() == pezpallet) || include.iter().any(|p| p == "*") || include.iter().any(|p| p == "all"); - let excluded = self.exclude_pallets.iter().any(|p| p.as_bytes() == pezpallet); + let excluded = self.exclude_pezpallets.iter().any(|p| p.as_bytes() == pezpallet); included && !excluded } diff --git a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs index a38c328f..386ab1b8 100644 --- a/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs +++ b/bizinikiwi/utils/pezframe/benchmarking-cli/src/pezpallet/mod.rs @@ -50,18 +50,18 @@ pub enum ListOutput { /// Benchmark the extrinsic weight of FRAME Pallets. #[derive(Debug, clap::Parser)] pub struct PalletCmd { - /// Select a FRAME Pallets to benchmark, or `*` for all (in which case `extrinsic` must be + /// Select a FRAME Pezpallets to benchmark, or `*` for all (in which case `extrinsic` must be /// `*`). - #[arg(short, long, alias = "pezpallet", num_args = 1.., value_delimiter = ',', value_parser = parse_pallet_name, required_unless_present_any = ["list", "json_input", "all"], default_value_if("all", "true", Some("*".into())))] - pub pallets: Vec, + #[arg(short, long, alias = "pallet", num_args = 1.., value_delimiter = ',', value_parser = parse_pallet_name, required_unless_present_any = ["list", "json_input", "all"], default_value_if("all", "true", Some("*".into())))] + pub pezpallet: Vec, /// Select an extrinsic inside the pezpallet to benchmark, or `*` or 'all' for all. #[arg(short, long, required_unless_present_any = ["list", "json_input", "all"], default_value_if("all", "true", Some("*".into())))] pub extrinsic: Option, - /// Comma separated list of pallets that should be excluded from the benchmark. + /// Comma separated list of pezpallets that should be excluded from the benchmark. #[arg(long, value_parser, num_args = 1.., value_delimiter = ',')] - pub exclude_pallets: Vec, + pub exclude_pezpallets: Vec, /// Comma separated list of `pezpallet::extrinsic` combinations that should not be run. /// diff --git a/pezbridges/snowbridge/LICENSE b/pezbridges/pezsnowbridge/LICENSE similarity index 100% rename from pezbridges/snowbridge/LICENSE rename to pezbridges/pezsnowbridge/LICENSE diff --git a/pezbridges/snowbridge/README.md b/pezbridges/pezsnowbridge/README.md similarity index 100% rename from pezbridges/snowbridge/README.md rename to pezbridges/pezsnowbridge/README.md diff --git a/pezbridges/snowbridge/docs/v2.md b/pezbridges/pezsnowbridge/docs/v2.md similarity index 100% rename from pezbridges/snowbridge/docs/v2.md rename to pezbridges/pezsnowbridge/docs/v2.md diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/README.md b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/README.md rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/README.md diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/benchmark.md b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/benchmark.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/benchmark.md rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/benchmark.md diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/fixtures/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/benchmarking/mod.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/benchmarking/util.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/config/altair.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/altair.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/config/altair.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/altair.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/config/electra.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/electra.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/config/electra.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/electra.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/config/mod.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/mod.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/config/mod.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/config/mod.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/functions.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/functions.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/functions.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/functions.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/impls.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/impls.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/impls.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/impls.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/tests.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/tests.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/tests.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/tests.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/types.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/types.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/types.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/types.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/execution-proof.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/finalized-header-update.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/inbound-message.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/initial-checkpoint.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/interim-finalized-header-update.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/next-finalized-header-update.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/next-sync-committee-update.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-newer.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0-older.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update-period-0.json diff --git a/pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json b/pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json similarity index 100% rename from pezbridges/snowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json rename to pezbridges/pezsnowbridge/pezpallets/ethereum-client/tests/fixtures/sync-committee-update.json diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/README.md b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/README.md rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/README.md diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/fixtures/src/register_token.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/test.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/test.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/test.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/test.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue-v2/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue-v2/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/README.md b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/README.md rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/README.md diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/register_token.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_native_eth.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_token.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/fixtures/src/send_token_to_penpal.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/benchmarking/mod.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/envelope.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/envelope.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/envelope.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/envelope.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/test.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/test.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/test.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/test.rs diff --git a/pezbridges/snowbridge/pezpallets/inbound-queue/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/inbound-queue/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/inbound-queue/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/runtime-api/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/api.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/api.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/api.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/api.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/fixture.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/fixture.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/fixture.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/fixture.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/process_message_impl.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/send_message_impl.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/test.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/test.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/test.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/test.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/types.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/types.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/types.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/types.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue-v2/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue-v2/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/README.md b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/README.md rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/README.md diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/README.md b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/README.md rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/README.md diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/runtime-api/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/api.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/api.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/api.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/api.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/process_message_impl.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/process_message_impl.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/process_message_impl.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/process_message_impl.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/send_message_impl.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/send_message_impl.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/send_message_impl.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/send_message_impl.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/test.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/test.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/test.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/test.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/types.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/types.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/types.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/types.rs diff --git a/pezbridges/snowbridge/pezpallets/outbound-queue/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/outbound-queue/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/outbound-queue/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/system-frontend/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/backend_weights.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/backend_weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/backend_weights.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/backend_weights.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/tests.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/tests.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/tests.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/tests.rs diff --git a/pezbridges/snowbridge/pezpallets/system-frontend/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/system-frontend/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-frontend/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/system-frontend/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/system-v2/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/system-v2/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/system-v2/README.md b/pezbridges/pezsnowbridge/pezpallets/system-v2/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/README.md rename to pezbridges/pezsnowbridge/pezpallets/system-v2/README.md diff --git a/pezbridges/snowbridge/pezpallets/system-v2/runtime-api/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/runtime-api/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/system-v2/runtime-api/README.md b/pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/runtime-api/README.md rename to pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/README.md diff --git a/pezbridges/snowbridge/pezpallets/system-v2/runtime-api/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/runtime-api/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/runtime-api/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/api.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/api.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/api.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/api.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/tests.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/tests.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/tests.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/tests.rs diff --git a/pezbridges/snowbridge/pezpallets/system-v2/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/system-v2/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system-v2/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/system-v2/src/weights.rs diff --git a/pezbridges/snowbridge/pezpallets/system/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/system/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/system/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/system/README.md b/pezbridges/pezsnowbridge/pezpallets/system/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/README.md rename to pezbridges/pezsnowbridge/pezpallets/system/README.md diff --git a/pezbridges/snowbridge/pezpallets/system/runtime-api/Cargo.toml b/pezbridges/pezsnowbridge/pezpallets/system/runtime-api/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/runtime-api/Cargo.toml rename to pezbridges/pezsnowbridge/pezpallets/system/runtime-api/Cargo.toml diff --git a/pezbridges/snowbridge/pezpallets/system/runtime-api/README.md b/pezbridges/pezsnowbridge/pezpallets/system/runtime-api/README.md similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/runtime-api/README.md rename to pezbridges/pezsnowbridge/pezpallets/system/runtime-api/README.md diff --git a/pezbridges/snowbridge/pezpallets/system/runtime-api/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/system/runtime-api/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/runtime-api/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/system/runtime-api/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/api.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/api.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/api.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/api.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/benchmarking.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/benchmarking.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/benchmarking.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/benchmarking.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/lib.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/lib.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/lib.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/migration.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/migration.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/migration.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/migration.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/mock.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/mock.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/mock.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/mock.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/tests.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/tests.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/tests.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/tests.rs diff --git a/pezbridges/snowbridge/pezpallets/system/src/weights.rs b/pezbridges/pezsnowbridge/pezpallets/system/src/weights.rs similarity index 100% rename from pezbridges/snowbridge/pezpallets/system/src/weights.rs rename to pezbridges/pezsnowbridge/pezpallets/system/src/weights.rs diff --git a/pezbridges/snowbridge/primitives/beacon/Cargo.toml b/pezbridges/pezsnowbridge/primitives/beacon/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/beacon/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/beacon/README.md b/pezbridges/pezsnowbridge/primitives/beacon/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/README.md rename to pezbridges/pezsnowbridge/primitives/beacon/README.md diff --git a/pezbridges/snowbridge/primitives/beacon/src/bits.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/bits.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/bits.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/bits.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/bls.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/bls.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/bls.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/bls.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/config.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/config.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/config.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/config.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/lib.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/merkle_proof.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/merkle_proof.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/merkle_proof.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/merkle_proof.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/receipt.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/receipt.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/receipt.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/receipt.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/serde_utils.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/serde_utils.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/serde_utils.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/serde_utils.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/ssz.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/ssz.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/ssz.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/ssz.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/types.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/types.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/types.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/types.rs diff --git a/pezbridges/snowbridge/primitives/beacon/src/updates.rs b/pezbridges/pezsnowbridge/primitives/beacon/src/updates.rs similarity index 100% rename from pezbridges/snowbridge/primitives/beacon/src/updates.rs rename to pezbridges/pezsnowbridge/primitives/beacon/src/updates.rs diff --git a/pezbridges/snowbridge/primitives/core/Cargo.toml b/pezbridges/pezsnowbridge/primitives/core/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/core/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/core/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/core/README.md b/pezbridges/pezsnowbridge/primitives/core/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/core/README.md rename to pezbridges/pezsnowbridge/primitives/core/README.md diff --git a/pezbridges/snowbridge/primitives/core/src/digest_item.rs b/pezbridges/pezsnowbridge/primitives/core/src/digest_item.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/digest_item.rs rename to pezbridges/pezsnowbridge/primitives/core/src/digest_item.rs diff --git a/pezbridges/snowbridge/primitives/core/src/lib.rs b/pezbridges/pezsnowbridge/primitives/core/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/core/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/core/src/location.rs b/pezbridges/pezsnowbridge/primitives/core/src/location.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/location.rs rename to pezbridges/pezsnowbridge/primitives/core/src/location.rs diff --git a/pezbridges/snowbridge/primitives/core/src/operating_mode.rs b/pezbridges/pezsnowbridge/primitives/core/src/operating_mode.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/operating_mode.rs rename to pezbridges/pezsnowbridge/primitives/core/src/operating_mode.rs diff --git a/pezbridges/snowbridge/primitives/core/src/pricing.rs b/pezbridges/pezsnowbridge/primitives/core/src/pricing.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/pricing.rs rename to pezbridges/pezsnowbridge/primitives/core/src/pricing.rs diff --git a/pezbridges/snowbridge/primitives/core/src/reward.rs b/pezbridges/pezsnowbridge/primitives/core/src/reward.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/reward.rs rename to pezbridges/pezsnowbridge/primitives/core/src/reward.rs diff --git a/pezbridges/snowbridge/primitives/core/src/ringbuffer.rs b/pezbridges/pezsnowbridge/primitives/core/src/ringbuffer.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/ringbuffer.rs rename to pezbridges/pezsnowbridge/primitives/core/src/ringbuffer.rs diff --git a/pezbridges/snowbridge/primitives/core/src/sparse_bitmap.rs b/pezbridges/pezsnowbridge/primitives/core/src/sparse_bitmap.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/sparse_bitmap.rs rename to pezbridges/pezsnowbridge/primitives/core/src/sparse_bitmap.rs diff --git a/pezbridges/snowbridge/primitives/core/src/tests.rs b/pezbridges/pezsnowbridge/primitives/core/src/tests.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/src/tests.rs rename to pezbridges/pezsnowbridge/primitives/core/src/tests.rs diff --git a/pezbridges/snowbridge/primitives/core/tests/mod.rs b/pezbridges/pezsnowbridge/primitives/core/tests/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/core/tests/mod.rs rename to pezbridges/pezsnowbridge/primitives/core/tests/mod.rs diff --git a/pezbridges/snowbridge/primitives/ethereum/Cargo.toml b/pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/ethereum/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/ethereum/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/ethereum/README.md b/pezbridges/pezsnowbridge/primitives/ethereum/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/ethereum/README.md rename to pezbridges/pezsnowbridge/primitives/ethereum/README.md diff --git a/pezbridges/snowbridge/primitives/ethereum/src/lib.rs b/pezbridges/pezsnowbridge/primitives/ethereum/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/ethereum/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/ethereum/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/ethereum/src/mpt.rs b/pezbridges/pezsnowbridge/primitives/ethereum/src/mpt.rs similarity index 100% rename from pezbridges/snowbridge/primitives/ethereum/src/mpt.rs rename to pezbridges/pezsnowbridge/primitives/ethereum/src/mpt.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/Cargo.toml b/pezbridges/pezsnowbridge/primitives/inbound-queue/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/inbound-queue/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/inbound-queue/README.md b/pezbridges/pezsnowbridge/primitives/inbound-queue/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/README.md rename to pezbridges/pezsnowbridge/primitives/inbound-queue/README.md diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/lib.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/v1.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/v1.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/v1.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/converter.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/v2/converter.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/converter.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v2/message.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/message.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/v2/message.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/message.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/v2/mod.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/mod.rs diff --git a/pezbridges/snowbridge/primitives/inbound-queue/src/v2/traits.rs b/pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/traits.rs similarity index 100% rename from pezbridges/snowbridge/primitives/inbound-queue/src/v2/traits.rs rename to pezbridges/pezsnowbridge/primitives/inbound-queue/src/v2/traits.rs diff --git a/pezbridges/snowbridge/primitives/merkle-tree/Cargo.toml b/pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/merkle-tree/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/merkle-tree/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/merkle-tree/README.md b/pezbridges/pezsnowbridge/primitives/merkle-tree/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/merkle-tree/README.md rename to pezbridges/pezsnowbridge/primitives/merkle-tree/README.md diff --git a/pezbridges/snowbridge/primitives/merkle-tree/src/lib.rs b/pezbridges/pezsnowbridge/primitives/merkle-tree/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/merkle-tree/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/merkle-tree/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/Cargo.toml b/pezbridges/pezsnowbridge/primitives/outbound-queue/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/outbound-queue/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/lib.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/lib.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/converter/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v1/converter/mod.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/converter/mod.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/converter/tests.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v1/converter/tests.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/converter/tests.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v1/message.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/message.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v1/message.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/message.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v1/mod.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v1/mod.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v1/mod.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/convert.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/convert.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/convert.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/mod.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/mod.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/tests.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/converter/tests.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/converter/tests.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/delivery_receipt.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/delivery_receipt.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/delivery_receipt.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/delivery_receipt.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/exporter.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/exporter.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/exporter.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/message.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/message.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/message.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/message.rs diff --git a/pezbridges/snowbridge/primitives/outbound-queue/src/v2/mod.rs b/pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/mod.rs similarity index 100% rename from pezbridges/snowbridge/primitives/outbound-queue/src/v2/mod.rs rename to pezbridges/pezsnowbridge/primitives/outbound-queue/src/v2/mod.rs diff --git a/pezbridges/snowbridge/primitives/verification/Cargo.toml b/pezbridges/pezsnowbridge/primitives/verification/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/primitives/verification/Cargo.toml rename to pezbridges/pezsnowbridge/primitives/verification/Cargo.toml diff --git a/pezbridges/snowbridge/primitives/verification/README.md b/pezbridges/pezsnowbridge/primitives/verification/README.md similarity index 100% rename from pezbridges/snowbridge/primitives/verification/README.md rename to pezbridges/pezsnowbridge/primitives/verification/README.md diff --git a/pezbridges/snowbridge/primitives/verification/src/lib.rs b/pezbridges/pezsnowbridge/primitives/verification/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/primitives/verification/src/lib.rs rename to pezbridges/pezsnowbridge/primitives/verification/src/lib.rs diff --git a/pezbridges/snowbridge/runtime/runtime-common/Cargo.toml b/pezbridges/pezsnowbridge/runtime/runtime-common/Cargo.toml similarity index 92% rename from pezbridges/snowbridge/runtime/runtime-common/Cargo.toml rename to pezbridges/pezsnowbridge/runtime/runtime-common/Cargo.toml index ea2c52e0..1ed8cd89 100644 --- a/pezbridges/snowbridge/runtime/runtime-common/Cargo.toml +++ b/pezbridges/pezsnowbridge/runtime/runtime-common/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "snowpezbridge-runtime-common" +name = "pezsnowbridge-runtime-common" description = "Snowbridge Runtime Common" version = "0.2.0" authors = ["Snowfork "] @@ -7,7 +7,7 @@ edition.workspace = true repository.workspace = true license = "Apache-2.0" categories = ["cryptography::cryptocurrencies"] -documentation = "https://docs.rs/snowpezbridge-runtime-common" +documentation = "https://docs.pezkuwichain.io/pezsnowbridge-runtime-common" homepage = { workspace = true } [lints] diff --git a/pezbridges/snowbridge/runtime/runtime-common/README.md b/pezbridges/pezsnowbridge/runtime/runtime-common/README.md similarity index 100% rename from pezbridges/snowbridge/runtime/runtime-common/README.md rename to pezbridges/pezsnowbridge/runtime/runtime-common/README.md diff --git a/pezbridges/snowbridge/runtime/runtime-common/src/lib.rs b/pezbridges/pezsnowbridge/runtime/runtime-common/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/runtime/runtime-common/src/lib.rs rename to pezbridges/pezsnowbridge/runtime/runtime-common/src/lib.rs diff --git a/pezbridges/snowbridge/runtime/runtime-common/src/v2/mod.rs b/pezbridges/pezsnowbridge/runtime/runtime-common/src/v2/mod.rs similarity index 100% rename from pezbridges/snowbridge/runtime/runtime-common/src/v2/mod.rs rename to pezbridges/pezsnowbridge/runtime/runtime-common/src/v2/mod.rs diff --git a/pezbridges/snowbridge/runtime/runtime-common/src/v2/register_token.rs b/pezbridges/pezsnowbridge/runtime/runtime-common/src/v2/register_token.rs similarity index 100% rename from pezbridges/snowbridge/runtime/runtime-common/src/v2/register_token.rs rename to pezbridges/pezsnowbridge/runtime/runtime-common/src/v2/register_token.rs diff --git a/pezbridges/snowbridge/runtime/test-common/Cargo.toml b/pezbridges/pezsnowbridge/runtime/test-common/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/runtime/test-common/Cargo.toml rename to pezbridges/pezsnowbridge/runtime/test-common/Cargo.toml diff --git a/pezbridges/snowbridge/runtime/test-common/README.md b/pezbridges/pezsnowbridge/runtime/test-common/README.md similarity index 100% rename from pezbridges/snowbridge/runtime/test-common/README.md rename to pezbridges/pezsnowbridge/runtime/test-common/README.md diff --git a/pezbridges/snowbridge/runtime/test-common/src/lib.rs b/pezbridges/pezsnowbridge/runtime/test-common/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/runtime/test-common/src/lib.rs rename to pezbridges/pezsnowbridge/runtime/test-common/src/lib.rs diff --git a/pezbridges/snowbridge/scripts/benchmark.sh b/pezbridges/pezsnowbridge/scripts/benchmark.sh similarity index 85% rename from pezbridges/snowbridge/scripts/benchmark.sh rename to pezbridges/pezsnowbridge/scripts/benchmark.sh index f7a55b01..d705c465 100755 --- a/pezbridges/snowbridge/scripts/benchmark.sh +++ b/pezbridges/pezsnowbridge/scripts/benchmark.sh @@ -5,9 +5,9 @@ pushd ../pezcumulus cargo run --release --bin pezkuwi-teyrchain \ --features runtime-benchmarks \ -- \ -benchmark pallet \ +benchmark pezpallet \ --chain=bridge-hub-pezkuwichain-dev \ ---pallet=snowbridge_pallet_ethereum_client \ +--pezpallet=snowbridge_pallet_ethereum_client \ --extrinsic="*" \ --execution=wasm --wasm-execution=compiled \ --steps 50 --repeat 20 \ diff --git a/pezbridges/snowbridge/scripts/contribute-upstream.sh b/pezbridges/pezsnowbridge/scripts/contribute-upstream.sh similarity index 100% rename from pezbridges/snowbridge/scripts/contribute-upstream.sh rename to pezbridges/pezsnowbridge/scripts/contribute-upstream.sh diff --git a/pezbridges/snowbridge/scripts/hexliteral.sh b/pezbridges/pezsnowbridge/scripts/hexliteral.sh similarity index 100% rename from pezbridges/snowbridge/scripts/hexliteral.sh rename to pezbridges/pezsnowbridge/scripts/hexliteral.sh diff --git a/pezbridges/snowbridge/scripts/init.sh b/pezbridges/pezsnowbridge/scripts/init.sh similarity index 100% rename from pezbridges/snowbridge/scripts/init.sh rename to pezbridges/pezsnowbridge/scripts/init.sh diff --git a/pezbridges/snowbridge/scripts/make-build-config.sh b/pezbridges/pezsnowbridge/scripts/make-build-config.sh similarity index 100% rename from pezbridges/snowbridge/scripts/make-build-config.sh rename to pezbridges/pezsnowbridge/scripts/make-build-config.sh diff --git a/pezbridges/snowbridge/test-utils/Cargo.toml b/pezbridges/pezsnowbridge/test-utils/Cargo.toml similarity index 100% rename from pezbridges/snowbridge/test-utils/Cargo.toml rename to pezbridges/pezsnowbridge/test-utils/Cargo.toml diff --git a/pezbridges/snowbridge/test-utils/src/lib.rs b/pezbridges/pezsnowbridge/test-utils/src/lib.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/lib.rs rename to pezbridges/pezsnowbridge/test-utils/src/lib.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_converter.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_converter.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_converter.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_converter.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_inbound_queue.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_inbound_queue.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_inbound_queue.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_inbound_queue.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_origin.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_origin.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_origin.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_origin.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_outbound_queue.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_outbound_queue.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_outbound_queue.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_outbound_queue.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_rewards.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_rewards.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_rewards.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_rewards.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_swap_executor.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_swap_executor.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_swap_executor.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_swap_executor.rs diff --git a/pezbridges/snowbridge/test-utils/src/mock_xcm.rs b/pezbridges/pezsnowbridge/test-utils/src/mock_xcm.rs similarity index 100% rename from pezbridges/snowbridge/test-utils/src/mock_xcm.rs rename to pezbridges/pezsnowbridge/test-utils/src/mock_xcm.rs diff --git a/pezcumulus/scripts/benchmarks-ci.sh b/pezcumulus/scripts/benchmarks-ci.sh index 3ce72622..14e748ba 100755 --- a/pezcumulus/scripts/benchmarks-ci.sh +++ b/pezcumulus/scripts/benchmarks-ci.sh @@ -38,11 +38,11 @@ do output_dir="xcm/" extra_args="--template=./templates/xcm-bench-template.hbs" fi - $artifactsDir/pezkuwi-teyrchain benchmark pallet \ + $artifactsDir/pezkuwi-teyrchain benchmark pezpallet \ $extra_args \ --chain=$benchmarkRuntimeName \ --wasm-execution=compiled \ - --pallet=$pallet \ + --pezpallet=$pallet \ --extrinsic='*' \ --steps=$steps \ --repeat=$repeat \ diff --git a/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs b/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs index 792d523d..2bfce39d 100644 --- a/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs +++ b/pezcumulus/teyrchains/pezpallets/presale/src/lib.rs @@ -453,7 +453,7 @@ pub mod pezpallet { Distributed { presale_id: PresaleId, who: T::AccountId, amount: u128 }, /// Refund processed [presale_id, who, amount, fee] Refunded { presale_id: PresaleId, who: T::AccountId, amount: u128, fee: u128 }, - /// Presale cancelled [presale_id] + /// Presale cancelled PresaleCancelled { presale_id: PresaleId }, /// Platform fee distributed [treasury_share, burn_share, staker_share] PlatformFeeDistributed { treasury_share: u128, burn_share: u128, staker_share: u128 }, diff --git a/pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs b/pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs index 3f26a78f..2939aab6 100644 --- a/pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs +++ b/pezcumulus/teyrchains/pezpallets/tiki/src/ensure.rs @@ -2,21 +2,6 @@ //! //! This module provides `EnsureOrigin` implementations that verify //! the caller holds a specific Tiki role (Serok, Wezir, or Parlementer). -//! -//! # Feature Unification Note -//! -//! Due to Cargo's feature unification behavior, this pezpallet must be excluded -//! from `cargo check --benches` operations when its `runtime-benchmarks` feature -//! is not explicitly enabled. The CI workflow (tests-misc.yml) handles this -//! by excluding pezpallet-tiki and all its dependents. -//! -//! The issue: When building with `--benches`, other packages may enable -//! `pezframe-support/runtime-benchmarks`, which makes `EnsureOrigin::try_successful_origin` -//! a required trait method. However, if `pezpallet-tiki/runtime-benchmarks` is not enabled, -//! our cfg-gated method won't be compiled, causing E0046 errors. -//! -//! CI exclusion: .github/workflows/tests-misc.yml excludes this pezpallet with: -//! `--exclude pezpallet-tiki` in the `cargo check --benches` command. use crate::{Config, Pezpallet as TikiPallet}; use pezframe_support::traits::EnsureOrigin; diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml index 2eb4b6ad..372c9879 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/Cargo.toml @@ -138,7 +138,7 @@ bp-bridge-hub-zagros = { workspace = true } pezpallet-xcm-bridge-hub-router = { workspace = true } pezsnowbridge-outbound-queue-primitives = { workspace = true } pezsnowbridge-pezpallet-system-frontend = { workspace = true } -snowpezbridge-runtime-common = { workspace = true } +pezsnowbridge-runtime-common = { workspace = true } [dev-dependencies] alloy-core = { workspace = true, features = ["sol-types"] } @@ -247,7 +247,7 @@ runtime-benchmarks = [ "pezsp-staking/runtime-benchmarks", "pezsp-transaction-pool/runtime-benchmarks", "pezsp-version/runtime-benchmarks", - "snowpezbridge-runtime-common/runtime-benchmarks", + "pezsnowbridge-runtime-common/runtime-benchmarks", "testnet-teyrchains-constants/runtime-benchmarks", "teyrchain-info/runtime-benchmarks", "teyrchains-common/runtime-benchmarks", @@ -320,7 +320,7 @@ try-runtime = [ "pezpallet-xcm/try-runtime", "pezsnowbridge-pezpallet-system-frontend/try-runtime", "pezsp-runtime/try-runtime", - "snowpezbridge-runtime-common/try-runtime", + "pezsnowbridge-runtime-common/try-runtime", "teyrchain-info/try-runtime", "teyrchains-common/try-runtime", ] @@ -428,7 +428,7 @@ std = [ "primitive-types/std", "scale-info/std", "serde_json/std", - "snowpezbridge-runtime-common/std", + "pezsnowbridge-runtime-common/std", "testnet-teyrchains-constants/std", "teyrchain-info/std", "teyrchains-common/std", diff --git a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs index 0901e286..e2da305b 100644 --- a/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs +++ b/pezcumulus/teyrchains/runtimes/assets/asset-hub-zagros/src/bridge_to_ethereum_config.rs @@ -26,7 +26,7 @@ use crate::{ use assets_common::{matching::FromSiblingTeyrchain, AssetIdForTrustBackedAssetsConvert}; use pezframe_support::{parameter_types, traits::EitherOf}; use pezframe_system::EnsureRootWithSuccess; -use snowpezbridge_runtime_common::{ForeignAssetOwner, LocalAssetOwner}; +use pezsnowbridge_runtime_common::{ForeignAssetOwner, LocalAssetOwner}; use testnet_teyrchains_constants::zagros::snowbridge::{EthereumNetwork, FRONTEND_PALLET_INDEX}; use teyrchains_common::AssetIdForTrustBackedAssets; use xcm::prelude::{InteriorLocation, Location, PalletInstance}; diff --git a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs index e2b203f3..8fae0240 100644 --- a/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs +++ b/pezcumulus/teyrchains/runtimes/people/people-pezkuwichain/src/lib.rs @@ -99,7 +99,7 @@ pub type BlockId = generic::BlockId; /// The TransactionExtension to the basic transaction logic. /// Includes SkipCheckIfFeeless to exempt governance members from fees -/// when using #[pezpallet::feeless_if] marked extrinsics. +/// when using `#[pezpallet::feeless_if]` marked extrinsics. pub type TxExtension = pezcumulus_pezpallet_weight_reclaim::StorageWeightReclaim< Runtime, ( diff --git a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/Cargo.toml b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/Cargo.toml index 4fcbec8a..79755463 100644 --- a/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/Cargo.toml +++ b/pezcumulus/teyrchains/runtimes/testing/yet-another-teyrchain/Cargo.toml @@ -23,6 +23,7 @@ pezsp-runtime = { workspace = true } pezkuwi-sdk = { workspace = true, default-features = false, features = [ # Primitives needed for runtime "pezsp-api", + "pezsp-io", "pezsp-block-builder", "pezsp-consensus-aura", "pezsp-core", diff --git a/pezkuwi/runtime/common/src/paras_registrar/mod.rs b/pezkuwi/runtime/common/src/paras_registrar/mod.rs index 2a68d7a0..a867774d 100644 --- a/pezkuwi/runtime/common/src/paras_registrar/mod.rs +++ b/pezkuwi/runtime/common/src/paras_registrar/mod.rs @@ -19,7 +19,7 @@ pub mod migration; -use alloc::vec::Vec; +use alloc::{vec, vec::Vec}; use core::result; use pezframe_support::{ dispatch::DispatchResult, diff --git a/umbrella/Cargo.toml b/umbrella/Cargo.toml index 2345920e..49406ba4 100644 --- a/umbrella/Cargo.toml +++ b/umbrella/Cargo.toml @@ -1,6 +1,5 @@ [package] name = "pezkuwi-sdk" -version = "0.1.0" description = "Pezkuwi SDK umbrella crate." license = "Apache-2.0" @@ -59,9 +58,6 @@ std = [ "pezkuwi-runtime-teyrchains?/std", "pezkuwi-sdk-frame?/std", "pezkuwi-ss58-registry?/std", - "pezkuwi-subxt-core?/std", - "pezkuwi-subxt-metadata?/std", - "pezkuwi-subxt-signer?/std", "pezkuwi-teyrchain-primitives?/std", "pezpallet-alliance?/std", "pezpallet-asset-conversion-ops?/std", @@ -145,6 +141,7 @@ std = [ "pezpallet-remark?/std", "pezpallet-revive?/std", "pezpallet-root-offences?/std", + "pezpallet-root-testing?/std", "pezpallet-safe-mode?/std", "pezpallet-salary?/std", "pezpallet-scheduler?/std", @@ -176,6 +173,7 @@ std = [ "pezpallet-verify-signature?/std", "pezpallet-vesting?/std", "pezpallet-whitelist?/std", + "pezpallet-xcm-benchmarks?/std", "pezpallet-xcm-bridge-hub-router?/std", "pezpallet-xcm-bridge-hub?/std", "pezpallet-xcm-precompiles?/std", @@ -467,6 +465,7 @@ runtime-benchmarks = [ "pezpallet-verify-signature?/runtime-benchmarks", "pezpallet-vesting?/runtime-benchmarks", "pezpallet-whitelist?/runtime-benchmarks", + "pezpallet-xcm-benchmarks?/runtime-benchmarks", "pezpallet-xcm-bridge-hub-router?/runtime-benchmarks", "pezpallet-xcm-bridge-hub?/runtime-benchmarks", "pezpallet-xcm-precompiles?/runtime-benchmarks", @@ -655,6 +654,7 @@ try-runtime = [ "pezpallet-remark?/try-runtime", "pezpallet-revive?/try-runtime", "pezpallet-root-offences?/try-runtime", + "pezpallet-root-testing?/try-runtime", "pezpallet-safe-mode?/try-runtime", "pezpallet-salary?/try-runtime", "pezpallet-scheduler?/try-runtime", @@ -691,7 +691,6 @@ serde = [ "bp-pezkuwi-core?/serde", "pezframe-benchmarking?/serde", "pezframe-metadata?/serde", - "pezkuwi-subxt-signer?/serde", "pezpallet-asset-tx-payment?/serde", "pezpallet-beefy-mmr?/serde", "pezpallet-beefy?/serde", @@ -793,10 +792,6 @@ runtime-full = [ "pezkuwi-runtime-teyrchains", "pezkuwi-sdk-frame", "pezkuwi-ss58-registry", - "pezkuwi-subxt-core", - "pezkuwi-subxt-macro", - "pezkuwi-subxt-metadata", - "pezkuwi-subxt-signer", "pezkuwi-teyrchain-primitives", "pezpallet-alliance", "pezpallet-asset-conversion", @@ -883,6 +878,7 @@ runtime-full = [ "pezpallet-revive-proc-macro", "pezpallet-revive-uapi", "pezpallet-root-offences", + "pezpallet-root-testing", "pezpallet-safe-mode", "pezpallet-salary", "pezpallet-scheduler", @@ -916,6 +912,7 @@ runtime-full = [ "pezpallet-vesting", "pezpallet-whitelist", "pezpallet-xcm", + "pezpallet-xcm-benchmarks", "pezpallet-xcm-bridge-hub", "pezpallet-xcm-bridge-hub-router", "pezpallet-xcm-precompiles", @@ -1070,9 +1067,16 @@ node = [ "pezkuwi-statement-distribution", "pezkuwi-statement-table", "pezkuwi-subxt", + "pezkuwi-subxt?/native", "pezkuwi-subxt-codegen", + "pezkuwi-subxt-core", "pezkuwi-subxt-lightclient", + "pezkuwi-subxt-lightclient?/native", + "pezkuwi-subxt-macro", + "pezkuwi-subxt-metadata", "pezkuwi-subxt-rpcs", + "pezkuwi-subxt-rpcs?/native", + "pezkuwi-subxt-signer", "pezkuwi-subxt-utils-fetchmetadata", "pezkuwi-subxt-utils-stripmetadata", "pezmmr-gadget", @@ -1891,6 +1895,11 @@ default-features = false optional = true path = "../bizinikiwi/pezframe/root-offences" +[dependencies.pezpallet-root-testing] +default-features = false +optional = true +path = "../bizinikiwi/pezframe/root-testing" + [dependencies.pezpallet-safe-mode] default-features = false optional = true @@ -2056,6 +2065,11 @@ default-features = false optional = true path = "../pezkuwi/xcm/pezpallet-xcm" +[dependencies.pezpallet-xcm-benchmarks] +default-features = false +optional = true +path = "../pezkuwi/xcm/pezpallet-xcm-benchmarks" + [dependencies.pezpallet-xcm-bridge-hub] default-features = false optional = true diff --git a/umbrella/src/lib.rs b/umbrella/src/lib.rs index 1f1a2d67..dcec3253 100644 --- a/umbrella/src/lib.rs +++ b/umbrella/src/lib.rs @@ -923,6 +923,10 @@ pub use pezpallet_revive_uapi; #[cfg(feature = "pezpallet-root-offences")] pub use pezpallet_root_offences; +/// FRAME root testing pezpallet. +#[cfg(feature = "pezpallet-root-testing")] +pub use pezpallet_root_testing; + /// FRAME safe-mode pezpallet. #[cfg(feature = "pezpallet-safe-mode")] pub use pezpallet_safe_mode; @@ -1059,6 +1063,10 @@ pub use pezpallet_whitelist; #[cfg(feature = "pezpallet-xcm")] pub use pezpallet_xcm; +/// XCM benchmarking pallet. +#[cfg(feature = "pezpallet-xcm-benchmarks")] +pub use pezpallet_xcm_benchmarks; + /// Module that adds dynamic bridges/lanes support to XCM infrastructure at the bridge hub. #[cfg(feature = "pezpallet-xcm-bridge-hub")] pub use pezpallet_xcm_bridge_hub; diff --git a/vendor/pezkuwi-subxt/core/src/tx/payload.rs b/vendor/pezkuwi-subxt/core/src/tx/payload.rs index 8561392c..7533daef 100644 --- a/vendor/pezkuwi-subxt/core/src/tx/payload.rs +++ b/vendor/pezkuwi-subxt/core/src/tx/payload.rs @@ -222,7 +222,7 @@ mod tests { use scale_value::Composite; fn test_metadata() -> Metadata { - let metadata_bytes = include_bytes!("../../../artifacts/pezkuwi_metadata_small.scale"); + let metadata_bytes = include_bytes!("../../../artifacts/polkadot_metadata_small.scale"); Metadata::decode(&mut &metadata_bytes[..]).expect("Valid metadata") } diff --git a/vendor/pezkuwi-subxt/core/src/utils/account_id.rs b/vendor/pezkuwi-subxt/core/src/utils/account_id.rs index 91abd6aa..57c28df8 100644 --- a/vendor/pezkuwi-subxt/core/src/utils/account_id.rs +++ b/vendor/pezkuwi-subxt/core/src/utils/account_id.rs @@ -162,8 +162,8 @@ impl core::str::FromStr for AccountId32 { #[cfg(test)] mod test { use super::*; - use sp_core::{self, crypto::Ss58Codec}; - use sp_keyring::sr25519::Keyring; + use pezsp_core::{self, crypto::Ss58Codec}; + use pezsp_keyring::sr25519::Keyring; #[test] fn ss58_is_compatible_with_bizinikiwi_impl() { @@ -179,7 +179,7 @@ mod test { // Both should decode from ss58 back to the same: assert_eq!( - sp_core::crypto::AccountId32::from_ss58check(&bizinikiwi_ss58).unwrap(), + pezsp_core::crypto::AccountId32::from_ss58check(&bizinikiwi_ss58).unwrap(), bizinikiwi_account ); assert_eq!(AccountId32::from_ss58check(&bizinikiwi_ss58).unwrap(), local_account); diff --git a/vendor/pezkuwi-subxt/lightclient/src/lib.rs b/vendor/pezkuwi-subxt/lightclient/src/lib.rs index a210ed8f..c6b2abdd 100644 --- a/vendor/pezkuwi-subxt/lightclient/src/lib.rs +++ b/vendor/pezkuwi-subxt/lightclient/src/lib.rs @@ -8,11 +8,10 @@ #![deny(missing_docs)] #![cfg_attr(docsrs, feature(doc_cfg))] -#[cfg(any( - all(feature = "web", feature = "native"), - not(any(feature = "web", feature = "native")) -))] -compile_error!("subxt-lightclient: exactly one of the 'web' and 'native' features should be used."); +// Note: When both 'web' and 'native' features are enabled (e.g., --all-features), +// 'native' takes priority. This allows CI to run with --all-features. +#[cfg(not(any(feature = "web", feature = "native")))] +compile_error!("subxt-lightclient: at least one of the 'web' or 'native' features must be enabled."); mod platform; mod shared_client; @@ -246,12 +245,13 @@ impl Stream for LightClientRpcSubscription { } /// A quick helper to spawn a task that works for WASM. +/// When both 'native' and 'web' are enabled, 'native' takes priority. fn spawn(future: F) { #[cfg(feature = "native")] tokio::spawn(async move { future.await; }); - #[cfg(feature = "web")] + #[cfg(all(feature = "web", not(feature = "native")))] wasm_bindgen_futures::spawn_local(async move { future.await; }); diff --git a/vendor/pezkuwi-subxt/lightclient/src/platform/mod.rs b/vendor/pezkuwi-subxt/lightclient/src/platform/mod.rs index 32ac5ea1..c46c2f50 100644 --- a/vendor/pezkuwi-subxt/lightclient/src/platform/mod.rs +++ b/vendor/pezkuwi-subxt/lightclient/src/platform/mod.rs @@ -3,12 +3,13 @@ // see LICENSE for license details. //! Default platform for WASM environments. +//! When both 'native' and 'web' features are enabled, 'native' takes priority. -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] mod wasm_helpers; -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] mod wasm_platform; -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] mod wasm_socket; pub use helpers::{build_platform, DefaultPlatform}; @@ -25,7 +26,7 @@ mod helpers { } } -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] mod helpers { use super::wasm_platform::SubxtPlatform as Platform; diff --git a/vendor/pezkuwi-subxt/macro/src/wasm_loader.rs b/vendor/pezkuwi-subxt/macro/src/wasm_loader.rs index 913cd4f0..854e259e 100644 --- a/vendor/pezkuwi-subxt/macro/src/wasm_loader.rs +++ b/vendor/pezkuwi-subxt/macro/src/wasm_loader.rs @@ -7,9 +7,9 @@ use std::{borrow::Cow, path::Path}; use codec::{Decode, Encode}; use pezkuwi_subxt_codegen::{CodegenError, Metadata}; use pezkuwi_subxt_metadata::SUPPORTED_METADATA_VERSIONS; -use sc_executor::{WasmExecutionMethod, WasmExecutor}; -use sc_executor_common::runtime_blob::RuntimeBlob; -use sp_maybe_compressed_blob::{self, CODE_BLOB_BOMB_LIMIT}; +use pezsc_executor::{WasmExecutionMethod, WasmExecutor}; +use pezsc_executor_common::runtime_blob::RuntimeBlob; +use pezsp_maybe_compressed_blob::{self, CODE_BLOB_BOMB_LIMIT}; /// Result type shorthand pub type WasmMetadataResult = Result; @@ -39,24 +39,24 @@ fn decode(encoded_metadata: Vec) -> WasmMetadataResult { } fn maybe_decompress(file_contents: Vec) -> WasmMetadataResult> { - sp_maybe_compressed_blob::decompress(file_contents.as_ref(), CODE_BLOB_BOMB_LIMIT) + pezsp_maybe_compressed_blob::decompress(file_contents.as_ref(), CODE_BLOB_BOMB_LIMIT) .map_err(|e| CodegenError::Wasm(e.to_string())) .map(Cow::into_owned) } struct Executor { runtime_blob: RuntimeBlob, - executor: WasmExecutor, - externalities: sp_state_machine::BasicExternalities, + executor: WasmExecutor, + externalities: pezsp_state_machine::BasicExternalities, } impl Executor { fn new(wasm_file: &[u8]) -> WasmMetadataResult { - let externalities: sp_state_machine::BasicExternalities = Default::default(); + let externalities: pezsp_state_machine::BasicExternalities = Default::default(); - let executor: WasmExecutor = WasmExecutor::builder() + let executor: WasmExecutor = WasmExecutor::builder() .with_execution_method(WasmExecutionMethod::default()) - .with_offchain_heap_alloc_strategy(sc_executor::HeapAllocStrategy::Dynamic { + .with_offchain_heap_alloc_strategy(pezsc_executor::HeapAllocStrategy::Dynamic { maximum_pages: Some(64), }) .with_max_runtime_instances(1) diff --git a/vendor/pezkuwi-subxt/metadata/Cargo.toml b/vendor/pezkuwi-subxt/metadata/Cargo.toml index f218527b..65b7f780 100644 --- a/vendor/pezkuwi-subxt/metadata/Cargo.toml +++ b/vendor/pezkuwi-subxt/metadata/Cargo.toml @@ -50,6 +50,7 @@ bitvec = { workspace = true, features = ["alloc"] } criterion = { workspace = true } frame-decode = { workspace = true, features = ["legacy-types"] } pezkuwi-subxt-codegen = { workspace = true } +pezkuwi-subxt-utils-stripmetadata = { workspace = true } scale-info = { workspace = true, features = ["bit-vec"] } [lib] diff --git a/vendor/pezkuwi-subxt/metadata/benches/bench.rs b/vendor/pezkuwi-subxt/metadata/benches/bench.rs index d08bf6fd..c243a69a 100644 --- a/vendor/pezkuwi-subxt/metadata/benches/bench.rs +++ b/vendor/pezkuwi-subxt/metadata/benches/bench.rs @@ -11,7 +11,7 @@ use pezkuwi_subxt_metadata::Metadata; use std::{fs, path::Path}; fn load_metadata() -> Metadata { - let bytes = fs::read(Path::new("../artifacts/pezkuwi_metadata_full.scale")) + let bytes = fs::read(Path::new("../artifacts/polkadot_metadata_full.scale")) .expect("Cannot read metadata blob"); let meta: RuntimeMetadataPrefixed = Decode::decode(&mut &*bytes).expect("Cannot decode scale metadata"); diff --git a/vendor/pezkuwi-subxt/metadata/src/from/legacy/tests.rs b/vendor/pezkuwi-subxt/metadata/src/from/legacy/tests.rs index 24b17910..36ab5c7f 100644 --- a/vendor/pezkuwi-subxt/metadata/src/from/legacy/tests.rs +++ b/vendor/pezkuwi-subxt/metadata/src/from/legacy/tests.rs @@ -35,7 +35,8 @@ fn legacy_kusama_metadata(version: u8) -> (u64, RuntimeMetadata) { /// Load our kusama types. /// TODO: This is WRONG at the moment; change to point to kusama types when they exist: fn kusama_types() -> scale_info_legacy::ChainTypeRegistry { - frame_decode::legacy_types::pezkuwi::relay_chain() + // frame-decode is an external crate (v0.15.0) that uses original naming + frame_decode::legacy_types::polkadot::relay_chain() } /// Sanitizing paths changes things between old and new, so disable this in tests by default diff --git a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs index c8d0518d..489f823d 100644 --- a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs +++ b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/mod.rs @@ -159,7 +159,7 @@ pub struct RpcClient { tx: mpsc::UnboundedSender, } -/// Builder for [`Client`]. +/// Builder for [`RpcClient`]. #[derive(Clone, Debug)] pub struct RpcClientBuilder

{ max_request_size: u32, diff --git a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/platform.rs b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/platform.rs index 2fc9965b..10c034f5 100644 --- a/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/platform.rs +++ b/vendor/pezkuwi-subxt/rpcs/src/client/reconnecting_rpc_client/platform.rs @@ -2,6 +2,9 @@ // This file is dual-licensed as Apache-2.0 or GPL-3.0. // see LICENSE for license details. +//! Platform-specific implementations. +//! When both 'native' and 'web' features are enabled, 'native' takes priority. + use super::{RpcClientBuilder, RpcError}; use jsonrpsee::core::client::Client; use std::sync::Arc; @@ -10,7 +13,7 @@ use url::Url; #[cfg(feature = "native")] pub use tokio::spawn; -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] pub use wasm_bindgen_futures::spawn_local as spawn; #[cfg(feature = "native")] @@ -56,7 +59,7 @@ pub async fn ws_client

( Ok(Arc::new(client)) } -#[cfg(feature = "web")] +#[cfg(all(feature = "web", not(feature = "native")))] pub async fn ws_client

( url: &Url, builder: &RpcClientBuilder

, diff --git a/vendor/pezkuwi-subxt/rpcs/src/lib.rs b/vendor/pezkuwi-subxt/rpcs/src/lib.rs index ddd26717..16639a80 100644 --- a/vendor/pezkuwi-subxt/rpcs/src/lib.rs +++ b/vendor/pezkuwi-subxt/rpcs/src/lib.rs @@ -19,11 +19,10 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#[cfg(any( - all(feature = "web", feature = "native"), - not(any(feature = "web", feature = "native")) -))] -compile_error!("subxt-rpcs: exactly one of the 'web' and 'native' features should be used."); +// Note: When both 'web' and 'native' features are enabled (e.g., --all-features), +// 'native' takes priority. This allows CI to run with --all-features. +#[cfg(not(any(feature = "web", feature = "native")))] +compile_error!("subxt-rpcs: at least one of the 'web' or 'native' features must be enabled."); mod macros; diff --git a/vendor/pezkuwi-subxt/signer/src/ecdsa.rs b/vendor/pezkuwi-subxt/signer/src/ecdsa.rs index d986af3b..30badcb8 100644 --- a/vendor/pezkuwi-subxt/signer/src/ecdsa.rs +++ b/vendor/pezkuwi-subxt/signer/src/ecdsa.rs @@ -352,7 +352,7 @@ mod test { use super::*; - use sp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair}; + use pezsp_core::{self, crypto::Pair as _, ecdsa::Pair as SpPair}; #[test] fn check_from_phrase_matches() { @@ -413,7 +413,7 @@ mod test { #[test] fn check_signing_and_verifying_matches() { - use sp_core::ecdsa::Signature as SpSignature; + use pezsp_core::ecdsa::Signature as SpSignature; for _ in 0..20 { let (sp_pair, phrase, _seed) = SpPair::generate_with_phrase(Some("Testing")); diff --git a/vendor/pezkuwi-subxt/signer/src/eth.rs b/vendor/pezkuwi-subxt/signer/src/eth.rs index 81b42eda..c9c882fc 100644 --- a/vendor/pezkuwi-subxt/signer/src/eth.rs +++ b/vendor/pezkuwi-subxt/signer/src/eth.rs @@ -104,7 +104,7 @@ impl Keypair { self.0.secret_key() } - /// Obtain the [`eth::PublicKey`] of this keypair. + /// Obtain the [`PublicKey`] of this keypair. pub fn public_key(&self) -> PublicKey { let uncompressed = self.0 .0.public_key().serialize_uncompressed(); PublicKey(uncompressed) diff --git a/vendor/pezkuwi-subxt/signer/src/pezkuwi_js_compat.rs b/vendor/pezkuwi-subxt/signer/src/pezkuwi_js_compat.rs index 563e2ecd..dd0472d4 100644 --- a/vendor/pezkuwi-subxt/signer/src/pezkuwi_js_compat.rs +++ b/vendor/pezkuwi-subxt/signer/src/pezkuwi_js_compat.rs @@ -19,7 +19,7 @@ use crate::sr25519; /// Given a JSON keypair as exported from Pezkuwi-JS, this returns an [`sr25519::Keypair`] pub fn decrypt_json(json: &str, password: &str) -> Result { let pair_json: KeyringPairJson = serde_json::from_str(json)?; - Ok(pair_json.decrypt(password)?) + pair_json.decrypt(password) } /// Error diff --git a/vendor/pezkuwi-subxt/signer/src/sr25519.rs b/vendor/pezkuwi-subxt/signer/src/sr25519.rs index ba89dce3..414b05c5 100644 --- a/vendor/pezkuwi-subxt/signer/src/sr25519.rs +++ b/vendor/pezkuwi-subxt/signer/src/sr25519.rs @@ -341,7 +341,7 @@ mod test { use super::*; - use sp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair}; + use pezsp_core::{self, crypto::Pair as _, sr25519::Pair as SpPair}; #[test] fn check_from_phrase_matches() { @@ -399,7 +399,7 @@ mod test { #[test] fn check_dev_accounts_match() { - use sp_keyring::sr25519::Keyring::*; + use pezsp_keyring::sr25519::Keyring::*; assert_eq!(dev::alice().public_key().0, Alice.public().0); assert_eq!(dev::bob().public_key().0, Bob.public().0); @@ -413,7 +413,7 @@ mod test { #[test] fn check_signing_and_verifying_matches() { - use sp_core::sr25519::Signature as SpSignature; + use pezsp_core::sr25519::Signature as SpSignature; for _ in 0..20 { let (sp_pair, phrase, _seed) = SpPair::generate_with_phrase(Some("Testing")); diff --git a/vendor/pezkuwi-subxt/subxt/examples/bizinikiwi_compat_signer.rs b/vendor/pezkuwi-subxt/subxt/examples/bizinikiwi_compat_signer.rs index 8584e944..a6c2c8df 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/bizinikiwi_compat_signer.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/bizinikiwi_compat_signer.rs @@ -6,10 +6,10 @@ #![allow(missing_docs, unused)] -use pezkuwi_subxt::{config::bizinikiwi::MultiAddress, Config, OnlineClient, PezkuwiConfig}; -use sp_core::{sr25519, Pair as _}; +use pezkuwi_subxt::{Config, OnlineClient, PezkuwiConfig}; +use pezsp_core::{sr25519, Pair as _}; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} /// A concrete PairSigner implementation which relies on `sr25519::Pair` for signing @@ -20,7 +20,7 @@ mod pair_signer { config::bizinikiwi::{AccountId32, MultiSignature}, tx::Signer, }; - use sp_runtime::{ + use pezsp_runtime::{ traits::{IdentifyAccount, Verify}, MultiSignature as SpMultiSignature, }; @@ -90,7 +90,7 @@ async fn main() -> Result<(), Box> { let dest = { let acc = sr25519::Pair::from_string("//Bob", None)?; - MultiAddress::Address32(acc.public().0) + pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Address32(acc.public().0) }; // Build a balance transfer extrinsic. diff --git a/vendor/pezkuwi-subxt/subxt/examples/block_decoding_static.rs b/vendor/pezkuwi-subxt/subxt/examples/block_decoding_static.rs index 3fbaa044..93d39f06 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/block_decoding_static.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/block_decoding_static.rs @@ -1,15 +1,17 @@ #![allow(missing_docs)] use pezkuwi_subxt::{ - utils::{AccountId32, MultiAddress}, + utils::{AccountId32 as UtilAccountId32, MultiAddress as UtilMultiAddress}, OnlineClient, PezkuwiConfig, }; use codec::Decode; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} use pezkuwi::balances::calls::types::TransferKeepAlive; +use pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress; +use pezkuwi::runtime_types::sp_core::crypto::AccountId32; #[tokio::main] async fn main() -> Result<(), Box> { @@ -37,9 +39,10 @@ async fn main() -> Result<(), Box> { let addr_bytes = transfer.details.address_bytes().expect("TransferKeepAlive should be signed"); - let sender = MultiAddress::::decode(&mut &addr_bytes[..]) + // Use utility types for decoding as they implement the Decode trait + let sender = UtilMultiAddress::::decode(&mut &addr_bytes[..]) .expect("Decoding should work"); - let sender = display_address(&sender); + let sender = display_util_address(&sender); let receiver = display_address(&transfer.value.dest); let value = transfer.value.value; let tip = extensions.tip().expect("Should have tip"); @@ -56,6 +59,14 @@ async fn main() -> Result<(), Box> { fn display_address(addr: &MultiAddress) -> String { if let MultiAddress::Id(id32) = addr { + format!("{id32:?}") + } else { + "MultiAddress::...".into() + } +} + +fn display_util_address(addr: &UtilMultiAddress) -> String { + if let UtilMultiAddress::Id(id32) = addr { format!("{id32}") } else { "MultiAddress::...".into() diff --git a/vendor/pezkuwi-subxt/subxt/examples/blocks_subscribing.rs b/vendor/pezkuwi-subxt/subxt/examples/blocks_subscribing.rs index 5bca0b0d..a365bf12 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/blocks_subscribing.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/blocks_subscribing.rs @@ -1,7 +1,7 @@ #![allow(missing_docs)] use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/constants_static.rs b/vendor/pezkuwi-subxt/subxt/examples/constants_static.rs index f16017a0..f1a316ff 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/constants_static.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/constants_static.rs @@ -1,7 +1,7 @@ #![allow(missing_docs)] use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/events.rs b/vendor/pezkuwi-subxt/subxt/examples/events.rs index 297bd42e..482f53c7 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/events.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/events.rs @@ -1,7 +1,7 @@ #![allow(missing_docs)] use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/light_client_basic.rs b/vendor/pezkuwi-subxt/subxt/examples/light_client_basic.rs index 0403e15b..fb156254 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/light_client_basic.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/light_client_basic.rs @@ -3,12 +3,12 @@ use futures::StreamExt; use pezkuwi_subxt::{client::OnlineClient, lightclient::LightClient, PezkuwiConfig}; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} -const POLKADOT_SPEC: &str = include_str!("../../artifacts/demo_chain_specs/pezkuwi.json"); +const POLKADOT_SPEC: &str = include_str!("../../artifacts/demo_chain_specs/polkadot.json"); const ASSET_HUB_SPEC: &str = - include_str!("../../artifacts/demo_chain_specs/pezkuwi_asset_hub.json"); + include_str!("../../artifacts/demo_chain_specs/polkadot_asset_hub.json"); #[tokio::main] async fn main() -> Result<(), Box> { diff --git a/vendor/pezkuwi-subxt/subxt/examples/light_client_local_node.rs b/vendor/pezkuwi-subxt/subxt/examples/light_client_local_node.rs index 3fb488b5..5e57a454 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/light_client_local_node.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/light_client_local_node.rs @@ -8,7 +8,7 @@ use pezkuwi_subxt::{ use pezkuwi_subxt_signer::sr25519::dev; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -35,7 +35,9 @@ async fn main() -> Result<(), Box> { let api = OnlineClient::::from_rpc_client(chain_rpc).await?; // Build a balance transfer extrinsic. - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); let balance_transfer_tx = pezkuwi::tx().balances().transfer_allow_death(dest, 10_000); // Submit the balance transfer extrinsic from Alice, and wait for it to be successful diff --git a/vendor/pezkuwi-subxt/subxt/examples/rpc_legacy.rs b/vendor/pezkuwi-subxt/subxt/examples/rpc_legacy.rs index f6dee0a6..2d05f3f6 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/rpc_legacy.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/rpc_legacy.rs @@ -6,7 +6,7 @@ use pezkuwi_subxt::{ }; use pezkuwi_subxt_signer::sr25519::dev; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -37,13 +37,17 @@ async fn main() -> Result<(), Box> { let bob = dev::bob(); loop { - let current_nonce = rpc.system_account_next_index(&alice.public_key().into()).await?; + let alice_account_id = pezkuwi_subxt::config::bizinikiwi::AccountId32(alice.public_key().0); + let current_nonce = rpc.system_account_next_index(&alice_account_id).await?; let ext_params = Params::new().mortal(8).nonce(current_nonce).build(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(bob.public_key().0), + ); let balance_transfer = pezkuwi::tx() .balances() - .transfer_allow_death(bob.public_key().into(), 1_000_000); + .transfer_allow_death(dest, 1_000_000); let ext_hash = api .tx() diff --git a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_dynamic.rs b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_dynamic.rs index 3b404ff0..d0074b46 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_dynamic.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_dynamic.rs @@ -12,7 +12,7 @@ async fn main() -> Result<(), Box> { // `scale_value::Value` type as output, and a vec of those as inputs, // but since we know the input + return types we can pass them directly. // There is one input argument, so the inputs are a tuple of one element. - let account: AccountId32 = dev::alice().public_key().into(); + let account = AccountId32(dev::alice().public_key().0); let runtime_api_call = pezkuwi_subxt::dynamic::runtime_api_call::<_, u64>( "AccountNonceApi", "account_nonce", diff --git a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_raw.rs b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_raw.rs index 4c30f650..9c40bc5d 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_raw.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_raw.rs @@ -7,7 +7,7 @@ use pezkuwi_subxt::{ OnlineClient, PezkuwiConfig, }; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_static.rs b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_static.rs index 6e9a4eff..370c551b 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_static.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/runtime_apis_static.rs @@ -2,7 +2,7 @@ use pezkuwi_subxt::{config::PezkuwiConfig, OnlineClient}; use pezkuwi_subxt_signer::sr25519::dev; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -12,7 +12,7 @@ async fn main() -> Result<(), Box> { // Create a runtime API payload that calls into // `AccountNonceApi_account_nonce` function. - let account = dev::alice().public_key().into(); + let account = pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::alice().public_key().0); let runtime_api_call = pezkuwi::apis().account_nonce_api().account_nonce(account); // Submit the call and get back a result. diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_client_offline.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_client_offline.rs index 66736b53..d1ae279d 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_client_offline.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_client_offline.rs @@ -21,7 +21,7 @@ async fn main() -> Result<(), Box> { // 3. Metadata (I'll load it from the downloaded metadata, but you can use `subxt metadata > // file.scale` to download it): let metadata = { - let bytes = std::fs::read("./artifacts/pezkuwi_metadata_small.scale").unwrap(); + let bytes = std::fs::read("./artifacts/polkadot_metadata_small.scale").unwrap(); Metadata::decode(&mut &*bytes).unwrap() }; diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_config_assethub.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_config_assethub.rs index 3f4b6ee3..6c552a63 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_config_assethub.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_config_assethub.rs @@ -5,7 +5,7 @@ use pezkuwi_subxt::config::{ use pezkuwi_subxt_signer::sr25519::dev; #[pezkuwi_subxt::subxt( - runtime_metadata_path = "../artifacts/pezkuwi_metadata_full.scale", + runtime_metadata_path = "../artifacts/polkadot_metadata_full.scale", derive_for_type( path = "staging_xcm::v3::multilocation::MultiLocation", derive = "Clone, codec::Encode", diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_config_custom.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_config_custom.rs index 86c564eb..0d135cf5 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_config_custom.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_config_custom.rs @@ -9,7 +9,7 @@ use pezkuwi_subxt::{ }; use pezkuwi_subxt_signer::sr25519::dev; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_full.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_full.scale")] pub mod runtime {} // We don't need to construct this at runtime, diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_config_transaction_extension.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_config_transaction_extension.rs index bce6fea7..bd71f0e9 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_config_transaction_extension.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_config_transaction_extension.rs @@ -11,7 +11,7 @@ use pezkuwi_subxt_signer::sr25519::dev; use scale_encode::EncodeAsType; use scale_info::PortableRegistry; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod runtime {} // We don't need to construct this at runtime, diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_reconnecting_rpc_client.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_reconnecting_rpc_client.rs index d25bee58..0d1d41ec 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_reconnecting_rpc_client.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_reconnecting_rpc_client.rs @@ -15,7 +15,7 @@ use pezkuwi_subxt::{ }; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/setup_rpc_chainhead_backend.rs b/vendor/pezkuwi-subxt/subxt/examples/setup_rpc_chainhead_backend.rs index e5aeb5f2..0fde3e73 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/setup_rpc_chainhead_backend.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/setup_rpc_chainhead_backend.rs @@ -12,7 +12,7 @@ use pezkuwi_subxt::{ }; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] diff --git a/vendor/pezkuwi-subxt/subxt/examples/storage_fetch.rs b/vendor/pezkuwi-subxt/subxt/examples/storage_fetch.rs index 76f073ca..fe25784d 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/storage_fetch.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/storage_fetch.rs @@ -3,14 +3,14 @@ use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; use pezkuwi_subxt_signer::sr25519::dev; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] async fn main() -> Result<(), Box> { // Create a new API client, configured to talk to Pezkuwi nodes. let api = OnlineClient::::new().await?; - let account = dev::alice().public_key().into(); + let account = pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::alice().public_key().0); // Build a storage query to access account information. let storage_query = pezkuwi::storage().system().account(); diff --git a/vendor/pezkuwi-subxt/subxt/examples/storage_fetch_dynamic.rs b/vendor/pezkuwi-subxt/subxt/examples/storage_fetch_dynamic.rs index 5e991a2c..ce2bf5d8 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/storage_fetch_dynamic.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/storage_fetch_dynamic.rs @@ -15,7 +15,7 @@ async fn main() -> Result<(), Box> { // here, we assume that there is one value to provide at this entry // to access a value; an AccountId32. In this example we don't know the // return type and so we set it to `Value`, which anything can decode into. - let account: AccountId32 = dev::alice().public_key().into(); + let account = AccountId32(dev::alice().public_key().0); let storage_query = pezkuwi_subxt::dynamic::storage::<(AccountId32,), Value>("System", "Account"); diff --git a/vendor/pezkuwi-subxt/subxt/examples/storage_iterating.rs b/vendor/pezkuwi-subxt/subxt/examples/storage_iterating.rs index 6b312b91..84be614f 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/storage_iterating.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/storage_iterating.rs @@ -2,7 +2,7 @@ use pezkuwi_subxt::{ext::futures::StreamExt, OnlineClient, PezkuwiConfig}; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -34,7 +34,7 @@ async fn main() -> Result<(), Box> { let value = kv.value().decode()?; let value_data = value.data; - println!("{account_id32}:\n {value_data:?}"); + println!("{account_id32:?}:\n {value_data:?}"); } Ok(()) diff --git a/vendor/pezkuwi-subxt/subxt/examples/tx_basic.rs b/vendor/pezkuwi-subxt/subxt/examples/tx_basic.rs index 56993482..31248390 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/tx_basic.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/tx_basic.rs @@ -3,7 +3,7 @@ use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; use pezkuwi_subxt_signer::sr25519::dev; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -12,7 +12,9 @@ async fn main() -> Result<(), Box> { let api = OnlineClient::::new().await?; // Build a balance transfer extrinsic. - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); let balance_transfer_tx = pezkuwi::tx().balances().transfer_allow_death(dest, 10_000); // Submit the balance transfer extrinsic from Alice, and wait for it to be successful diff --git a/vendor/pezkuwi-subxt/subxt/examples/tx_boxed.rs b/vendor/pezkuwi-subxt/subxt/examples/tx_boxed.rs index 941098ff..ec9386ef 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/tx_boxed.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/tx_boxed.rs @@ -2,7 +2,7 @@ use pezkuwi_subxt::{OnlineClient, PezkuwiConfig}; use pezkuwi_subxt_signer::sr25519::dev; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -27,7 +27,9 @@ async fn main() -> Result<(), Box> { } fn balance_transfer() -> Box { - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); Box::new(pezkuwi::tx().balances().transfer_allow_death(dest, 10_000)) } diff --git a/vendor/pezkuwi-subxt/subxt/examples/tx_partial.rs b/vendor/pezkuwi-subxt/subxt/examples/tx_partial.rs index a37fa539..08f1b148 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/tx_partial.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/tx_partial.rs @@ -4,7 +4,7 @@ use pezkuwi_subxt_signer::sr25519::dev; type BoxedError = Box; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -19,7 +19,9 @@ async fn signing_example() -> Result<(), BoxedError> { let api = OnlineClient::::new().await?; // Build a balance transfer extrinsic. - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); let balance_transfer_tx = pezkuwi::tx().balances().transfer_allow_death(dest, 10_000); let alice = dev::alice(); diff --git a/vendor/pezkuwi-subxt/subxt/examples/tx_status_stream.rs b/vendor/pezkuwi-subxt/subxt/examples/tx_status_stream.rs index 88649850..fc408223 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/tx_status_stream.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/tx_status_stream.rs @@ -3,7 +3,7 @@ use pezkuwi_subxt::{tx::TxStatus, OnlineClient, PezkuwiConfig}; use pezkuwi_subxt_signer::sr25519::dev; // Generate an interface that we can use from the node's metadata. -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -12,7 +12,9 @@ async fn main() -> Result<(), Box> { let api = OnlineClient::::new().await?; // Build a balance transfer extrinsic. - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); let balance_transfer_tx = pezkuwi::tx().balances().transfer_allow_death(dest, 10_000); // Submit the balance transfer extrinsic from Alice, and then monitor the diff --git a/vendor/pezkuwi-subxt/subxt/examples/tx_with_params.rs b/vendor/pezkuwi-subxt/subxt/examples/tx_with_params.rs index 45a729a8..6532a49c 100644 --- a/vendor/pezkuwi-subxt/subxt/examples/tx_with_params.rs +++ b/vendor/pezkuwi-subxt/subxt/examples/tx_with_params.rs @@ -4,7 +4,7 @@ use pezkuwi_subxt::{ }; use pezkuwi_subxt_signer::sr25519::dev; -#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/pezkuwi_metadata_small.scale")] +#[pezkuwi_subxt::subxt(runtime_metadata_path = "../artifacts/polkadot_metadata_small.scale")] pub mod pezkuwi {} #[tokio::main] @@ -13,7 +13,9 @@ async fn main() -> Result<(), Box> { let api = OnlineClient::::new().await?; // Build a balance transfer extrinsic. - let dest = dev::bob().public_key().into(); + let dest = pezkuwi::runtime_types::sp_runtime::multiaddress::MultiAddress::Id( + pezkuwi::runtime_types::sp_core::crypto::AccountId32(dev::bob().public_key().0), + ); let tx = pezkuwi::tx().balances().transfer_allow_death(dest, 10_000); // Configure the transaction parameters; we give a small tip and set the diff --git a/vendor/pezkuwi-subxt/subxt/src/backend/mod.rs b/vendor/pezkuwi-subxt/subxt/src/backend/mod.rs index 75dede66..031fa483 100644 --- a/vendor/pezkuwi-subxt/subxt/src/backend/mod.rs +++ b/vendor/pezkuwi-subxt/subxt/src/backend/mod.rs @@ -468,7 +468,7 @@ mod test { // Decode the storage key as first item from sequence of params: let params = params.map(|p| p.get().to_string()); let rpc_params = jsonrpsee::types::Params::new(params.as_deref()); - let key: sp_core::Bytes = rpc_params.sequence().next().unwrap(); + let key: pezsp_core::Bytes = rpc_params.sequence().next().unwrap(); let key = std::str::from_utf8(&key.0).unwrap(); // Fetch the response to use from our map, popping it from the front. let values = values.get_mut(key).unwrap(); diff --git a/vendor/pezkuwi-subxt/subxt/src/lib.rs b/vendor/pezkuwi-subxt/subxt/src/lib.rs index 68e27979..08aa9eea 100644 --- a/vendor/pezkuwi-subxt/subxt/src/lib.rs +++ b/vendor/pezkuwi-subxt/subxt/src/lib.rs @@ -13,11 +13,10 @@ #![cfg_attr(docsrs, feature(doc_cfg))] -#[cfg(any( - all(feature = "web", feature = "native"), - not(any(feature = "web", feature = "native")) -))] -compile_error!("subxt: exactly one of the 'web' and 'native' features should be used."); +// Note: When both 'web' and 'native' features are enabled (e.g., --all-features), +// 'native' takes priority. This allows CI to run with --all-features. +#[cfg(not(any(feature = "web", feature = "native")))] +compile_error!("subxt: at least one of the 'web' or 'native' features must be enabled."); // Internal helper macros #[macro_use] diff --git a/vendor/pezkuwi-subxt/subxt/src/macros.rs b/vendor/pezkuwi-subxt/subxt/src/macros.rs index 122937a7..fce5216f 100644 --- a/vendor/pezkuwi-subxt/subxt/src/macros.rs +++ b/vendor/pezkuwi-subxt/subxt/src/macros.rs @@ -30,6 +30,7 @@ macro_rules! cfg_jsonrpsee { }; } +// When both 'native' and 'web' features are enabled, 'native' takes priority. #[allow(unused)] macro_rules! cfg_jsonrpsee_native { ($($item:item)*) => { @@ -45,7 +46,7 @@ macro_rules! cfg_jsonrpsee_native { macro_rules! cfg_jsonrpsee_web { ($($item:item)*) => { $( - #[cfg(all(feature = "jsonrpsee", feature = "web"))] + #[cfg(all(feature = "jsonrpsee", feature = "web", not(feature = "native")))] #[cfg_attr(docsrs, doc(cfg(all(feature = "jsonrpsee", feature = "web"))))] $item )* diff --git a/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs b/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs index 400000d3..ddaec37e 100644 --- a/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs +++ b/vendor/pezkuwi-subxt/subxt/src/tx/tx_client.rs @@ -864,7 +864,7 @@ mod test { #[test] fn transaction_validity_decoding_is_ok() { - use sp_runtime::{ + use pezsp_runtime::{ transaction_validity as sp, transaction_validity::TransactionValidity as T, }; diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs index 0fe05394..c8c80dac 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/relaychain.rs @@ -499,7 +499,7 @@ impl RelaychainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_validator`] for validator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_validator` for validator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_validator()` for validator nodes or `with_fullnode()` for full nodes instead" @@ -623,7 +623,7 @@ impl RelaychainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_validator`] for validator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_validator` for validator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_validator()` for validator nodes or `with_fullnode()` for full nodes instead" diff --git a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs index 46f5a183..929386cc 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/configuration/src/teyrchain.rs @@ -882,7 +882,7 @@ impl TeyrchainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_collator`] for collator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_collator` for collator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_collator()` for collator nodes or `with_fullnode()` for full nodes instead" @@ -1014,7 +1014,7 @@ impl TeyrchainConfigBuilder { /// Add a new node using a nested [`NodeConfigBuilder`]. /// - /// **Deprecated**: Use [`with_collator`] for collator nodes or [`with_fullnode`] for full nodes instead. + /// **Deprecated**: Use `with_collator` for collator nodes or `with_fullnode` for full nodes instead. #[deprecated( since = "0.4.0", note = "Use `with_collator()` for collator nodes or `with_fullnode()` for full nodes instead" diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml index fde004be..bd0c0902 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/Cargo.toml @@ -15,6 +15,7 @@ keywords = ["orchestrator", "sdk", "zombienet"] [dependencies] anyhow = { workspace = true } async-trait = { workspace = true } +erased-serde = { workspace = true } fancy-regex = { workspace = true } futures = { workspace = true } glob-match = { workspace = true } @@ -24,19 +25,18 @@ libsecp256k1 = { workspace = true } multiaddr = { workspace = true } pezkuwi-subxt = { workspace = true } pezkuwi-subxt-signer = { workspace = true } +pezsc-chain-spec = { workspace = true } +pezsp-core = { workspace = true } rand = { workspace = true } regex = { workspace = true } reqwest = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["arbitrary_precision"] } sha2 = { workspace = true, default-features = false } -pezsp-core = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true, features = ["time"] } tracing = { workspace = true } uuid = { workspace = true } -erased-serde = { workspace = true } -pezsc-chain-spec = { workspace = true } # Zombienet deps configuration = { workspace = true } diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs index 425d8009..8052cedb 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/chain_spec.rs @@ -90,8 +90,8 @@ const DEFAULT_PRESETS_TO_CHECK: [&str; 3] = ["local_testnet", "development", "de /// Chain-spec builder representation /// /// Multiple options are supported, and the current order is: -/// IF [`asset_location`] is _some_ -> Use this chain_spec by copying the file from [`AssetLocation`] -/// ELSE IF [`runtime_location`] is _some_ -> generate the chain-spec using the sc-chain-spec builder. +/// IF `asset_location` is _some_ -> Use this chain_spec by copying the file from [`AssetLocation`] +/// ELSE IF `runtime_location` is _some_ -> generate the chain-spec using the sc-chain-spec builder. /// ELSE -> Fallback to use the `default` or customized cmd. #[derive(Debug, Clone, Serialize, Deserialize)] diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore.rs index 1237f1cc..c79d3b57 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore.rs @@ -71,7 +71,7 @@ fn generate_keystore_filename(key_type: &KeystoreKeyType, acc: &NodeAccounts) -> let pk = acc .accounts .get(account_key) - .expect(&format!("Key '{}' should be set for node {THIS_IS_A_BUG}", account_key)) + .expect(&format!("Key '{account_key}' should be set for node {THIS_IS_A_BUG}")) .public_key .as_str(); diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore_key_types.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore_key_types.rs index 5f9c81bb..8004705b 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore_key_types.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/generators/keystore_key_types.rs @@ -42,7 +42,7 @@ impl TryFrom<&str> for KeyScheme { "sr" => Ok(KeyScheme::Sr), "ed" => Ok(KeyScheme::Ed), "ec" => Ok(KeyScheme::Ec), - _ => Err(format!("Unsupported key scheme: {}", value)), + _ => Err(format!("Unsupported key scheme: {value}")), } } } diff --git a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs index eb0a308b..43b107a2 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/orchestrator/src/network/node.rs @@ -185,7 +185,7 @@ impl NetworkNode { get_client_from_url(&self.ws_uri).await } - /// Get the [online client](subxt::client::OnlineClient) for the node + /// Get the online client for the node #[deprecated = "Use `wait_client` instead."] pub async fn client( &self, @@ -207,7 +207,7 @@ impl NetworkNode { get_client_from_url(&self.ws_uri).await } - /// Wait until get the [online client](subxt::client::OnlineClient) for the node + /// Wait until get the online client for the node pub async fn wait_client( &self, ) -> Result, anyhow::Error> { @@ -219,7 +219,7 @@ impl NetworkNode { self.try_client().await.map_err(|e| anyhow!("Can't create a subxt client, err: {e}")) } - /// Wait until get the [online client](subxt::client::OnlineClient) for the node with a defined timeout + /// Wait until get the online client for the node with a defined timeout pub async fn wait_client_with_timeout( &self, timeout_secs: impl Into, diff --git a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_omni_node.rs b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_omni_node.rs index e8629c96..79fc7998 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_omni_node.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_omni_node.rs @@ -40,7 +40,7 @@ async fn rococo_local_with_omni_node_and_wasm_runtime() { // omni-collator-1 let collator = network.get_node("omni-collator-1").unwrap(); - let client = collator.wait_client::().await.unwrap(); + let client = collator.wait_client::().await.unwrap(); // wait 1 blocks let mut blocks = client.blocks().subscribe_finalized().await.unwrap().take(1); @@ -50,7 +50,7 @@ async fn rococo_local_with_omni_node_and_wasm_runtime() { // omni-collator-2 let collator = network.get_node("omni-collator-2").unwrap(); - let client = collator.wait_client::().await.unwrap(); + let client = collator.wait_client::().await.unwrap(); // wait 1 blocks let mut blocks = client.blocks().subscribe_finalized().await.unwrap().take(1); diff --git a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_polkadot.rs b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_polkadot.rs index ab726291..d29aef71 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_polkadot.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/chain_spec_runtime_polkadot.rs @@ -41,7 +41,7 @@ async fn polkadot_local_with_chain_spec_runtime() { // asset-hub-collator-1 let collator = network.get_node("asset-hub-collator-1").unwrap(); - let client = collator.wait_client::().await.unwrap(); + let client = collator.wait_client::().await.unwrap(); // wait 1 blocks let mut blocks = client.blocks().subscribe_finalized().await.unwrap().take(1); @@ -51,7 +51,7 @@ async fn polkadot_local_with_chain_spec_runtime() { // asset-hub-collator-2 let collator = network.get_node("asset-hub-collator-2").unwrap(); - let client = collator.wait_client::().await.unwrap(); + let client = collator.wait_client::().await.unwrap(); // wait 1 blocks let mut blocks = client.blocks().subscribe_finalized().await.unwrap().take(1); diff --git a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/smoke.rs b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/smoke.rs index b4c28897..d31430c7 100644 --- a/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/smoke.rs +++ b/vendor/pezkuwi-zombienet-sdk/crates/sdk/tests/smoke.rs @@ -62,7 +62,7 @@ async fn ci_k8s_basic_functionalities_should_works() { let (_best_block_pass, client) = try_join!( alice.wait_metric(BEST_BLOCK_METRIC, |x| x > 5_f64), - alice.wait_client::() + alice.wait_client::() ) .unwrap(); @@ -104,7 +104,7 @@ async fn ci_k8s_basic_functionalities_should_works() { // collator let collator = network.get_node("collator").unwrap(); - let client = collator.wait_client::().await.unwrap(); + let client = collator.wait_client::().await.unwrap(); // wait 3 blocks let mut blocks = client.blocks().subscribe_finalized().await.unwrap().take(3); @@ -143,7 +143,7 @@ async fn ci_k8s_basic_functionalities_should_works() { collator.pause().await.unwrap(); tokio::time::sleep(tokio::time::Duration::from_millis(100)).await; - let r = collator.wait_client_with_timeout::(1_u32).await; + let r = collator.wait_client_with_timeout::(1_u32).await; assert!(r.is_err()); // tear down (optional if you don't detach the network) diff --git a/vendor/ss58-registry/src/token.rs b/vendor/ss58-registry/src/token.rs index 571897f8..4af1ded4 100644 --- a/vendor/ss58-registry/src/token.rs +++ b/vendor/ss58-registry/src/token.rs @@ -36,16 +36,16 @@ impl core::fmt::Debug for Token { impl Token { /// Creates the specified amount of [`Token`] with its name and decimals filled from the - /// [`TokenRegistry`] variant. + /// `TokenRegistry` variant. /// /// ``` - /// # use ss58_registry::{Token, TokenRegistry}; + /// # use pezkuwi_ss58_registry::{Token, TokenRegistry}; /// # #[cfg(feature = "std")] /// # fn x() { - /// let token: Token = TokenRegistry::Dot.into(); + /// let token: Token = TokenRegistry::Hez.into(); /// let my_amount = token.amount(100_000_000); - /// assert_eq!(format!("{}", my_amount), "0.010 DOT"); - /// assert_eq!(format!("{:?}", my_amount), "0.010 DOT (100,000,000)"); + /// assert_eq!(format!("{}", my_amount), "0.010 HEZ"); + /// assert_eq!(format!("{:?}", my_amount), "0.010 HEZ (100,000,000)"); /// # } /// # #[cfg(not(feature = "std"))] /// # fn x() {} @@ -60,7 +60,7 @@ impl Token { /// different amounts. /// /// ``` -/// # use ss58_registry::{Token, TokenAmount}; +/// # use pezkuwi_ss58_registry::{Token, TokenAmount}; /// # #[cfg(feature = "std")] /// # fn x() { /// let token = Token { name: "I❤U", decimals: 8 };