Merge pull request #335 from pezkuwichain/development

CI Workflow Fixes - Phase 1-4
This commit is contained in:
SatoshiQaziMuhammed
2025-12-25 12:16:59 +03:00
committed by GitHub
455 changed files with 1490 additions and 1435 deletions
+4 -4
View File
@@ -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.*",
]
+19 -19
View File
@@ -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 " \
+1 -1
View File
@@ -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
@@ -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
+2 -2
View File
@@ -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
+2 -1
View File
@@ -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 }}
+2 -2
View File
@@ -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
@@ -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:
+1 -1
View File
@@ -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:
+2 -2
View File
@@ -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
+5 -11
View File
@@ -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
Generated
+55 -46
View File
@@ -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"
+57 -50
View File
@@ -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"
+2 -2
View File
@@ -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.
@@ -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
+6 -6
View File
@@ -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<true>`.
one need to set `pezpallet_revive::Config::UnsafeUnstableInterface` to `ConstU32<true>`.
**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**.
+8 -7
View File
@@ -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);
@@ -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" \
+1 -2
View File
@@ -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`
@@ -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)]`
@@ -1,16 +1,16 @@
error: unused import: `frame_support::traits::OriginTrait`
error: unused import: `pezframe_support::traits::OriginTrait`
--> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:46:6
|
46 | use frame_support::traits::OriginTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
46 | use pezframe_support::traits::OriginTrait;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `-D unused-imports` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(unused_imports)]`
error[E0277]: the trait bound `<T as frame_system::Config>::RuntimeOrigin: From<u8>` is not satisfied
error[E0277]: the trait bound `<T as pezframe_system::Config>::RuntimeOrigin: From<u8>` is not satisfied
--> tests/benchmark_ui/extrinsic_call_wrong_origin.rs:52:5
|
52 | _(origin);
| ^^^^^^ the trait `From<u8>` is not implemented for `<T as frame_system::Config>::RuntimeOrigin`
| ^^^^^^ the trait `From<u8>` is not implemented for `<T as pezframe_system::Config>::RuntimeOrigin`
|
= note: required for `u8` to implement `Into<<T as frame_system::Config>::RuntimeOrigin>`
= note: required for `u8` to implement `Into<<T as pezframe_system::Config>::RuntimeOrigin>`
@@ -1,18 +1,18 @@
error[E0277]: the trait bound `T: frame_system::Config` is not satisfied
error[E0277]: the trait bound `T: pezframe_system::Config` is not satisfied
--> tests/benchmark_ui/invalid_origin.rs:30:8
|
30 | noop(1);
| ^ the trait `frame_system::Config` is not implemented for `T`
| ^ the trait `pezframe_system::Config` is not implemented for `T`
|
help: consider further restricting type parameter `T` with trait `Config`
|
23 | #[benchmarks], T: frame_system::Config
| +++++++++++++++++++++++++
23 | #[benchmarks], T: pezframe_system::Config
| ++++++++++++++++++++++++++++
error[E0277]: the trait bound `<T as frame_support_test::Config>::RuntimeOrigin: From<{integer}>` is not satisfied
error[E0277]: the trait bound `<T as pezframe_support_test::Config>::RuntimeOrigin: From<{integer}>` is not satisfied
--> tests/benchmark_ui/invalid_origin.rs:30:8
|
30 | noop(1);
| ^ the trait `From<{integer}>` is not implemented for `<T as frame_support_test::Config>::RuntimeOrigin`
| ^ the trait `From<{integer}>` is not implemented for `<T as pezframe_support_test::Config>::RuntimeOrigin`
|
= note: required for `{integer}` to implement `Into<<T as frame_support_test::Config>::RuntimeOrigin>`
= note: required for `{integer}` to implement `Into<<T as pezframe_support_test::Config>::RuntimeOrigin>`
@@ -1,8 +1,8 @@
error: Unexpected tokens, expected one of `=`, `,`
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:43
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:43:52
|
43 | Pallet: pallet exclude_parts { Pallet } use_parts { Pallet },
| ^^^^^^^^^
43 | Pezpallet: pezpallet exclude_parts { Pezpallet } use_parts { Pezpallet },
| ^^^^^^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:35:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:25
--> tests/construct_runtime_ui/both_use_and_excluded_parts.rs:37:28
|
37 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
37 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
37 - impl pallet::Config for Runtime {}
37 + impl pallet::Config for sp_api::__private::TransactionType {}
37 - impl pezpallet::Config for Runtime {}
37 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|
@@ -1,10 +1,10 @@
error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0
error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0
--> tests/construct_runtime_ui/conflicting_index.rs:26:3
|
26 | System: system::{},
| ^^^^^^
error: Pallet indices are conflicting: Both pallets System and Pallet1 are at index 0
error: Pezpallet indices are conflicting: Both pallets System and Pallet1 are at index 0
--> tests/construct_runtime_ui/conflicting_index.rs:27:3
|
27 | Pallet1: pallet1::{} = 0,
@@ -1,10 +1,10 @@
error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5
error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5
--> tests/construct_runtime_ui/conflicting_index_2.rs:26:3
|
26 | System: system::{} = 5,
| ^^^^^^
error: Pallet indices are conflicting: Both pallets System and Pallet3 are at index 5
error: Pezpallet indices are conflicting: Both pallets System and Pallet3 are at index 5
--> tests/construct_runtime_ui/conflicting_index_2.rs:29:3
|
29 | Pallet3: pallet3::{},
@@ -1,11 +1,11 @@
error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:24:3
|
24 | Balance: balances::{Pallet},
24 | Balance: balances::{Pezpallet},
| ^^^^^^^
error: Two pallets with the same name!
--> tests/construct_runtime_ui/conflicting_module_name.rs:25:3
|
25 | Balance: balances::{Pallet},
25 | Balance: balances::{Pezpallet},
| ^^^^^^^
@@ -1,10 +1,10 @@
error: use of deprecated constant `WhereSection::_w`:
It is deprecated to use a `where` clause in `construct_runtime`.
Please instead use `frame_system::Config` to set the `Block` type and delete this clause.
Please instead use `pezframe_system::Config` to set the `Block` type and delete this clause.
It is planned to be removed in December 2023.
For more info see:
<https://github.com/paritytech/bizinikiwi/pull/14437>
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/218>
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -17,7 +17,7 @@ error: use of deprecated constant `WhereSection::_w`:
|
= note: `-D deprecated` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(deprecated)]`
= note: this error originates in the macro `frame_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::match_and_insert` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -30,7 +30,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -43,12 +43,12 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -56,7 +56,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
20 | construct_runtime! {
| ^ the trait `Config` is not implemented for `Runtime`
|
= note: this error originates in the macro `frame_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -70,7 +70,7 @@ error[E0277]: the trait bound `RawOrigin<_>: TryFrom<OriginCaller>` is not satis
| |_^ the trait `TryFrom<OriginCaller>` is not implemented for `RawOrigin<_>`
|
= help: the trait `TryFrom<OriginCaller>` is implemented for `RawOrigin<<Runtime as Config>::AccountId>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -83,18 +83,18 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
@@ -110,13 +110,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Event<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Event<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -134,7 +134,7 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where
| |______________________^ must implement `Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -151,13 +151,13 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
error[E0277]: the trait bound `frame_system::Event<Runtime>: Encode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Event<Runtime>: Encode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -166,10 +166,10 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Encode` is not sati
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Encode` is not implemented for `frame_system::Event<Runtime>`
| |_^ the trait `Encode` is not implemented for `pezframe_system::Event<Runtime>`
|
= help: the trait `Encode` is implemented for `frame_system::Event<T>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Encode` is implemented for `pezframe_system::Event<T>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -182,14 +182,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Event<Runtime>: Decode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Event<Runtime>: Decode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -198,18 +198,18 @@ error[E0277]: the trait bound `frame_system::Event<Runtime>: Decode` is not sati
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Decode` is not implemented for `frame_system::Event<Runtime>`
| |_^ the trait `Decode` is not implemented for `pezframe_system::Event<Runtime>`
|
= help: the trait `Decode` is implemented for `frame_system::Event<T>`
= help: the trait `Decode` is implemented for `pezframe_system::Event<T>`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Event`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Event`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub enum Event<T: Config> {
| ^^^^^^ required by this bound in `Event`
@@ -225,11 +225,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Event<T>`
= note: required for `frame_system::Event<Runtime>` to implement `std::fmt::Debug`
= help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Event<T>`
= note: required for `pezframe_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&frame_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&frame_system::Event<Runtime>` to `&dyn std::fmt::Debug`
= note: required for `&pezframe_system::Event<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&pezframe_system::Event<Runtime>` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -242,11 +242,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `std::fmt::Debug` is implemented for `frame_system::Error<T>`
= note: required for `frame_system::Error<Runtime>` to implement `std::fmt::Debug`
= help: the trait `std::fmt::Debug` is implemented for `pezframe_system::Error<T>`
= note: required for `pezframe_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&frame_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&frame_system::Error<Runtime>` to `&dyn std::fmt::Debug`
= note: required for `&pezframe_system::Error<Runtime>` to implement `std::fmt::Debug`
= note: required for the cast from `&&pezframe_system::Error<Runtime>` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -277,7 +277,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
= note: required for `RawOrigin<_>` to implement `Into<RuntimeOrigin>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -304,8 +304,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:11
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^^^^^^^^^^ the trait `Config` is not implemented for `Runtime`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -318,9 +318,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `PalletInfoAccess` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `PalletInfoAccess`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `PalletInfoAccess` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `PalletInfoAccess`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -333,8 +333,8 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -347,10 +347,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&frame_system::Call<Runtime>`
error[E0369]: binary operation `==` cannot be applied to type `&pezframe_system::Call<Runtime>`
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -368,13 +368,13 @@ note: an implementation of `Config` might be missing for `Runtime`
21 | | pub struct Runtime where
| |______________________^ must implement `Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the derive macro `PartialEq` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Call<Runtime>: Encode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Call<Runtime>: Encode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -383,10 +383,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Encode` is not satis
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Encode` is not implemented for `frame_system::Call<Runtime>`
| |_^ the trait `Encode` is not implemented for `pezframe_system::Call<Runtime>`
|
= help: the trait `Encode` is implemented for `frame_system::Call<T>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Encode` is implemented for `pezframe_system::Call<T>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -399,14 +399,14 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `frame_system::Call`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
note: required by a bound in `pezframe_system::Call`
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ^^^^ required by this bound in `Call`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ^^^^ required by this bound in `Call`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::codec::Encode` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `frame_system::Call<Runtime>: Decode` is not satisfied
error[E0277]: the trait bound `pezframe_system::Call<Runtime>: Decode` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | / construct_runtime! {
@@ -415,10 +415,10 @@ error[E0277]: the trait bound `frame_system::Call<Runtime>: Decode` is not satis
23 | | NodeBlock = Block,
... |
28 | | }
| |_^ the trait `Decode` is not implemented for `frame_system::Call<Runtime>`
| |_^ the trait `Decode` is not implemented for `pezframe_system::Call<Runtime>`
|
= help: the trait `Decode` is implemented for `frame_system::Call<T>`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Decode` is implemented for `pezframe_system::Call<T>`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -431,9 +431,9 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
28 | | }
| |_^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `Callable<T>` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)
= help: the trait `Callable<T>` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `Callable<Runtime>`
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::RuntimeDebug` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `get_dispatch_info` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -450,20 +450,20 @@ error[E0599]: the method `get_dispatch_info` exists for reference `&Call<Runtime
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetDispatchInfo`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetDispatchInfo`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: GetDispatchInfo`
which is required by `pezframe_system::Call<Runtime>: GetDispatchInfo`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `is_feeless` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -480,20 +480,20 @@ error[E0599]: the method `is_feeless` exists for reference `&Call<Runtime>`, but
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: CheckIfFeeless`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: CheckIfFeeless`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: CheckIfFeeless`
which is required by `pezframe_system::Call<Runtime>: CheckIfFeeless`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the method `get_call_name` exists for reference `&Call<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -510,31 +510,31 @@ error[E0599]: the method `get_call_name` exists for reference `&Call<Runtime>`,
28 | | }
| |__^ method cannot be called on `&Call<Runtime>` due to unsatisfied trait bounds
|
::: $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
::: $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| #[pallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `frame_system::Call<Runtime>: GetCallName`
| #[pezpallet::call(weight = <T as Config>::SystemWeightInfo)]
| ---- doesn't satisfy `pezframe_system::Call<Runtime>: GetCallName`
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
which is required by `frame_system::Call<Runtime>: GetCallName`
which is required by `pezframe_system::Call<Runtime>: GetCallName`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:26:3
|
26 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
26 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^ the trait `Config` is not implemented for `Runtime`
|
= help: the trait `ViewFunctionIdPrefix` is implemented for `Pallet<T>`
= note: required for `Pallet<Runtime>` to implement `ViewFunctionIdPrefix`
= help: the trait `ViewFunctionIdPrefix` is implemented for `Pezpallet<T>`
= note: required for `Pezpallet<Runtime>` to implement `ViewFunctionIdPrefix`
error[E0599]: the function or associated item `storage_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `storage_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -547,18 +547,18 @@ error[E0599]: the function or associated item `storage_metadata` exists for stru
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `call_functions` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `call_functions` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -571,18 +571,18 @@ error[E0599]: the function or associated item `call_functions` exists for struct
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_view_functions_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_view_functions_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -595,16 +595,16 @@ error[E0599]: the function or associated item `pallet_view_functions_metadata` e
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the variant or associated item `event_metadata` exists for enum `Event<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -624,13 +624,13 @@ error[E0599]: the variant or associated item `event_metadata` exists for enum `E
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_constants_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_constants_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -643,18 +643,18 @@ error[E0599]: the function or associated item `pallet_constants_metadata` exists
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `error_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `error_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -667,18 +667,18 @@ error[E0599]: the function or associated item `error_metadata` exists for struct
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_documentation_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_documentation_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -691,18 +691,18 @@ error[E0599]: the function or associated item `pallet_documentation_metadata` ex
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: the function or associated item `pallet_associated_types_metadata` exists for struct `Pallet<Runtime>`, but its trait bounds were not satisfied
error[E0599]: the function or associated item `pezpallet_associated_types_metadata` exists for struct `Pezpallet<Runtime>`, but its trait bounds were not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
|
20 | construct_runtime! {
@@ -715,16 +715,16 @@ error[E0599]: the function or associated item `pallet_associated_types_metadata`
23 | | NodeBlock = Block,
... |
28 | | }
| |__^ function or associated item cannot be called on `Pallet<Runtime>` due to unsatisfied trait bounds
| |__^ function or associated item cannot be called on `Pezpallet<Runtime>` due to unsatisfied trait bounds
|
= note: the following trait bounds were not satisfied:
`Runtime: Config`
note: the trait `Config` must be implemented
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub trait Config: 'static + Eq + Clone {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -739,15 +739,15 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
|
= help: the trait `Serialize` is implemented for `GenesisConfig<T>`
= note: required for `GenesisConfig<Runtime>` to implement `Serialize`
note: required by a bound in `frame_support::sp_runtime::serde::ser::SerializeStruct::serialize_field`
--> $CARGO/serde_core-1.0.228/src/ser/mod.rs
note: required by a bound in `pezframe_support::pezsp_runtime::serde::ser::SerializeStruct::serialize_field`
--> $CARGO/serde_core-$VERSION/src/ser/mod.rs
|
| fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<(), Self::Error>
| --------------- required by a bound in this associated function
| where
| T: ?Sized + Serialize;
| ^^^^^^^^^ required by this bound in `SerializeStruct::serialize_field`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -761,11 +761,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -779,11 +779,11 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
= note: this error originates in the derive macro `self::sp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `self::pezsp_api_hidden_includes_construct_runtime::hidden_include::__private::serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `Runtime: Config` is not satisfied
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -797,7 +797,7 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
| |_^ the trait `Config` is not implemented for `Runtime`
|
note: required by a bound in `GenesisConfig`
--> $WORKSPACE/bizinikiwi/frame/system/src/lib.rs
--> $WORKSPACE/bizinikiwi/pezframe/system/src/lib.rs
|
| pub struct GenesisConfig<T: Config> {
| ^^^^^^ required by this bound in `GenesisConfig`
@@ -823,10 +823,10 @@ error[E0277]: the trait bound `Runtime: Config` is not satisfied
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6)
(TupleElement0, TupleElement1, TupleElement2, TupleElement3, TupleElement4, TupleElement5, TupleElement6, TupleElement7)
and $N others
= note: required for `Pallet<Runtime>` to implement `OnGenesis`
= note: required for `Pezpallet<Runtime>` to implement `OnGenesis`
= note: 1 redundant requirement hidden
= note: required for `(Pallet<Runtime>,)` to implement `OnGenesis`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: required for `(Pezpallet<Runtime>,)` to implement `OnGenesis`
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0282]: type annotations needed
--> tests/construct_runtime_ui/deprecated_where_block.rs:20:1
@@ -839,4 +839,4 @@ error[E0282]: type annotations needed
28 | | }
| |_^ cannot infer type
|
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,5 +1,5 @@
error: `Call` was already declared before. Please remove the duplicate declaration
--> tests/construct_runtime_ui/duplicate_exclude.rs:26:46
--> tests/construct_runtime_ui/duplicate_exclude.rs:26:49
|
26 | System: frame_system exclude_parts { Call, Call },
| ^^^^
26 | System: pezframe_system exclude_parts { Call, Call },
| ^^^^
@@ -1,5 +1,5 @@
error: expected one of: `crate`, `self`, `super`, identifier
--> tests/construct_runtime_ui/empty_pallet_path.rs:23:11
--> tests/construct_runtime_ui/empty_pezpallet_path.rs:23:11
|
23 | system: ,
| ^
@@ -1,5 +1,5 @@
error: Unexpected tokens, expected one of `::$ident` `::{`, `exclude_parts`, `use_parts`, `=`, `,`
--> tests/construct_runtime_ui/exclude_missspell.rs:26:24
--> tests/construct_runtime_ui/exclude_missspell.rs:26:27
|
26 | System: frame_system exclude_part { Call },
| ^^^^^^^^^^^^
26 | System: pezframe_system exclude_part { Call },
| ^^^^^^^^^^^^
@@ -1,8 +1,8 @@
error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`.
--> tests/construct_runtime_ui/exclude_undefined_part.rs:48:34
error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`.
--> tests/construct_runtime_ui/exclude_undefined_part.rs:48:40
|
48 | Pallet: pallet exclude_parts { Call },
| ^^^^
48 | Pezpallet: pezpallet exclude_parts { Call },
| ^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/exclude_undefined_part.rs:40:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/exclude_undefined_part.rs:42:25
--> tests/construct_runtime_ui/exclude_undefined_part.rs:42:28
|
42 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
42 - impl pallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {}
42 - impl pezpallet::Config for Runtime {}
42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|
@@ -1,5 +1,5 @@
error: `System` pallet declaration is feature gated, please remove any `#[cfg]` attributes
error: `System` pezpallet declaration is feature gated, please remove any `#[cfg]` attributes
--> tests/construct_runtime_ui/feature_gated_system_pallet.rs:24:3
|
24 | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
24 | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
| ^^^^^^
@@ -1,4 +1,4 @@
error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
--> tests/construct_runtime_ui/invalid_module_details_keyword.rs:23:20
|
23 | system: System::{enum},
@@ -1,4 +1,4 @@
error: expected one of: `Pallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
error: expected one of: `Pezpallet`, `Call`, `Storage`, `Event`, `Error`, `Config`, `Origin`, `Inherent`, `ValidateUnsigned`, `FreezeReason`, `HoldReason`, `Task`, `LockId`, `SlashReason`
--> tests/construct_runtime_ui/invalid_module_entry.rs:24:23
|
24 | Balance: balances::{Unexpected},
@@ -1,4 +1,4 @@
error: Instantiable pallet with no generic `Event` cannot be constructed: pallet `Balance` must have generic `Event`
error: Instantiable pezpallet with no generic `Event` cannot be constructed: pezpallet `Balance` must have generic `Event`
--> tests/construct_runtime_ui/missing_event_generic_on_module_with_instance.rs:24:3
|
24 | Balance: balances::<Instance1> expanded::{}::{Event},
@@ -1,4 +1,4 @@
error: Instantiable pallet with no generic `Origin` cannot be constructed: pallet `Balance` must have generic `Origin`
error: Instantiable pezpallet with no generic `Origin` cannot be constructed: pezpallet `Balance` must have generic `Origin`
--> tests/construct_runtime_ui/missing_origin_generic_on_module_with_instance.rs:24:3
|
24 | Balance: balances::<Instance1> expanded::{}::{Origin},
@@ -1,4 +1,4 @@
error: `System` pallet declaration is missing. Please add this line: `System: frame_system,`
error: `System` pezpallet declaration is missing. Please add this line: `System: pezframe_system,`
--> tests/construct_runtime_ui/missing_system_module.rs:22:2
|
22 | / {
@@ -1,4 +1,4 @@
error: Pallet index doesn't fit into u8, index is 256
error: Pezpallet index doesn't fit into u8, index is 256
--> tests/construct_runtime_ui/more_than_256_modules.rs:27:3
|
27 | Pallet256: pallet256::{},
@@ -1,16 +1,16 @@
error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [frame_support].
error: The number of pallets exceeds the maximum number of tuple elements. To increase this limit, enable the tuples-96 feature of [pezframe_support].
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:67:2
|
67 | pub struct Runtime
| ^^^
error: recursion limit reached while expanding `frame_support::__private::tt_return!`
error: recursion limit reached while expanding `pezframe_support::__private::tt_return!`
--> tests/construct_runtime_ui/number_of_pallets_exceeds_tuple_size.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
181 | | }
| |_^
@@ -1,12 +1,12 @@
error[E0080]: evaluation of constant value failed
--> tests/construct_runtime_ui/pallet_error_too_large.rs:115:1
--> tests/construct_runtime_ui/pezpallet_error_too_large.rs:115:1
|
115 | / construct_runtime! {
116 | | pub struct Runtime
117 | | {
118 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
118 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
121 | | }
| |_^ evaluation panicked: The maximum encoded size of the error type in the `Pallet` pallet exceeds `MAX_MODULE_ERROR_ENCODED_SIZE`
| |_^ evaluation panicked: The maximum encoded size of the error type in the `Pezpallet` pezpallet exceeds `MAX_MODULE_ERROR_ENCODED_SIZE`
|
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `$crate::panic::panic_2021` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,15 +1,15 @@
error: `Pallet` does not have #[pallet::call] defined, perhaps you should remove `Call` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::call] defined, perhaps you should remove `Call` from construct_runtime?
--> tests/construct_runtime_ui/undefined_call_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_call_check::is_call_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_call_check::is_call_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,53 +1,53 @@
error: `Pallet` does not have #[pallet::event] defined, perhaps you should remove `Event` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::event] defined, perhaps you should remove `Event` from construct_runtime?
--> tests/construct_runtime_ui/undefined_event_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_event_check::is_event_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Event` in module `pallet`
error[E0412]: cannot find type `Event` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_event_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these enums
|
18 + use frame_support_test::Event;
18 + use pezframe_support_test::Event;
|
18 + use frame_system::Event;
18 + use pezframe_system::Event;
|
error[E0433]: failed to resolve: could not find `Event` in `pallet`
error[E0433]: failed to resolve: could not find `Event` in `pezpallet`
--> tests/construct_runtime_ui/undefined_event_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ could not find `Event` in `pallet`
| |_^ could not find `Event` in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these enums
|
18 + use frame_support_test::Event;
18 + use pezframe_support_test::Event;
|
18 + use frame_system::Event;
18 + use pezframe_system::Event;
|
@@ -1,34 +1,34 @@
error: `Pallet` does not have #[pallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::genesis_config] defined, perhaps you should remove `Config` from construct_runtime?
--> tests/construct_runtime_ui/undefined_genesis_config_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_genesis_config_check::is_genesis_config_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `GenesisConfig` in module `pallet`
error[E0412]: cannot find type `GenesisConfig` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_genesis_config_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these structs
|
18 + use frame_system::GenesisConfig;
18 + use pezframe_system::GenesisConfig;
|
18 + use test_pallet::GenesisConfig;
18 + use test_pezpallet::GenesisConfig;
|
@@ -1,33 +1,33 @@
error: `Pallet` does not have #[pallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::inherent] defined, perhaps you should remove `Inherent` from construct_runtime?
--> tests/construct_runtime_ui/undefined_inherent_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_inherent_check::is_inherent_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `create_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `create_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `create_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `create_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `create_inherent`, perhaps you need to implement one of them:
@@ -35,20 +35,20 @@ error[E0599]: no function or associated item named `create_inherent` found for s
candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `is_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `is_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `is_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `is_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `is_inherent`, perhaps you need to implement one of them:
@@ -56,81 +56,81 @@ error[E0599]: no function or associated item named `is_inherent` found for struc
candidate #2: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `check_inherent` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `check_inherent` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `check_inherent` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `check_inherent` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `check_inherent`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pallet::Pallet` in the current scope
error[E0599]: no associated item named `INHERENT_IDENTIFIER` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- associated item `INHERENT_IDENTIFIER` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ associated item not found in `Pallet<Runtime>`
| |_^ associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `INHERENT_IDENTIFIER`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `is_inherent_required` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `is_inherent_required` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `is_inherent_required` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `is_inherent_required` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following trait defines an item `is_inherent_required`, perhaps you need to implement it:
candidate #1: `ProvideInherent`
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `pallet::Pallet<Runtime>: ProvideInherent` is not satisfied
error[E0277]: the trait bound `pezpallet::Pezpallet<Runtime>: ProvideInherent` is not satisfied
--> tests/construct_runtime_ui/undefined_inherent_part.rs:70:3
|
70 | Pallet: pallet expanded::{}::{Pallet, Inherent},
| ^^^^^^ the trait `ProvideInherent` is not implemented for `pallet::Pallet<Runtime>`
70 | Pezpallet: pezpallet expanded::{}::{Pezpallet, Inherent},
| ^^^^^^^^^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet<Runtime>`
error[E0277]: the trait bound `pallet::Pallet<Runtime>: ProvideInherent` is not satisfied
error[E0277]: the trait bound `pezpallet::Pezpallet<Runtime>: ProvideInherent` is not satisfied
--> tests/construct_runtime_ui/undefined_inherent_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ the trait `ProvideInherent` is not implemented for `pallet::Pallet<Runtime>`
| |_^ the trait `ProvideInherent` is not implemented for `pezpallet::Pezpallet<Runtime>`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,34 +1,34 @@
error: `Pallet` does not have #[pallet::origin] defined, perhaps you should remove `Origin` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::origin] defined, perhaps you should remove `Origin` from construct_runtime?
--> tests/construct_runtime_ui/undefined_origin_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_origin_check::is_origin_part_defined` which comes from the expansion of the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0412]: cannot find type `Origin` in module `pallet`
error[E0412]: cannot find type `Origin` in module `pezpallet`
--> tests/construct_runtime_ui/undefined_origin_part.rs:66:1
|
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system expanded::{}::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system expanded::{}::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ not found in `pallet`
| |_^ not found in `pezpallet`
|
= note: this error originates in the macro `construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider importing one of these type aliases
|
18 + use frame_support_test::Origin;
18 + use pezframe_support_test::Origin;
|
18 + use frame_system::Origin;
18 + use pezframe_system::Origin;
|
@@ -1,72 +1,72 @@
error: `Pallet` does not have #[pallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime?
error: `Pezpallet` does not have #[pezpallet::validate_unsigned] defined, perhaps you should remove `ValidateUnsigned` from construct_runtime?
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:22:1
|
22 | #[frame_support::pallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^
22 | #[pezframe_support::pezpallet]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
66 | / construct_runtime! {
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_- in this macro invocation
|
= note: this error originates in the macro `pallet::__substrate_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezpallet::__bizinikiwi_validate_unsigned_check::is_validate_unsigned_part_defined` which comes from the expansion of the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no variant or associated item named `Pallet` found for enum `RuntimeCall` in the current scope
error[E0599]: no variant or associated item named `Pezpallet` found for enum `RuntimeCall` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:70:3
|
66 | // construct_runtime! {
67 | || pub struct Runtime
68 | || {
69 | || System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
70 | || Pallet: pallet::{Pallet, ValidateUnsigned},
| || ----^^^^^^ variant or associated item not found in `RuntimeCall`
69 | || System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
70 | || Pezpallet: pezpallet::{Pezpallet, ValidateUnsigned},
| || ----^^^^^^^^^ variant or associated item not found in `RuntimeCall`
| ||_____|
| |
71 | | }
72 | | }
| |__- variant or associated item `Pallet` not found for this enum
| |__- variant or associated item `Pezpallet` not found for this enum
error[E0599]: no function or associated item named `pre_dispatch` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `pre_dispatch` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `pre_dispatch` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `pre_dispatch` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `pre_dispatch`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0599]: no function or associated item named `validate_unsigned` found for struct `pallet::Pallet` in the current scope
error[E0599]: no function or associated item named `validate_unsigned` found for struct `pezpallet::Pezpallet` in the current scope
--> tests/construct_runtime_ui/undefined_validate_unsigned_part.rs:66:1
|
28 | pub struct Pallet<T>(_);
| -------------------- function or associated item `validate_unsigned` not found for this struct
28 | pub struct Pezpallet<T>(_);
| ----------------------- function or associated item `validate_unsigned` not found for this struct
...
66 | construct_runtime! {
| _^
67 | | pub struct Runtime
68 | | {
69 | | System: frame_system::{Pallet, Call, Storage, Config<T>, Event<T>},
69 | | System: pezframe_system::{Pezpallet, Call, Storage, Config<T>, Event<T>},
... |
72 | | }
| |_^ function or associated item not found in `Pallet<Runtime>`
| |_^ function or associated item not found in `Pezpallet<Runtime>`
|
= help: items from traits can only be used if the trait is implemented and in scope
= note: the following traits define an item `validate_unsigned`, perhaps you need to implement one of them:
candidate #1: `SignedExtension`
candidate #2: `ValidateUnsigned`
= note: this error originates in the macro `frame_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the macro `pezframe_support::construct_runtime` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -1,4 +1,4 @@
error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime`
error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3
|
24 | #[attr]
@@ -1,5 +1,5 @@
error: Unsupported attribute, only #[cfg] is supported on pallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pallet_attr.rs:24:3
error: Unsupported attribute, only #[cfg] is supported on pezpallet declarations in `construct_runtime`
--> tests/construct_runtime_ui/unsupported_pezpallet_attr.rs:24:3
|
24 | #[attr]
| ^
@@ -1,8 +1,8 @@
error: Invalid pallet part specified, the pallet `Pallet` doesn't have the `Call` part. Available parts are: `Pallet`, `Storage`.
--> tests/construct_runtime_ui/use_undefined_part.rs:48:30
error: Invalid pezpallet part specified, the pezpallet `Pezpallet` doesn't have the `Call` part. Available parts are: `Pezpallet`, `Storage`.
--> tests/construct_runtime_ui/use_undefined_part.rs:48:36
|
48 | Pallet: pallet use_parts { Call },
| ^^^^
48 | Pezpallet: pezpallet use_parts { Call },
| ^^^^
error[E0412]: cannot find type `RuntimeCall` in this scope
--> tests/construct_runtime_ui/use_undefined_part.rs:40:64
@@ -16,13 +16,13 @@ help: you might be missing a type parameter
| +++++++++++++
error[E0412]: cannot find type `Runtime` in this scope
--> tests/construct_runtime_ui/use_undefined_part.rs:42:25
--> tests/construct_runtime_ui/use_undefined_part.rs:42:28
|
42 | impl pallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
42 | impl pezpallet::Config for Runtime {}
| ^^^^^^^ not found in this scope
|
help: there is an enum variant `sp_api::__private::TransactionType::Runtime`; try using the variant's enum
help: there is an enum variant `pezsp_api::__private::TransactionType::Runtime`; try using the variant's enum
|
42 - impl pallet::Config for Runtime {}
42 + impl pallet::Config for sp_api::__private::TransactionType {}
42 - impl pezpallet::Config for Runtime {}
42 + impl pezpallet::Config for pezsp_api::__private::TransactionType {}
|
@@ -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 = ();
@@ -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
@@ -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
@@ -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]]
| ^^^
@@ -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)]
| ^^^^^^^
@@ -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())]
| ^^^^^^
@@ -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
@@ -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) -> _`
@@ -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()]
| ^^
@@ -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<_, _>`
@@ -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
@@ -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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/authorize_wrong_weight.rs:37:33
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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`
@@ -1,5 +1,5 @@
error[E0599]: no function or associated item named `authorize_call1` found for associated type `<T as pallet::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/authorize_wrong_weight_info.rs:39:10
error[E0599]: no function or associated item named `authorize_call1` found for associated type `<T as pezpallet::Config>::WeightInfo` in the current scope
--> tests/pezpallet_ui/authorize_wrong_weight_info.rs:39:10
|
39 | pub fn call1(origin: OriginFor<T>, a: u32) -> DispatchResult {
| ^^^^^ function or associated item not found in `<T as Config>::WeightInfo`
@@ -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`
@@ -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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_argument_invalid_bound.rs:36:20
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36
error[E0277]: `<T as pezpallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| ^^^^ `<T as pezpallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
= help: the trait `std::fmt::Debug` is not implemented for `<T as pezpallet::Config>::Bar`
= note: required for `&<T as pezpallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pezpallet::Config>::Bar` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36
error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Clone` is not satisfied
--> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^ the trait `Clone` is not implemented for `<T as pezpallet::Config>::Bar`
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar`
--> tests/pallet_ui/call_argument_invalid_bound.rs:38:36
error[E0369]: binary operation `==` cannot be applied to type `&<T as pezpallet::Config>::Bar`
--> tests/pezpallet_ui/call_argument_invalid_bound.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _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<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,60 +1,60 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight.
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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:36:20
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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]: `<T as pallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
error[E0277]: `<T as pezpallet::Config>::Bar` doesn't implement `std::fmt::Debug`
--> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ `<T as pallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
| ^^^^ `<T as pezpallet::Config>::Bar` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `<T as pallet::Config>::Bar`
= note: required for `&<T as pallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pallet::Config>::Bar` to `&dyn std::fmt::Debug`
= help: the trait `std::fmt::Debug` is not implemented for `<T as pezpallet::Config>::Bar`
= note: required for `&<T as pezpallet::Config>::Bar` to implement `std::fmt::Debug`
= note: required for the cast from `&&<T as pezpallet::Config>::Bar` to `&dyn std::fmt::Debug`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Clone` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Clone` is not satisfied
--> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `Clone` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^ the trait `Clone` is not implemented for `<T as pezpallet::Config>::Bar`
error[E0369]: binary operation `==` cannot be applied to type `&<T as pallet::Config>::Bar`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
error[E0369]: binary operation `==` cannot be applied to type `&<T as pezpallet::Config>::Bar`
--> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:36
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Encode` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:36
error[E0277]: the trait bound `<T as pezpallet::Config>::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<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^ the trait `WrapperTypeEncode` is not implemented for `<T as pezpallet::Config>::Bar`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Encode`
= note: required for `<T as pezpallet::Config>::Bar` to implement `Encode`
error[E0277]: the trait bound `<T as pallet::Config>::Bar: Decode` is not satisfied
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:42
error[E0277]: the trait bound `<T as pezpallet::Config>::Bar: Decode` is not satisfied
--> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:42
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pallet::Config>::Bar`
| ^^^^^^ the trait `WrapperTypeDecode` is not implemented for `<T as pezpallet::Config>::Bar`
|
= note: required for `<T as pallet::Config>::Bar` to implement `Decode`
= note: required for `<T as pezpallet::Config>::Bar` to implement `Decode`
error: unused variable: `origin`
--> tests/pallet_ui/call_argument_invalid_bound_2.rs:38:14
--> tests/pezpallet_ui/call_argument_invalid_bound_2.rs:38:14
|
38 | pub fn foo(origin: OriginFor<T>, _bar: T::Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,19 +1,19 @@
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight.
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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_argument_invalid_bound_3.rs:38:20
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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<T>, _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<T>, _bar: Bar) -> DispatchResultWithPostInfo {
| ^^^^^^ help: if this is intentional, prefix it with an underscore: `_origin`
@@ -1,11 +1,11 @@
error: Call indices are conflicting: Both functions foo and bar are at index 10
--> tests/pallet_ui/call_conflicting_indices.rs:32:10
--> tests/pezpallet_ui/call_conflicting_indices.rs:32:10
|
32 | pub fn foo(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^^
error: Call indices are conflicting: Both functions foo and bar are at index 10
--> tests/pallet_ui/call_conflicting_indices.rs:36:10
--> tests/pezpallet_ui/call_conflicting_indices.rs:36:10
|
36 | pub fn bar(origin: OriginFor<T>) -> DispatchResultWithPostInfo {}
| ^^^
@@ -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 })]
| ^
@@ -1,5 +1,5 @@
error: Invalid type: expected `&OriginFor<T>`
--> tests/pallet_ui/call_feeless_invalid_closure_arg2.rs:31:28
--> tests/pezpallet_ui/call_feeless_invalid_closure_arg2.rs:31:31
|
31 | #[pallet::feeless_if(|_: bool| -> bool { true })]
| ^^^^
31 | #[pezpallet::feeless_if(|_: bool| -> bool { true })]
| ^^^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, feeless_if closure argument must have a reference to the same type as the dispatchable function argument
--> 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<T>, _s: &u32| -> bool { true })]
| ^^
31 | #[pezpallet::feeless_if(|_: &OriginFor<T>, _s: &u32| -> bool { true })]
| ^^
@@ -1,5 +1,5 @@
error: Invalid pallet::call, feeless_if closure must return `bool`
--> 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<T>| -> u32 { 0 })]
| ^
31 | #[pezpallet::feeless_if(|_: &OriginFor<T>| -> u32 { 0 })]
| ^
@@ -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)]
| ^
@@ -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)]
| ^^^^^^^^^^
@@ -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]
| ^^^^^^^^^^
@@ -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;
| ^^^^^
@@ -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)]
| ^^^
@@ -1,5 +1,5 @@
error: Invalid type: expected `OriginFor<T>` or `T::RuntimeOrigin`
--> tests/pallet_ui/call_invalid_origin_type.rs:34:22
--> tests/pezpallet_ui/call_invalid_origin_type.rs:34:22
|
34 | pub fn foo(origin: u8) {}
| ^^
@@ -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<T>) -> ::DispatchResult { todo!() }
| ^
@@ -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<T>) -> DispatchResultWithPostInfo {
| ^^
@@ -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<T>) -> DispatchResultWithPostInfo {
| ^^^
@@ -1,11 +1,11 @@
error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
error: use of deprecated constant `pezpallet::warnings::ImplicitCallIndex_0::_w`:
It is deprecated to use implicit call indices.
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:
<https://github.com/paritytech/bizinikiwi/pull/12891>
<https://github.com/paritytech/bizinikiwi/pull/11381>
--> tests/pallet_ui/call_missing_index.rs:32:10
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pezpallet_ui/call_missing_index.rs:32:10
|
32 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^
@@ -13,54 +13,54 @@ error: use of deprecated constant `pallet::warnings::ImplicitCallIndex_0::_w`:
= note: `-D deprecated` implied by `-D warnings`
= 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:
<https://github.com/paritytech/bizinikiwi/pull/12891>
<https://github.com/paritytech/bizinikiwi/pull/11381>
--> tests/pallet_ui/call_missing_index.rs:37:10
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/208>
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/205>
--> tests/pezpallet_ui/call_missing_index.rs:37:10
|
37 | pub fn bar(_: OriginFor<T>) -> DispatchResult {
| ^^^
error: use of deprecated constant `pallet::warnings::ConstantWeight_0::_w`:
error: use of deprecated constant `pezpallet::warnings::ConstantWeight_0::_w`:
It is deprecated to use hard-coded constant as call weight.
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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_missing_index.rs:31:20
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_missing_index.rs:36:20
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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<T>) -> DispatchResult {
| ^^^
@@ -1,5 +1,5 @@
error: A pallet::call requires either a concrete `#[pallet::weight($expr)]` or an inherited weight from the `#[pallet:call(weight($type))]` attribute, but none were given.
--> 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<T>) -> DispatchResultWithPostInfo {}
| ^^
@@ -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<T>) -> DispatchResultWithPostInfo {}
| ^^
@@ -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() {}
| ^^
@@ -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<T>) {}
| ^^
@@ -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<PostDispatchInfo>`
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<PostDispatchInfo>`
help: call `Into::into` on this expression to convert `pezframe_support::pezpallet_prelude::DispatchError` into `DispatchErrorWithPostInfo<PostDispatchInfo>`
|
32 | return Err(DispatchError::BadOrigin.into());
| +++++++
@@ -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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_weight_argument_has_suffix.rs:32:26
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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)]`
@@ -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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_weight_const_warning.rs:32:26
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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<T>) -> DispatchResult { Ok(()) }
| ^^^
@@ -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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_weight_const_warning_twice.rs:32:26
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> 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:
<https://github.com/paritytech/bizinikiwi/pull/13798>
--> tests/pallet_ui/call_weight_const_warning_twice.rs:36:26
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/215>
--> tests/pezpallet_ui/call_weight_const_warning_twice.rs:36:29
|
36 | #[pallet::weight(123_custom_prefix)]
| ^^^^^^^^^^^^^^^^^
36 | #[pezpallet::weight(123_custom_prefix)]
| ^^^^^^^^^^^^^^^^^
@@ -1,11 +1,11 @@
error: expected `weight`
--> 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]
| ^
@@ -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
@@ -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)]`
@@ -1,11 +1,11 @@
error[E0599]: no function or associated item named `foo` found for associated type `<T as parentheses::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:41:10
--> tests/pezpallet_ui/call_weight_inherited_invalid4.rs:41:10
|
41 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ function or associated item not found in `<T as Config>::WeightInfo`
error[E0599]: no function or associated item named `foo` found for associated type `<T as assign::Config>::WeightInfo` in the current scope
--> tests/pallet_ui/call_weight_inherited_invalid4.rs:62:10
--> tests/pezpallet_ui/call_weight_inherited_invalid4.rs:62:10
|
62 | pub fn foo(_: OriginFor<T>) -> DispatchResult {
| ^^^ function or associated item not found in `<T as Config>::WeightInfo`
@@ -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(<T as Config>::WeightInfo straycat))]
| ^^^^^^^^
31 | #[pezpallet::call(weight(<T as Config>::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 = <T as Config>::WeightInfo straycat)]
| ^^^^^^^^
51 | #[pezpallet::call(weight = <T as Config>::WeightInfo straycat)]
| ^^^^^^^^
@@ -1,10 +1,10 @@
error: use of deprecated constant `pallet::warnings::UncheckedWeightWitness_0::_w`:
error: use of deprecated constant `pezpallet::warnings::UncheckedWeightWitness_0::_w`:
It is deprecated to not check weight witness data.
Please instead ensure that all witness data for weight calculation is checked before usage.
For more info see:
<https://github.com/pezkuwichain/pezkuwichain-sdk/pull/1818>
--> tests/pallet_ui/call_weight_unchecked_warning.rs:33:31
<https://github.com/pezkuwichain/pezkuwi-sdk/issues/254>
--> tests/pezpallet_ui/call_weight_unchecked_warning.rs:33:31
|
33 | pub fn foo(_: OriginFor<T>, _unused: u64) -> DispatchResult { Ok(()) }
| ^^^^^^^
@@ -13,19 +13,19 @@ error: use of deprecated constant `pallet::warnings::UncheckedWeightWitness_0::_
= help: to override `-D warnings` add `#[allow(deprecated)]`
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<T>, _unused: u64) -> DispatchResult { Ok(()) }
| ^^^
@@ -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<StorageVersion>`
--> $WORKSPACE/bizinikiwi/frame/support/src/traits/metadata.rs
--> $WORKSPACE/bizinikiwi/pezframe/support/src/traits/metadata.rs
|
| pub struct NoStorageVersionSet;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not implement `PartialEq<StorageVersion>`
@@ -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 {}
| ^^^^^^^^^^^
@@ -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)]
| ^^^^^^
@@ -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]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -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]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

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