snapshot before rebranding

This commit is contained in:
2025-12-14 07:37:21 +03:00
parent 5520d491a5
commit 09735eb97a
1752 changed files with 58116 additions and 15986 deletions
+42 -41
View File
@@ -7,6 +7,7 @@ license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "FRAME pallet staking async"
documentation = "https://docs.rs/pezpallet-staking-async"
[lints]
workspace = true
@@ -40,7 +41,7 @@ anyhow = { workspace = true }
env_logger = { workspace = true }
pezframe-benchmarking = { workspace = true, default-features = true }
pezframe-support = { features = [
"experimental",
"experimental",
], workspace = true, default-features = true }
pezpallet-bags-list = { workspace = true, default-features = true }
pezpallet-balances = { workspace = true, default-features = true }
@@ -51,48 +52,48 @@ bizinikiwi-test-utils = { workspace = true }
[features]
default = ["std"]
std = [
"anyhow/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-staking-async-rc-client/std",
"rand/std",
"rand_chacha/std",
"scale-info/std",
"serde/std",
"pezsp-application-crypto/std",
"pezsp-core/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-npos-elections/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"pezsp-tracing/std",
"anyhow/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-staking-async-rc-client/std",
"rand/std",
"rand_chacha/std",
"scale-info/std",
"serde/std",
"pezsp-application-crypto/std",
"pezsp-core/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-npos-elections/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"pezsp-tracing/std",
]
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]
try-runtime = [
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezsp-runtime/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezsp-runtime/try-runtime",
]
@@ -6,6 +6,8 @@ version = "0.1.0"
edition.workspace = true
authors.workspace = true
repository.workspace = true
documentation = "https://docs.rs/pezpallet-staking-async-ah-client"
homepage = { workspace = true }
[dependencies]
codec = { workspace = true, features = ["derive"] }
@@ -28,39 +30,39 @@ pezpallet-staking-async-rc-client = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-authorship/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"scale-info/std",
"serde/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"pezpallet-authorship/std",
"pezpallet-session/std",
"pezpallet-staking-async-rc-client/std",
"scale-info/std",
"serde/std",
"pezsp-core/std",
"pezsp-io/std",
"pezsp-runtime/std",
"pezsp-staking/std",
]
runtime-benchmarks = [
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]
try-runtime = [
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezsp-runtime/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezsp-runtime/try-runtime",
]
[dev-dependencies]
@@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true
description = "e2e unit tests for staking in AHM"
publish = false
documentation = "https://docs.rs/pezpallet-ahm-test"
[lints]
workspace = true
@@ -21,7 +22,7 @@ frame = { workspace = true, default-features = true }
pezframe-support = { workspace = true, default-features = true }
log = { workspace = true }
scale-info = { features = [
"derive",
"derive",
], workspace = true, default-features = true }
pezsp-core = { workspace = true, default-features = true }
pezsp-session = { workspace = true, default-features = true }
@@ -50,39 +51,39 @@ pezpallet-staking = { workspace = true, default-features = true }
[features]
std = ["log/std"]
try-runtime = [
"pezpallet-balances/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"frame/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-offences/try-runtime",
"pezpallet-root-offences/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-ah-client/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-support/try-runtime",
"frame/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-offences/try-runtime",
"pezpallet-root-offences/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-ah-client/try-runtime",
"pezpallet-timestamp/try-runtime",
]
runtime-benchmarks = [
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"frame/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-offences/runtime-benchmarks",
"pezpallet-root-offences/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"frame/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-offences/runtime-benchmarks",
"pezpallet-root-offences/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]
@@ -6,6 +6,8 @@ version = "0.1.0"
edition.workspace = true
authors.workspace = true
repository.workspace = true
documentation = "https://docs.rs/pezpallet-staking-async-rc-client"
homepage = { workspace = true }
[dependencies]
codec = { workspace = true, features = ["derive"] }
@@ -22,25 +24,25 @@ xcm = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"scale-info/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"xcm/std",
"codec/std",
"pezframe-support/std",
"pezframe-system/std",
"log/std",
"scale-info/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-staking/std",
"xcm/std",
]
runtime-benchmarks = [
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"xcm/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezsp-runtime/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezsp-runtime/try-runtime",
]
@@ -7,6 +7,7 @@ license = "Apache-2.0"
homepage.workspace = true
repository.workspace = true
description = "Reward function for FRAME staking pallet"
documentation = "https://docs.rs/pezpallet-staking-async-reward-fn"
[lints]
workspace = true
@@ -8,6 +8,7 @@ homepage.workspace = true
repository.workspace = true
description = "RPC runtime API for transaction payment FRAME pallet"
readme = "README.md"
documentation = "https://docs.rs/pezpallet-staking-async-runtime-api"
[lints]
workspace = true
@@ -24,6 +25,6 @@ pezsp-staking = { workspace = true }
default = ["std"]
std = ["codec/std", "pezsp-api/std", "pezsp-staking/std"]
runtime-benchmarks = [
"pezsp-api/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
]
@@ -13,7 +13,7 @@ name = "bob"
validator = true
rpc_port = 9943
args = [
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug",
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug",
]
[[relaychain.nodes]]
@@ -34,5 +34,5 @@ chain_spec_path = "./teyrchain.json"
name = "charlie"
rpc_port = 9946
args = [
"-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug",
"-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug",
]
@@ -7,7 +7,7 @@ name = "alice"
validator = true
rpc_port = 9944
args = [
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug,xcm=trace",
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug,xcm=trace",
]
[[relaychain.nodes]]
@@ -15,7 +15,7 @@ name = "bob"
validator = true
rpc_port = 9945
args = [
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug",
"-lruntime::system=debug,runtime::session=trace,runtime::staking-async::ah-client=trace,runtime::ah-client=debug",
]
[[teyrchains]]
@@ -26,5 +26,5 @@ chain_spec_path = "./teyrchain.json"
name = "charlie"
rpc_port = 9946
args = [
"-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug,xcm=trace,teyrchain-system=debug,runtime=info",
"-lruntime::system=debug,runtime::multiblock-election=trace,runtime::staking=debug,runtime::staking::rc-client=trace,runtime::rc-client=debug,xcm=trace,teyrchain-system=debug,runtime=info",
]
@@ -8,6 +8,7 @@ description = "Simple pallet to store the preset used to generate a runtime's ge
license.workspace = true
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/pezpallet-staking-async-preset-store"
[dependencies]
@@ -19,12 +20,12 @@ scale-info = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"frame/std",
"pezpallet-staking-async-ah-client/std",
"scale-info/std",
"codec/std",
"frame/std",
"pezpallet-staking-async-ah-client/std",
"scale-info/std",
]
runtime-benchmarks = [
"frame/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"frame/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
]
@@ -9,6 +9,7 @@ license.workspace = true
homepage.workspace = true
repository.workspace = true
publish = false
documentation = "https://docs.rs/pezpallet-staking-async-rc-runtime"
[lints]
workspace = true
@@ -50,7 +51,10 @@ pezsp-version = { workspace = true }
pezframe-election-provider-support = { workspace = true }
pezframe-executive = { workspace = true }
pezframe-metadata-hash-extension = { workspace = true }
pezframe-support = { features = ["experimental", "tuples-96"], workspace = true }
pezframe-support = { features = [
"experimental",
"tuples-96",
], workspace = true }
pezframe-system = { workspace = true }
pezframe-system-rpc-runtime-api = { workspace = true }
pezpallet-asset-rate = { workspace = true }
@@ -131,235 +135,235 @@ bizinikiwi-wasm-builder = { workspace = true, default-features = true }
default = ["std"]
no_std = []
std = [
"binary-merkle-tree/std",
"bitvec/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime/std",
"log/std",
"pezpallet-asset-rate/std",
"pezpallet-authority-discovery/std",
"pezpallet-authorship/std",
"pezpallet-babe/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-beefy-mmr/std",
"pezpallet-beefy/std",
"pezpallet-conviction-voting/std",
"pezpallet-election-provider-multi-phase/std",
"pezpallet-election-provider-support-benchmarking?/std",
"pezpallet-fast-unstake/std",
"pezpallet-grandpa/std",
"pezpallet-identity/std",
"pezpallet-indices/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-mmr/std",
"pezpallet-multisig/std",
"pezpallet-offences-benchmarking?/std",
"pezpallet-offences/std",
"pezpallet-parameters/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-recovery/std",
"pezpallet-referenda/std",
"pezpallet-root-offences/std",
"pezpallet-root-testing/std",
"pezpallet-scheduler/std",
"pezpallet-session-benchmarking?/std",
"pezpallet-session/std",
"pezpallet-staking-async-ah-client/std",
"pezpallet-staking-async-preset-store/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async-rc-runtime-constants/std",
"pezpallet-staking/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm/std",
"pezkuwi-primitives/std",
"pezkuwi-runtime-common/std",
"pezkuwi-runtime-teyrchains/std",
"pezkuwi-teyrchain-primitives/std",
"scale-info/std",
"serde/std",
"serde_derive",
"serde_json/std",
"pezsp-api/std",
"pezsp-application-crypto/std",
"pezsp-arithmetic/std",
"pezsp-authority-discovery/std",
"pezsp-block-builder/std",
"pezsp-consensus-babe/std",
"pezsp-consensus-beefy/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-io/std",
"pezsp-mmr-primitives/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-storage/std",
"pezsp-tracing/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm/std",
"binary-merkle-tree/std",
"bitvec/std",
"codec/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime/std",
"log/std",
"pezpallet-asset-rate/std",
"pezpallet-authority-discovery/std",
"pezpallet-authorship/std",
"pezpallet-babe/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-beefy-mmr/std",
"pezpallet-beefy/std",
"pezpallet-conviction-voting/std",
"pezpallet-election-provider-multi-phase/std",
"pezpallet-election-provider-support-benchmarking?/std",
"pezpallet-fast-unstake/std",
"pezpallet-grandpa/std",
"pezpallet-identity/std",
"pezpallet-indices/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-mmr/std",
"pezpallet-multisig/std",
"pezpallet-offences-benchmarking?/std",
"pezpallet-offences/std",
"pezpallet-parameters/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-recovery/std",
"pezpallet-referenda/std",
"pezpallet-root-offences/std",
"pezpallet-root-testing/std",
"pezpallet-scheduler/std",
"pezpallet-session-benchmarking?/std",
"pezpallet-session/std",
"pezpallet-staking-async-ah-client/std",
"pezpallet-staking-async-preset-store/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async-rc-runtime-constants/std",
"pezpallet-staking/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm/std",
"pezkuwi-primitives/std",
"pezkuwi-runtime-common/std",
"pezkuwi-runtime-teyrchains/std",
"pezkuwi-teyrchain-primitives/std",
"scale-info/std",
"serde/std",
"serde_derive",
"serde_json/std",
"pezsp-api/std",
"pezsp-application-crypto/std",
"pezsp-arithmetic/std",
"pezsp-authority-discovery/std",
"pezsp-block-builder/std",
"pezsp-consensus-babe/std",
"pezsp-consensus-beefy/std",
"pezsp-consensus-grandpa/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-io/std",
"pezsp-mmr-primitives/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-storage/std",
"pezsp-tracing/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm/std",
]
runtime-benchmarks = [
"binary-merkle-tree/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-authority-discovery/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-babe/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-beefy-mmr/runtime-benchmarks",
"pezpallet-beefy/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-election-provider-multi-phase/runtime-benchmarks",
"pezpallet-election-provider-support-benchmarking/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-grandpa/runtime-benchmarks",
"pezpallet-identity/runtime-benchmarks",
"pezpallet-indices/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-mmr/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-offences-benchmarking/runtime-benchmarks",
"pezpallet-offences/runtime-benchmarks",
"pezpallet-parameters/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-recovery/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-root-offences/runtime-benchmarks",
"pezpallet-root-testing/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session-benchmarking/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"pezpallet-staking-async-preset-store/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async-rc-runtime-constants/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"remote-externalities/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-mmr-primitives/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"binary-merkle-tree/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-authority-discovery/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-babe/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-beefy-mmr/runtime-benchmarks",
"pezpallet-beefy/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-election-provider-multi-phase/runtime-benchmarks",
"pezpallet-election-provider-support-benchmarking/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-grandpa/runtime-benchmarks",
"pezpallet-identity/runtime-benchmarks",
"pezpallet-indices/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-mmr/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-offences-benchmarking/runtime-benchmarks",
"pezpallet-offences/runtime-benchmarks",
"pezpallet-parameters/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-recovery/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-root-offences/runtime-benchmarks",
"pezpallet-root-testing/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session-benchmarking/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-ah-client/runtime-benchmarks",
"pezpallet-staking-async-preset-store/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async-rc-runtime-constants/runtime-benchmarks",
"pezpallet-staking/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-runtime-teyrchains/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"remote-externalities/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-authority-discovery/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-babe/runtime-benchmarks",
"pezsp-consensus-beefy/runtime-benchmarks",
"pezsp-consensus-grandpa/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-mmr-primitives/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = [
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-authority-discovery/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-babe/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-beefy-mmr/try-runtime",
"pezpallet-beefy/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-election-provider-multi-phase/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-grandpa/try-runtime",
"pezpallet-identity/try-runtime",
"pezpallet-indices/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-mmr/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-offences/try-runtime",
"pezpallet-parameters/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-recovery/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-root-offences/try-runtime",
"pezpallet-root-testing/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-ah-client/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezkuwi-runtime-teyrchains/try-runtime",
"pezsp-runtime/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-authority-discovery/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-babe/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-beefy-mmr/try-runtime",
"pezpallet-beefy/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-election-provider-multi-phase/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-grandpa/try-runtime",
"pezpallet-identity/try-runtime",
"pezpallet-indices/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-mmr/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-offences/try-runtime",
"pezpallet-parameters/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-recovery/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-root-offences/try-runtime",
"pezpallet-root-testing/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-ah-client/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezkuwi-runtime-teyrchains/try-runtime",
"pezsp-runtime/try-runtime",
]
# Enable the metadata hash generation in the wasm builder.
@@ -369,8 +373,8 @@ metadata-hash = ["bizinikiwi-wasm-builder/metadata-hash"]
fast-runtime = []
runtime-metrics = [
"pezkuwi-runtime-teyrchains/runtime-metrics",
"pezsp-io/with-tracing",
"pezkuwi-runtime-teyrchains/runtime-metrics",
"pezsp-io/with-tracing",
]
# A feature that should be enabled when the runtime should be built for on-chain
@@ -7,6 +7,7 @@ edition.workspace = true
license.workspace = true
homepage.workspace = true
repository.workspace = true
documentation = "https://docs.rs/pezpallet-staking-async-rc-runtime-constants"
[package.metadata.pezkuwi-sdk]
exclude-from-umbrella = true
@@ -30,23 +31,23 @@ xcm-builder = { workspace = true }
[features]
default = ["std"]
std = [
"pezframe-support/std",
"pezkuwi-primitives/std",
"pezkuwi-runtime-common/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-weights/std",
"xcm-builder/std",
"xcm/std",
"pezframe-support/std",
"pezkuwi-primitives/std",
"pezkuwi-runtime-common/std",
"pezsp-core/std",
"pezsp-runtime/std",
"pezsp-weights/std",
"xcm-builder/std",
"xcm/std",
]
# Set timing constants (e.g. session period) to faster versions to speed up testing.
fast-runtime = []
runtime-benchmarks = [
"pezframe-support/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezkuwi-primitives/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
@@ -8,6 +8,7 @@ license.workspace = true
homepage.workspace = true
repository.workspace = true
publish = false
documentation = "https://docs.rs/pezpallet-staking-async-teyrchain-runtime"
[lints]
workspace = true
@@ -90,9 +91,9 @@ pezsp-version = { workspace = true }
# num-traits feature needed for dex integer sq root:
primitive-types = { features = [
"codec",
"num-traits",
"scale-info",
"codec",
"num-traits",
"scale-info",
], workspace = true }
# Pezkuwi
@@ -146,265 +147,265 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
[features]
default = ["std"]
runtime-benchmarks = [
"asset-test-utils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list-remote-tests/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts-runtime-api/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-preset-store/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async-runtime-api/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-state-trie-migration/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"remote-externalities/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"zagros-runtime-constants/runtime-benchmarks",
"asset-test-utils/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
"bp-bridge-hub-zagros/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
"pezcumulus-pezpallet-weight-reclaim/runtime-benchmarks",
"pezcumulus-pezpallet-xcm/runtime-benchmarks",
"pezcumulus-pezpallet-xcmp-queue/runtime-benchmarks",
"pezcumulus-primitives-aura/runtime-benchmarks",
"pezcumulus-primitives-core/runtime-benchmarks",
"pezcumulus-primitives-utility/runtime-benchmarks",
"pezframe-benchmarking/runtime-benchmarks",
"pezframe-election-provider-support/runtime-benchmarks",
"pezframe-executive/runtime-benchmarks",
"pezframe-metadata-hash-extension/runtime-benchmarks",
"pezframe-support/runtime-benchmarks",
"pezframe-system-benchmarking/runtime-benchmarks",
"pezframe-system-rpc-runtime-api/runtime-benchmarks",
"pezframe-system/runtime-benchmarks",
"pezframe-try-runtime?/runtime-benchmarks",
"pezpallet-asset-conversion-ops/runtime-benchmarks",
"pezpallet-asset-conversion-tx-payment/runtime-benchmarks",
"pezpallet-asset-conversion/runtime-benchmarks",
"pezpallet-asset-rate/runtime-benchmarks",
"pezpallet-asset-rewards/runtime-benchmarks",
"pezpallet-assets-freezer/runtime-benchmarks",
"pezpallet-assets/runtime-benchmarks",
"pezpallet-aura/runtime-benchmarks",
"pezpallet-authorship/runtime-benchmarks",
"pezpallet-bags-list-remote-tests/runtime-benchmarks",
"pezpallet-bags-list/runtime-benchmarks",
"pezpallet-balances/runtime-benchmarks",
"pezpallet-collator-selection/runtime-benchmarks",
"pezpallet-conviction-voting/runtime-benchmarks",
"pezpallet-delegated-staking/runtime-benchmarks",
"pezpallet-election-provider-multi-block/runtime-benchmarks",
"pezpallet-fast-unstake/runtime-benchmarks",
"pezpallet-message-queue/runtime-benchmarks",
"pezpallet-migrations/runtime-benchmarks",
"pezpallet-multisig/runtime-benchmarks",
"pezpallet-nft-fractionalization/runtime-benchmarks",
"pezpallet-nfts-runtime-api/runtime-benchmarks",
"pezpallet-nfts/runtime-benchmarks",
"pezpallet-nomination-pools-runtime-api/runtime-benchmarks",
"pezpallet-nomination-pools/runtime-benchmarks",
"pezpallet-preimage/runtime-benchmarks",
"pezpallet-proxy/runtime-benchmarks",
"pezpallet-referenda/runtime-benchmarks",
"pezpallet-scheduler/runtime-benchmarks",
"pezpallet-session/runtime-benchmarks",
"pezpallet-staking-async-preset-store/runtime-benchmarks",
"pezpallet-staking-async-rc-client/runtime-benchmarks",
"pezpallet-staking-async-runtime-api/runtime-benchmarks",
"pezpallet-staking-async/runtime-benchmarks",
"pezpallet-state-trie-migration/runtime-benchmarks",
"pezpallet-sudo/runtime-benchmarks",
"pezpallet-timestamp/runtime-benchmarks",
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
"pezpallet-transaction-payment/runtime-benchmarks",
"pezpallet-treasury/runtime-benchmarks",
"pezpallet-uniques/runtime-benchmarks",
"pezpallet-utility/runtime-benchmarks",
"pezpallet-vesting/runtime-benchmarks",
"pezpallet-whitelist/runtime-benchmarks",
"pezpallet-xcm-benchmarks/runtime-benchmarks",
"pezpallet-xcm-bridge-hub-router/runtime-benchmarks",
"pezpallet-xcm/runtime-benchmarks",
"pezkuwi-runtime-common/runtime-benchmarks",
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
"remote-externalities/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
"pezsp-genesis-builder/runtime-benchmarks",
"pezsp-inherents/runtime-benchmarks",
"pezsp-io/runtime-benchmarks",
"pezsp-keyring/runtime-benchmarks",
"pezsp-npos-elections/runtime-benchmarks",
"pezsp-offchain/runtime-benchmarks",
"pezsp-runtime/runtime-benchmarks",
"pezsp-session/runtime-benchmarks",
"pezsp-staking/runtime-benchmarks",
"pezsp-transaction-pool/runtime-benchmarks",
"pezsp-version/runtime-benchmarks",
"bizinikiwi-wasm-builder?/runtime-benchmarks",
"testnet-teyrchains-constants/runtime-benchmarks",
"teyrchain-info/runtime-benchmarks",
"teyrchains-common/runtime-benchmarks",
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"zagros-runtime-constants/runtime-benchmarks",
]
try-runtime = [
"asset-test-utils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-state-trie-migration/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
"asset-test-utils/try-runtime",
"assets-common/try-runtime",
"pezcumulus-pezpallet-aura-ext/try-runtime",
"pezcumulus-pezpallet-teyrchain-system/try-runtime",
"pezcumulus-pezpallet-weight-reclaim/try-runtime",
"pezcumulus-pezpallet-xcm/try-runtime",
"pezcumulus-pezpallet-xcmp-queue/try-runtime",
"pezframe-election-provider-support/try-runtime",
"pezframe-executive/try-runtime",
"pezframe-support/try-runtime",
"pezframe-system/try-runtime",
"pezframe-try-runtime/try-runtime",
"pezpallet-asset-conversion-ops/try-runtime",
"pezpallet-asset-conversion-tx-payment/try-runtime",
"pezpallet-asset-conversion/try-runtime",
"pezpallet-asset-rate/try-runtime",
"pezpallet-asset-rewards/try-runtime",
"pezpallet-assets-freezer/try-runtime",
"pezpallet-assets/try-runtime",
"pezpallet-aura/try-runtime",
"pezpallet-authorship/try-runtime",
"pezpallet-bags-list/try-runtime",
"pezpallet-balances/try-runtime",
"pezpallet-collator-selection/try-runtime",
"pezpallet-conviction-voting/try-runtime",
"pezpallet-delegated-staking/try-runtime",
"pezpallet-election-provider-multi-block/try-runtime",
"pezpallet-fast-unstake/try-runtime",
"pezpallet-message-queue/try-runtime",
"pezpallet-migrations/try-runtime",
"pezpallet-multisig/try-runtime",
"pezpallet-nft-fractionalization/try-runtime",
"pezpallet-nfts/try-runtime",
"pezpallet-nomination-pools/try-runtime",
"pezpallet-preimage/try-runtime",
"pezpallet-proxy/try-runtime",
"pezpallet-referenda/try-runtime",
"pezpallet-scheduler/try-runtime",
"pezpallet-session/try-runtime",
"pezpallet-staking-async-rc-client/try-runtime",
"pezpallet-staking-async/try-runtime",
"pezpallet-state-trie-migration/try-runtime",
"pezpallet-sudo/try-runtime",
"pezpallet-timestamp/try-runtime",
"pezpallet-transaction-payment/try-runtime",
"pezpallet-treasury/try-runtime",
"pezpallet-uniques/try-runtime",
"pezpallet-utility/try-runtime",
"pezpallet-vesting/try-runtime",
"pezpallet-whitelist/try-runtime",
"pezpallet-xcm-bridge-hub-router/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"pezsp-runtime/try-runtime",
"teyrchain-info/try-runtime",
"teyrchains-common/try-runtime",
]
std = [
"assets-common/std",
"bp-asset-hub-pezkuwichain/std",
# "bp-asset-hub-next-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"log/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-conviction-voting/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-fast-unstake/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts-runtime-api/std",
"pezpallet-nfts/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-referenda/std",
"pezpallet-scheduler/std",
"pezpallet-session/std",
"pezpallet-staking-async-preset-store/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async-runtime-api/std",
"pezpallet-staking-async/std",
"pezpallet-state-trie-migration/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"pezsp-api/std",
"pezsp-arithmetic/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-std/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"bizinikiwi-wasm-builder",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm/std",
"zagros-runtime-constants/std",
"assets-common/std",
"bp-asset-hub-pezkuwichain/std",
# "bp-asset-hub-next-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"codec/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
"pezcumulus-pezpallet-teyrchain-system/std",
"pezcumulus-pezpallet-weight-reclaim/std",
"pezcumulus-pezpallet-xcm/std",
"pezcumulus-pezpallet-xcmp-queue/std",
"pezcumulus-primitives-aura/std",
"pezcumulus-primitives-core/std",
"pezcumulus-primitives-utility/std",
"pezframe-benchmarking?/std",
"pezframe-election-provider-support/std",
"pezframe-executive/std",
"pezframe-metadata-hash-extension/std",
"pezframe-support/std",
"pezframe-system-benchmarking?/std",
"pezframe-system-rpc-runtime-api/std",
"pezframe-system/std",
"pezframe-try-runtime?/std",
"log/std",
"pezpallet-asset-conversion-ops/std",
"pezpallet-asset-conversion-tx-payment/std",
"pezpallet-asset-conversion/std",
"pezpallet-asset-rate/std",
"pezpallet-asset-rewards/std",
"pezpallet-assets-freezer/std",
"pezpallet-assets/std",
"pezpallet-aura/std",
"pezpallet-authorship/std",
"pezpallet-bags-list/std",
"pezpallet-balances/std",
"pezpallet-collator-selection/std",
"pezpallet-conviction-voting/std",
"pezpallet-delegated-staking/std",
"pezpallet-election-provider-multi-block/std",
"pezpallet-fast-unstake/std",
"pezpallet-message-queue/std",
"pezpallet-migrations/std",
"pezpallet-multisig/std",
"pezpallet-nft-fractionalization/std",
"pezpallet-nfts-runtime-api/std",
"pezpallet-nfts/std",
"pezpallet-nomination-pools-runtime-api/std",
"pezpallet-nomination-pools/std",
"pezpallet-preimage/std",
"pezpallet-proxy/std",
"pezpallet-referenda/std",
"pezpallet-scheduler/std",
"pezpallet-session/std",
"pezpallet-staking-async-preset-store/std",
"pezpallet-staking-async-rc-client/std",
"pezpallet-staking-async-runtime-api/std",
"pezpallet-staking-async/std",
"pezpallet-state-trie-migration/std",
"pezpallet-sudo/std",
"pezpallet-timestamp/std",
"pezpallet-transaction-payment-rpc-runtime-api/std",
"pezpallet-transaction-payment/std",
"pezpallet-treasury/std",
"pezpallet-uniques/std",
"pezpallet-utility/std",
"pezpallet-vesting/std",
"pezpallet-whitelist/std",
"pezpallet-xcm-benchmarks?/std",
"pezpallet-xcm-bridge-hub-router/std",
"pezpallet-xcm/std",
"pezkuwi-runtime-common/std",
"pezkuwi-teyrchain-primitives/std",
"primitive-types/std",
"scale-info/std",
"serde_json/std",
"pezsp-api/std",
"pezsp-arithmetic/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
"pezsp-core/std",
"pezsp-genesis-builder/std",
"pezsp-inherents/std",
"pezsp-keyring/std",
"pezsp-npos-elections/std",
"pezsp-offchain/std",
"pezsp-runtime/std",
"pezsp-session/std",
"pezsp-staking/std",
"pezsp-std/std",
"pezsp-storage/std",
"pezsp-transaction-pool/std",
"pezsp-version/std",
"bizinikiwi-wasm-builder",
"testnet-teyrchains-constants/std",
"teyrchain-info/std",
"teyrchains-common/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm/std",
"zagros-runtime-constants/std",
]
fast-runtime = []
@@ -23,7 +23,7 @@ use alloc::{
vec,
vec::Vec,
};
use cumulus_primitives_core::ParaId;
use pezcumulus_primitives_core::ParaId;
use pezframe_support::build_struct_json_patch;
use pezsp_core::{crypto::get_public_from_string_or_panic, sr25519};
use pezsp_genesis_builder::PresetId;
@@ -44,8 +44,8 @@ use assets_common::{
AssetIdForPoolAssets, AssetIdForPoolAssetsConvert, AssetIdForTrustBackedAssetsConvert,
};
use codec::{Decode, DecodeWithMemTracking, Encode, MaxEncodedLen};
use cumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider};
use cumulus_primitives_core::{AggregateMessageOrigin, ParaId};
use pezcumulus_pallet_teyrchain_system::{RelayNumberMonotonicallyIncreases, RelaychainDataProvider};
use pezcumulus_primitives_core::{AggregateMessageOrigin, ParaId};
use pezframe_support::{
construct_runtime, derive_impl,
dispatch::DispatchClass,
@@ -185,14 +185,14 @@ impl pezframe_system::Config for Runtime {
type SystemWeightInfo = weights::pezframe_system::WeightInfo<Runtime>;
type ExtensionsWeightInfo = weights::pezframe_system_extensions::WeightInfo<Runtime>;
type SS58Prefix = SS58Prefix;
type OnSetCode = cumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
type MaxConsumers = pezframe_support::traits::ConstU32<16>;
type MultiBlockMigrator = MultiBlockMigrations;
type SingleBlockMigrations = Migrations;
}
impl cumulus_pallet_weight_reclaim::Config for Runtime {
type WeightInfo = weights::cumulus_pallet_weight_reclaim::WeightInfo<Runtime>;
impl pezcumulus_pallet_weight_reclaim::Config for Runtime {
type WeightInfo = weights::pezcumulus_pallet_weight_reclaim::WeightInfo<Runtime>;
}
impl pezpallet_timestamp::Config for Runtime {
@@ -801,8 +801,8 @@ parameter_types! {
pub const ReservedDmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
}
impl cumulus_pallet_teyrchain_system::Config for Runtime {
type WeightInfo = weights::cumulus_pallet_teyrchain_system::WeightInfo<Runtime>;
impl pezcumulus_pallet_teyrchain_system::Config for Runtime {
type WeightInfo = weights::pezcumulus_pallet_teyrchain_system::WeightInfo<Runtime>;
type RuntimeEvent = RuntimeEvent;
type OnSystemEvent = ();
type SelfParaId = teyrchain_info::Pallet<Runtime>;
@@ -816,7 +816,7 @@ impl cumulus_pallet_teyrchain_system::Config for Runtime {
type RelayParentOffset = ConstU32<0>;
}
type ConsensusHook = cumulus_pallet_aura_ext::FixedVelocityConsensusHook<
type ConsensusHook = pezcumulus_pallet_aura_ext::FixedVelocityConsensusHook<
Runtime,
RELAY_CHAIN_SLOT_DURATION_MILLIS,
BLOCK_PROCESSING_VELOCITY,
@@ -837,7 +837,7 @@ impl pezpallet_message_queue::Config for Runtime {
type WeightInfo = weights::pezpallet_message_queue::WeightInfo<Runtime>;
#[cfg(feature = "runtime-benchmarks")]
type MessageProcessor = pezpallet_message_queue::mock_helpers::NoopMessageProcessor<
cumulus_primitives_core::AggregateMessageOrigin,
pezcumulus_primitives_core::AggregateMessageOrigin,
>;
#[cfg(not(feature = "runtime-benchmarks"))]
type MessageProcessor = xcm_builder::ProcessXcmMessage<
@@ -855,7 +855,7 @@ impl pezpallet_message_queue::Config for Runtime {
type IdleMaxServiceWeight = MessageQueueServiceWeight;
}
impl cumulus_pallet_aura_ext::Config for Runtime {}
impl pezcumulus_pallet_aura_ext::Config for Runtime {}
parameter_types! {
/// The asset ID for the asset that we use to pay for message delivery fees.
@@ -871,7 +871,7 @@ pub type PriceForSiblingTeyrchainDelivery = pezkuwi_runtime_common::xcm_sender::
XcmpQueue,
>;
impl cumulus_pallet_xcmp_queue::Config for Runtime {
impl pezcumulus_pallet_xcmp_queue::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type ChannelInfo = TeyrchainSystem;
type VersionWrapper = PezkuwiXcm;
@@ -884,11 +884,11 @@ impl cumulus_pallet_xcmp_queue::Config for Runtime {
type MaxPageSize = ConstU32<{ 103 * 1024 }>;
type ControllerOrigin = EnsureRoot<AccountId>;
type ControllerOriginConverter = XcmOriginToTransactDispatchOrigin;
type WeightInfo = weights::cumulus_pallet_xcmp_queue::WeightInfo<Runtime>;
type WeightInfo = weights::pezcumulus_pallet_xcmp_queue::WeightInfo<Runtime>;
type PriceForSiblingDelivery = PriceForSiblingTeyrchainDelivery;
}
impl cumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
impl pezcumulus_pallet_xcmp_queue::migration::v5::V5Config for Runtime {
// This must be the same as the `ChannelInfo` from the `Config`:
type ChannelList = TeyrchainSystem;
}
@@ -1083,7 +1083,7 @@ impl pezpallet_xcm_bridge_hub_router::Config<ToPezkuwichainXcmRouterInstance> fo
>;
type ToBridgeHubSender = XcmpQueue;
type LocalXcmChannelManager =
cumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider<Runtime>;
pezcumulus_pallet_xcmp_queue::bridging::InAndOutXcmpChannelStatusProvider<Runtime>;
type ByteFee = xcm_config::bridging::XcmBridgeHubRouterByteFee;
type FeeAsset = xcm_config::bridging::XcmBridgeHubRouterFeeAssetId;
@@ -1122,11 +1122,11 @@ construct_runtime!(
{
// System support stuff.
System: pezframe_system = 0,
TeyrchainSystem: cumulus_pallet_teyrchain_system = 1,
TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1,
// RandomnessCollectiveFlip = 2 removed
Timestamp: pezpallet_timestamp = 3,
TeyrchainInfo: teyrchain_info = 4,
WeightReclaim: cumulus_pallet_weight_reclaim = 5,
WeightReclaim: pezcumulus_pallet_weight_reclaim = 5,
MultiBlockMigrations: pezpallet_migrations = 6,
// Monetary stuff.
@@ -1140,12 +1140,12 @@ construct_runtime!(
CollatorSelection: pezpallet_collator_selection = 21,
Session: pezpallet_session = 22,
Aura: pezpallet_aura = 23,
AuraExt: cumulus_pallet_aura_ext = 24,
AuraExt: pezcumulus_pallet_aura_ext = 24,
// XCM helpers.
XcmpQueue: cumulus_pallet_xcmp_queue = 30,
XcmpQueue: pezcumulus_pallet_xcmp_queue = 30,
PezkuwiXcm: pezpallet_xcm = 31,
CumulusXcm: cumulus_pallet_xcm = 32,
CumulusXcm: pezcumulus_pallet_xcm = 32,
// Bridge utilities.
ToPezkuwichainXcmRouter: pezpallet_xcm_bridge_hub_router::<Instance1> = 34,
MessageQueue: pezpallet_message_queue = 35,
@@ -1218,7 +1218,7 @@ pub type SignedBlock = generic::SignedBlock<Block>;
/// BlockId type as expected by this runtime.
pub type BlockId = generic::BlockId<Block>;
/// The extension to the basic transaction logic.
pub type TxExtension = cumulus_pallet_weight_reclaim::StorageWeightReclaim<
pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim<
Runtime,
(
pezframe_system::CheckNonZeroSender<Runtime>,
@@ -1258,26 +1258,26 @@ pub struct AssetConversionTxHelper;
impl
pezpallet_asset_conversion_tx_payment::BenchmarkHelperTrait<
AccountId,
cumulus_primitives_core::Location,
cumulus_primitives_core::Location,
pezcumulus_primitives_core::Location,
pezcumulus_primitives_core::Location,
> for AssetConversionTxHelper
{
fn create_asset_id_parameter(
seed: u32,
) -> (cumulus_primitives_core::Location, cumulus_primitives_core::Location) {
) -> (pezcumulus_primitives_core::Location, pezcumulus_primitives_core::Location) {
// Use a different teyrchain' foreign assets pallet so that the asset is indeed foreign.
let asset_id = cumulus_primitives_core::Location::new(
let asset_id = pezcumulus_primitives_core::Location::new(
1,
[
cumulus_primitives_core::Junction::Teyrchain(3000),
cumulus_primitives_core::Junction::PalletInstance(53),
cumulus_primitives_core::Junction::GeneralIndex(seed.into()),
pezcumulus_primitives_core::Junction::Teyrchain(3000),
pezcumulus_primitives_core::Junction::PalletInstance(53),
pezcumulus_primitives_core::Junction::GeneralIndex(seed.into()),
],
);
(asset_id.clone(), asset_id)
}
fn setup_balances_and_pool(asset_id: cumulus_primitives_core::Location, account: AccountId) {
fn setup_balances_and_pool(asset_id: pezcumulus_primitives_core::Location, account: AccountId) {
use pezframe_support::{assert_ok, traits::fungibles::Mutate};
assert_ok!(ForeignAssets::force_create(
RuntimeOrigin::root(),
@@ -1296,9 +1296,9 @@ impl
u64::MAX.into()
));
let token_native = alloc::boxed::Box::new(cumulus_primitives_core::Location::new(
let token_native = alloc::boxed::Box::new(pezcumulus_primitives_core::Location::new(
1,
cumulus_primitives_core::Junctions::Here,
pezcumulus_primitives_core::Junctions::Here,
));
let token_second = alloc::boxed::Box::new(asset_id);
@@ -1356,8 +1356,8 @@ mod benches {
[pezpallet_timestamp, Timestamp]
[pezpallet_transaction_payment, TransactionPayment]
[pezpallet_collator_selection, CollatorSelection]
[cumulus_pallet_teyrchain_system, TeyrchainSystem]
[cumulus_pallet_xcmp_queue, XcmpQueue]
[pezcumulus_pallet_teyrchain_system, TeyrchainSystem]
[pezcumulus_pallet_xcmp_queue, XcmpQueue]
[pezpallet_treasury, Treasury]
[pezpallet_vesting, Vesting]
[pezpallet_whitelist, Whitelist]
@@ -1368,7 +1368,7 @@ mod benches {
// NOTE: Make sure you point to the individual modules below.
[pezpallet_xcm_benchmarks::fungible, XcmBalances]
[pezpallet_xcm_benchmarks::generic, XcmGeneric]
[cumulus_pallet_weight_reclaim, WeightReclaim]
[pezcumulus_pallet_weight_reclaim, WeightReclaim]
);
}
@@ -1383,16 +1383,16 @@ impl_runtime_apis! {
}
}
impl cumulus_primitives_core::RelayParentOffsetApi<Block> for Runtime {
impl pezcumulus_primitives_core::RelayParentOffsetApi<Block> for Runtime {
fn relay_parent_offset() -> u32 {
0
}
}
impl cumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
impl pezcumulus_primitives_aura::AuraUnincludedSegmentApi<Block> for Runtime {
fn can_build_upon(
included_hash: <Block as BlockT>::Hash,
slot: cumulus_primitives_aura::Slot,
slot: pezcumulus_primitives_aura::Slot,
) -> bool {
ConsensusHook::can_build_upon(included_hash, slot)
}
@@ -1703,8 +1703,8 @@ impl_runtime_apis! {
}
}
impl cumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
fn collect_collation_info(header: &<Block as BlockT>::Header) -> cumulus_primitives_core::CollationInfo {
impl pezcumulus_primitives_core::CollectCollationInfo<Block> for Runtime {
fn collect_collation_info(header: &<Block as BlockT>::Header) -> pezcumulus_primitives_core::CollationInfo {
TeyrchainSystem::collect_collation_info(header)
}
}
@@ -1805,7 +1805,7 @@ impl_runtime_apis! {
use pezframe_support::traits::StorageInfoTrait;
use pezframe_system_benchmarking::Pallet as SystemBench;
use pezframe_system_benchmarking::extensions::Pallet as SystemExtensionsBench;
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench;
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
use pezpallet_xcm_bridge_hub_router::benchmarking::Pallet as XcmBridgeHubRouterBench;
@@ -1865,12 +1865,12 @@ impl_runtime_apis! {
}
fn verify_set_code() {
System::assert_last_event(cumulus_pallet_teyrchain_system::Event::<Runtime>::ValidationFunctionStored.into());
System::assert_last_event(pezcumulus_pallet_teyrchain_system::Event::<Runtime>::ValidationFunctionStored.into());
}
}
use cumulus_pallet_session_benchmarking::Pallet as SessionBench;
impl cumulus_pallet_session_benchmarking::Config for Runtime {}
use pezcumulus_pallet_session_benchmarking::Pallet as SessionBench;
impl pezcumulus_pallet_session_benchmarking::Config for Runtime {}
parameter_types! {
pub ExistentialDepositAsset: Option<Asset> = Some((
@@ -1883,7 +1883,7 @@ impl_runtime_apis! {
use pezpallet_xcm::benchmarking::Pallet as PalletXcmExtrinsicsBenchmark;
impl pezpallet_xcm::benchmarking::Config for Runtime {
type DeliveryHelper = (
cumulus_primitives_utility::ToParentDeliveryHelper<
pezcumulus_primitives_utility::ToParentDeliveryHelper<
xcm_config::XcmConfig,
ExistentialDepositAsset,
xcm_config::PriceForParentDelivery,
@@ -1986,7 +1986,7 @@ impl_runtime_apis! {
impl XcmBridgeHubRouterConfig<ToPezkuwichainXcmRouterInstance> for Runtime {
fn make_congested() {
cumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::<Runtime>(
pezcumulus_pallet_xcmp_queue::bridging::suspend_channel_for_benchmarks::<Runtime>(
xcm_config::bridging::SiblingBridgeHubParaId::get().into()
);
}
@@ -2019,7 +2019,7 @@ impl_runtime_apis! {
impl pezpallet_xcm_benchmarks::Config for Runtime {
type XcmConfig = xcm_config::XcmConfig;
type AccountIdConverter = xcm_config::LocationToAccountId;
type DeliveryHelper = cumulus_primitives_utility::ToParentDeliveryHelper<
type DeliveryHelper = pezcumulus_primitives_utility::ToParentDeliveryHelper<
xcm_config::XcmConfig,
ExistentialDepositAsset,
xcm_config::PriceForParentDelivery,
@@ -2211,16 +2211,16 @@ impl_runtime_apis! {
}
}
impl cumulus_primitives_core::GetTeyrchainInfo<Block> for Runtime {
impl pezcumulus_primitives_core::GetTeyrchainInfo<Block> for Runtime {
fn teyrchain_id() -> ParaId {
TeyrchainInfo::teyrchain_id()
}
}
}
cumulus_pallet_teyrchain_system::register_validate_block! {
pezcumulus_pallet_teyrchain_system::register_validate_block! {
Runtime = Runtime,
BlockExecutor = cumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
BlockExecutor = pezcumulus_pallet_aura_ext::BlockExecutor::<Runtime, Executive>,
}
parameter_types! {
@@ -17,7 +17,7 @@
///! Staking, and election related pallet configurations.
use super::*;
use cumulus_primitives_core::relay_chain::SessionIndex;
use pezcumulus_primitives_core::relay_chain::SessionIndex;
use pezframe_election_provider_support::{ElectionDataProvider, SequentialPhragmen};
use pezframe_support::traits::{ConstU128, EitherOf};
use pezpallet_election_provider_multi_block::{self as multi_block, SolutionAccuracyOf};
@@ -16,9 +16,9 @@
// limitations under the License.
pub mod block_weights;
pub mod cumulus_pallet_teyrchain_system;
pub mod cumulus_pallet_weight_reclaim;
pub mod cumulus_pallet_xcmp_queue;
pub mod pezcumulus_pallet_teyrchain_system;
pub mod pezcumulus_pallet_weight_reclaim;
pub mod pezcumulus_pallet_xcmp_queue;
pub mod extrinsic_weights;
pub mod pezframe_system;
pub mod pezframe_system_extensions;
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `cumulus_pallet_teyrchain_system`
//! Autogenerated weights for `pezcumulus_pallet_teyrchain_system`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-03-28, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -30,7 +30,7 @@
// --chain
// statemine-dev
// --pallet
// cumulus_pallet_teyrchain_system
// pezcumulus_pallet_teyrchain_system
// --extrinsic
// *
// --execution
@@ -51,9 +51,9 @@
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `cumulus_pallet_teyrchain_system`.
/// Weight functions for `pezcumulus_pallet_teyrchain_system`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> cumulus_pallet_teyrchain_system::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezcumulus_pallet_teyrchain_system::WeightInfo for WeightInfo<T> {
/// Storage: TeyrchainSystem LastDmqMqcHead (r:1 w:1)
/// Proof Skipped: TeyrchainSystem LastDmqMqcHead (max_values: Some(1), max_size: None, mode: Measured)
/// Storage: TeyrchainSystem ReservedDmpWeightOverride (r:1 w:0)
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `cumulus_pallet_weight_reclaim`
//! Autogenerated weights for `pezcumulus_pallet_weight_reclaim`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-12-30, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -33,7 +33,7 @@
// --wasm-execution=compiled
// --heap-pages=4096
// --json-file=/builds/parity/mirrors/pezkuwi-sdk/.git/.artifacts/bench.json
// --pallet=cumulus_pallet_weight_reclaim
// --pallet=pezcumulus_pallet_weight_reclaim
// --chain=asset-hub-next-zagros-dev
// --header=./pezcumulus/file_header.txt
// --output=./pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/
@@ -46,9 +46,9 @@
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `cumulus_pallet_weight_reclaim`.
/// Weight functions for `pezcumulus_pallet_weight_reclaim`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> cumulus_pallet_weight_reclaim::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezcumulus_pallet_weight_reclaim::WeightInfo for WeightInfo<T> {
/// Storage: `System::BlockWeight` (r:1 w:1)
/// Proof: `System::BlockWeight` (`max_values`: Some(1), `max_size`: Some(48), added: 543, mode: `MaxEncodedLen`)
/// Storage: `System::ExtrinsicWeightReclaimed` (r:1 w:1)
@@ -15,7 +15,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//! Autogenerated weights for `cumulus_pallet_xcmp_queue`
//! Autogenerated weights for `pezcumulus_pallet_xcmp_queue`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE BIZINIKIWI BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2023-09-15, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
@@ -32,7 +32,7 @@
// --chain
// asset-hub-next-zagros-dev
// --output
// pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/cumulus_pallet_xcmp_queue.rs
// pezcumulus/teyrchains/runtimes/assets/asset-hub-next-zagros/src/weights/pezcumulus_pallet_xcmp_queue.rs
// --extrinsic
//
@@ -44,9 +44,9 @@
use pezframe_support::{traits::Get, weights::Weight};
use core::marker::PhantomData;
/// Weight functions for `cumulus_pallet_xcmp_queue`.
/// Weight functions for `pezcumulus_pallet_xcmp_queue`.
pub struct WeightInfo<T>(PhantomData<T>);
impl<T: pezframe_system::Config> cumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
impl<T: pezframe_system::Config> pezcumulus_pallet_xcmp_queue::WeightInfo for WeightInfo<T> {
/// Storage: `XcmpQueue::QueueConfig` (r:1 w:1)
/// Proof: `XcmpQueue::QueueConfig` (`max_values`: Some(1), `max_size`: Some(12), added: 507, mode: `MaxEncodedLen`)
fn set_config_with_u32() -> Weight {
@@ -71,7 +71,7 @@ parameter_types! {
pub const RootLocation: Location = Location::here();
pub const ZagrosLocation: Location = Location::parent();
pub const RelayNetwork: Option<NetworkId> = Some(NetworkId::ByGenesis(ZAGROS_GENESIS_HASH));
pub RelayChainOrigin: RuntimeOrigin = cumulus_pallet_xcm::Origin::Relay.into();
pub RelayChainOrigin: RuntimeOrigin = pezcumulus_pallet_xcm::Origin::Relay.into();
pub UniversalLocation: InteriorLocation =
[GlobalConsensus(RelayNetwork::get().unwrap()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into();
pub UniversalLocationNetworkId: NetworkId = UniversalLocation::get().global_consensus().unwrap();
@@ -237,7 +237,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>,
// Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when
// recognised.
SiblingTeyrchainAsNative<cumulus_pallet_xcm::Origin, RuntimeOrigin>,
SiblingTeyrchainAsNative<pezcumulus_pallet_xcm::Origin, RuntimeOrigin>,
// Superuser converter for the Relay-chain (Parent) location. This will allow it to issue a
// transaction from the Root origin.
ParentAsSuperuser<RuntimeOrigin>,
@@ -416,7 +416,7 @@ impl xcm_executor::Config for XcmConfig {
Balances,
ResolveTo<StakingPot, Balances>,
>,
cumulus_primitives_utility::SwapFirstAssetTrader<
pezcumulus_primitives_utility::SwapFirstAssetTrader<
ZagrosLocation,
crate::AssetConversion,
WeightToFee,
@@ -434,12 +434,12 @@ impl xcm_executor::Config for XcmConfig {
>,
// This trader allows to pay with `is_sufficient=true` "Trust Backed" assets from dedicated
// `pezpallet_assets` instance - `Assets`.
cumulus_primitives_utility::TakeFirstAssetTrader<
pezcumulus_primitives_utility::TakeFirstAssetTrader<
AccountId,
AssetFeeAsExistentialDepositMultiplierFeeCharger,
TrustBackedAssetsConvertedConcreteId,
Assets,
cumulus_primitives_utility::XcmFeesTo32ByteAccount<
pezcumulus_primitives_utility::XcmFeesTo32ByteAccount<
FungiblesTransactor,
AccountId,
XcmAssetFeesReceiver,
@@ -447,12 +447,12 @@ impl xcm_executor::Config for XcmConfig {
>,
// This trader allows to pay with `is_sufficient=true` "Foreign" assets from dedicated
// `pezpallet_assets` instance - `ForeignAssets`.
cumulus_primitives_utility::TakeFirstAssetTrader<
pezcumulus_primitives_utility::TakeFirstAssetTrader<
AccountId,
ForeignAssetFeeAsExistentialDepositMultiplierFeeCharger,
ForeignAssetsConvertedConcreteId,
ForeignAssets,
cumulus_primitives_utility::XcmFeesTo32ByteAccount<
pezcumulus_primitives_utility::XcmFeesTo32ByteAccount<
ForeignFungiblesTransactor,
AccountId,
XcmAssetFeesReceiver,
@@ -534,7 +534,7 @@ pub type PriceForParentDelivery =
/// For routing XCM messages which do not cross local consensus boundary.
type LocalXcmRouter = (
// Two routers - use UMP to communicate with the relay chain:
cumulus_primitives_utility::ParentAsUmp<TeyrchainSystem, PezkuwiXcm, PriceForParentDelivery>,
pezcumulus_primitives_utility::ParentAsUmp<TeyrchainSystem, PezkuwiXcm, PriceForParentDelivery>,
// ..and XCMP to communicate with the sibling chains.
XcmpQueue,
);
@@ -599,7 +599,7 @@ impl pezpallet_xcm::Config for Runtime {
>;
}
impl cumulus_pallet_xcm::Config for Runtime {
impl pezcumulus_pallet_xcm::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type XcmExecutor = XcmExecutor<XcmConfig>;
}