snapshot before rebranding
This commit is contained in:
@@ -7,6 +7,7 @@ description = "Zagros's BridgeHub teyrchain runtime"
|
||||
license = "Apache-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/bridge-hub-zagros-runtime"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -16,7 +17,7 @@ codec = { features = ["derive"], workspace = true }
|
||||
hex-literal = { workspace = true, default-features = true }
|
||||
scale-info = { features = ["derive"], workspace = true }
|
||||
serde = { optional = true, features = [
|
||||
"derive",
|
||||
"derive",
|
||||
], workspace = true, default-features = true }
|
||||
serde_json = { features = ["alloc"], workspace = true }
|
||||
tracing = { workspace = true }
|
||||
@@ -127,7 +128,7 @@ snowbridge-system-v2-runtime-api = { workspace = true }
|
||||
[dev-dependencies]
|
||||
bridge-hub-test-utils = { workspace = true, default-features = true }
|
||||
bridge-runtime-common = { features = [
|
||||
"integrity-test",
|
||||
"integrity-test",
|
||||
], workspace = true, default-features = true }
|
||||
pezpallet-bridge-relayers = { features = ["integrity-test"], workspace = true }
|
||||
snowbridge-runtime-test-common = { workspace = true, default-features = true }
|
||||
@@ -138,241 +139,241 @@ bizinikiwi-wasm-builder = { optional = true, workspace = true, default-features
|
||||
|
||||
[features]
|
||||
std = [
|
||||
"bp-asset-hub-pezkuwichain/std",
|
||||
"bp-asset-hub-zagros/std",
|
||||
"bp-bridge-hub-pezkuwichain/std",
|
||||
"bp-bridge-hub-zagros/std",
|
||||
"bp-header-chain/std",
|
||||
"bp-messages/std",
|
||||
"bp-pezkuwi-core/std",
|
||||
"bp-pezkuwichain/std",
|
||||
"bp-relayers/std",
|
||||
"bp-runtime/std",
|
||||
"bp-teyrchains/std",
|
||||
"bp-xcm-bridge-hub-router/std",
|
||||
"bridge-hub-common/std",
|
||||
"bridge-runtime-common/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-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",
|
||||
"pezpallet-aura/std",
|
||||
"pezpallet-authorship/std",
|
||||
"pezpallet-balances/std",
|
||||
"pezpallet-bridge-grandpa/std",
|
||||
"pezpallet-bridge-messages/std",
|
||||
"pezpallet-bridge-relayers/std",
|
||||
"pezpallet-bridge-teyrchains/std",
|
||||
"pezpallet-collator-selection/std",
|
||||
"pezpallet-message-queue/std",
|
||||
"pezpallet-multisig/std",
|
||||
"pezpallet-session/std",
|
||||
"pezpallet-timestamp/std",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/std",
|
||||
"pezpallet-transaction-payment/std",
|
||||
"pezpallet-utility/std",
|
||||
"pezpallet-xcm-benchmarks?/std",
|
||||
"pezpallet-xcm-bridge-hub/std",
|
||||
"pezpallet-xcm/std",
|
||||
"pezkuwi-runtime-common/std",
|
||||
"pezkuwi-teyrchain-primitives/std",
|
||||
"scale-info/std",
|
||||
"serde",
|
||||
"serde_json/std",
|
||||
"snowbridge-beacon-primitives/std",
|
||||
"snowbridge-core/std",
|
||||
"snowbridge-inbound-queue-primitives/std",
|
||||
"snowbridge-merkle-tree/std",
|
||||
"snowbridge-outbound-queue-primitives/std",
|
||||
"snowbridge-outbound-queue-runtime-api/std",
|
||||
"snowbridge-outbound-queue-v2-runtime-api/std",
|
||||
"snowbridge-pezpallet-ethereum-client/std",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-inbound-queue/std",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-outbound-queue/std",
|
||||
"snowbridge-pezpallet-system-v2/std",
|
||||
"snowbridge-pezpallet-system/std",
|
||||
"snowbridge-system-runtime-api/std",
|
||||
"snowbridge-system-v2-runtime-api/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-block-builder/std",
|
||||
"pezsp-consensus-aura/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-genesis-builder/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keyring/std",
|
||||
"pezsp-offchain/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-session/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",
|
||||
"tracing/std",
|
||||
"xcm-builder/std",
|
||||
"xcm-executor/std",
|
||||
"xcm-runtime-apis/std",
|
||||
"xcm/std",
|
||||
"zagros-runtime-constants/std",
|
||||
"bp-asset-hub-pezkuwichain/std",
|
||||
"bp-asset-hub-zagros/std",
|
||||
"bp-bridge-hub-pezkuwichain/std",
|
||||
"bp-bridge-hub-zagros/std",
|
||||
"bp-header-chain/std",
|
||||
"bp-messages/std",
|
||||
"bp-pezkuwi-core/std",
|
||||
"bp-pezkuwichain/std",
|
||||
"bp-relayers/std",
|
||||
"bp-runtime/std",
|
||||
"bp-teyrchains/std",
|
||||
"bp-xcm-bridge-hub-router/std",
|
||||
"bridge-hub-common/std",
|
||||
"bridge-runtime-common/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-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",
|
||||
"pezpallet-aura/std",
|
||||
"pezpallet-authorship/std",
|
||||
"pezpallet-balances/std",
|
||||
"pezpallet-bridge-grandpa/std",
|
||||
"pezpallet-bridge-messages/std",
|
||||
"pezpallet-bridge-relayers/std",
|
||||
"pezpallet-bridge-teyrchains/std",
|
||||
"pezpallet-collator-selection/std",
|
||||
"pezpallet-message-queue/std",
|
||||
"pezpallet-multisig/std",
|
||||
"pezpallet-session/std",
|
||||
"pezpallet-timestamp/std",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/std",
|
||||
"pezpallet-transaction-payment/std",
|
||||
"pezpallet-utility/std",
|
||||
"pezpallet-xcm-benchmarks?/std",
|
||||
"pezpallet-xcm-bridge-hub/std",
|
||||
"pezpallet-xcm/std",
|
||||
"pezkuwi-runtime-common/std",
|
||||
"pezkuwi-teyrchain-primitives/std",
|
||||
"scale-info/std",
|
||||
"serde",
|
||||
"serde_json/std",
|
||||
"snowbridge-beacon-primitives/std",
|
||||
"snowbridge-core/std",
|
||||
"snowbridge-inbound-queue-primitives/std",
|
||||
"snowbridge-merkle-tree/std",
|
||||
"snowbridge-outbound-queue-primitives/std",
|
||||
"snowbridge-outbound-queue-runtime-api/std",
|
||||
"snowbridge-outbound-queue-v2-runtime-api/std",
|
||||
"snowbridge-pezpallet-ethereum-client/std",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/std",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-inbound-queue/std",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/std",
|
||||
"snowbridge-pezpallet-outbound-queue/std",
|
||||
"snowbridge-pezpallet-system-v2/std",
|
||||
"snowbridge-pezpallet-system/std",
|
||||
"snowbridge-system-runtime-api/std",
|
||||
"snowbridge-system-v2-runtime-api/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-block-builder/std",
|
||||
"pezsp-consensus-aura/std",
|
||||
"pezsp-core/std",
|
||||
"pezsp-genesis-builder/std",
|
||||
"pezsp-inherents/std",
|
||||
"pezsp-io/std",
|
||||
"pezsp-keyring/std",
|
||||
"pezsp-offchain/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-session/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",
|
||||
"tracing/std",
|
||||
"xcm-builder/std",
|
||||
"xcm-executor/std",
|
||||
"xcm-runtime-apis/std",
|
||||
"xcm/std",
|
||||
"zagros-runtime-constants/std",
|
||||
]
|
||||
default = ["std"]
|
||||
|
||||
runtime-benchmarks = [
|
||||
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
|
||||
"bp-asset-hub-zagros/runtime-benchmarks",
|
||||
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
|
||||
"bp-bridge-hub-zagros/runtime-benchmarks",
|
||||
"bp-header-chain/runtime-benchmarks",
|
||||
"bp-messages/runtime-benchmarks",
|
||||
"bp-pezkuwi-core/runtime-benchmarks",
|
||||
"bp-pezkuwichain/runtime-benchmarks",
|
||||
"bp-relayers/runtime-benchmarks",
|
||||
"bp-runtime/runtime-benchmarks",
|
||||
"bp-teyrchains/runtime-benchmarks",
|
||||
"bp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"bridge-hub-common/runtime-benchmarks",
|
||||
"bridge-hub-test-utils/runtime-benchmarks",
|
||||
"bridge-runtime-common/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-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-aura/runtime-benchmarks",
|
||||
"pezpallet-authorship/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-bridge-grandpa/runtime-benchmarks",
|
||||
"pezpallet-bridge-messages/runtime-benchmarks",
|
||||
"pezpallet-bridge-relayers/runtime-benchmarks",
|
||||
"pezpallet-bridge-teyrchains/runtime-benchmarks",
|
||||
"pezpallet-collator-selection/runtime-benchmarks",
|
||||
"pezpallet-message-queue/runtime-benchmarks",
|
||||
"pezpallet-multisig/runtime-benchmarks",
|
||||
"pezpallet-session/runtime-benchmarks",
|
||||
"pezpallet-timestamp/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezpallet-utility/runtime-benchmarks",
|
||||
"pezpallet-xcm-benchmarks/runtime-benchmarks",
|
||||
"pezpallet-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezpallet-xcm/runtime-benchmarks",
|
||||
"pezkuwi-runtime-common/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"snowbridge-beacon-primitives/runtime-benchmarks",
|
||||
"snowbridge-core/runtime-benchmarks",
|
||||
"snowbridge-inbound-queue-primitives/runtime-benchmarks",
|
||||
"snowbridge-merkle-tree/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-primitives/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-v2-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"snowbridge-runtime-test-common/runtime-benchmarks",
|
||||
"snowbridge-system-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-system-v2-runtime-api/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-offchain/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-session/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",
|
||||
"bp-asset-hub-pezkuwichain/runtime-benchmarks",
|
||||
"bp-asset-hub-zagros/runtime-benchmarks",
|
||||
"bp-bridge-hub-pezkuwichain/runtime-benchmarks",
|
||||
"bp-bridge-hub-zagros/runtime-benchmarks",
|
||||
"bp-header-chain/runtime-benchmarks",
|
||||
"bp-messages/runtime-benchmarks",
|
||||
"bp-pezkuwi-core/runtime-benchmarks",
|
||||
"bp-pezkuwichain/runtime-benchmarks",
|
||||
"bp-relayers/runtime-benchmarks",
|
||||
"bp-runtime/runtime-benchmarks",
|
||||
"bp-teyrchains/runtime-benchmarks",
|
||||
"bp-xcm-bridge-hub-router/runtime-benchmarks",
|
||||
"bridge-hub-common/runtime-benchmarks",
|
||||
"bridge-hub-test-utils/runtime-benchmarks",
|
||||
"bridge-runtime-common/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-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-aura/runtime-benchmarks",
|
||||
"pezpallet-authorship/runtime-benchmarks",
|
||||
"pezpallet-balances/runtime-benchmarks",
|
||||
"pezpallet-bridge-grandpa/runtime-benchmarks",
|
||||
"pezpallet-bridge-messages/runtime-benchmarks",
|
||||
"pezpallet-bridge-relayers/runtime-benchmarks",
|
||||
"pezpallet-bridge-teyrchains/runtime-benchmarks",
|
||||
"pezpallet-collator-selection/runtime-benchmarks",
|
||||
"pezpallet-message-queue/runtime-benchmarks",
|
||||
"pezpallet-multisig/runtime-benchmarks",
|
||||
"pezpallet-session/runtime-benchmarks",
|
||||
"pezpallet-timestamp/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment-rpc-runtime-api/runtime-benchmarks",
|
||||
"pezpallet-transaction-payment/runtime-benchmarks",
|
||||
"pezpallet-utility/runtime-benchmarks",
|
||||
"pezpallet-xcm-benchmarks/runtime-benchmarks",
|
||||
"pezpallet-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezpallet-xcm/runtime-benchmarks",
|
||||
"pezkuwi-runtime-common/runtime-benchmarks",
|
||||
"pezkuwi-teyrchain-primitives/runtime-benchmarks",
|
||||
"snowbridge-beacon-primitives/runtime-benchmarks",
|
||||
"snowbridge-core/runtime-benchmarks",
|
||||
"snowbridge-inbound-queue-primitives/runtime-benchmarks",
|
||||
"snowbridge-merkle-tree/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-primitives/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-outbound-queue-v2-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-ethereum-client/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2-fixtures/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-inbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-outbound-queue/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system-v2/runtime-benchmarks",
|
||||
"snowbridge-pezpallet-system/runtime-benchmarks",
|
||||
"snowbridge-runtime-test-common/runtime-benchmarks",
|
||||
"snowbridge-system-runtime-api/runtime-benchmarks",
|
||||
"snowbridge-system-v2-runtime-api/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-offchain/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezsp-session/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 = [
|
||||
"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-executive/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezframe-try-runtime/try-runtime",
|
||||
"pezpallet-aura/try-runtime",
|
||||
"pezpallet-authorship/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-bridge-grandpa/try-runtime",
|
||||
"pezpallet-bridge-messages/try-runtime",
|
||||
"pezpallet-bridge-relayers/try-runtime",
|
||||
"pezpallet-bridge-teyrchains/try-runtime",
|
||||
"pezpallet-collator-selection/try-runtime",
|
||||
"pezpallet-message-queue/try-runtime",
|
||||
"pezpallet-multisig/try-runtime",
|
||||
"pezpallet-session/try-runtime",
|
||||
"pezpallet-timestamp/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezpallet-utility/try-runtime",
|
||||
"pezpallet-xcm-bridge-hub/try-runtime",
|
||||
"pezpallet-xcm/try-runtime",
|
||||
"pezkuwi-runtime-common/try-runtime",
|
||||
"snowbridge-inbound-queue-primitives/try-runtime",
|
||||
"snowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-system-v2/try-runtime",
|
||||
"snowbridge-pezpallet-system/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchain-info/try-runtime",
|
||||
"teyrchains-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-executive/try-runtime",
|
||||
"pezframe-support/try-runtime",
|
||||
"pezframe-system/try-runtime",
|
||||
"pezframe-try-runtime/try-runtime",
|
||||
"pezpallet-aura/try-runtime",
|
||||
"pezpallet-authorship/try-runtime",
|
||||
"pezpallet-balances/try-runtime",
|
||||
"pezpallet-bridge-grandpa/try-runtime",
|
||||
"pezpallet-bridge-messages/try-runtime",
|
||||
"pezpallet-bridge-relayers/try-runtime",
|
||||
"pezpallet-bridge-teyrchains/try-runtime",
|
||||
"pezpallet-collator-selection/try-runtime",
|
||||
"pezpallet-message-queue/try-runtime",
|
||||
"pezpallet-multisig/try-runtime",
|
||||
"pezpallet-session/try-runtime",
|
||||
"pezpallet-timestamp/try-runtime",
|
||||
"pezpallet-transaction-payment/try-runtime",
|
||||
"pezpallet-utility/try-runtime",
|
||||
"pezpallet-xcm-bridge-hub/try-runtime",
|
||||
"pezpallet-xcm/try-runtime",
|
||||
"pezkuwi-runtime-common/try-runtime",
|
||||
"snowbridge-inbound-queue-primitives/try-runtime",
|
||||
"snowbridge-pezpallet-ethereum-client/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-inbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue-v2/try-runtime",
|
||||
"snowbridge-pezpallet-outbound-queue/try-runtime",
|
||||
"snowbridge-pezpallet-system-v2/try-runtime",
|
||||
"snowbridge-pezpallet-system/try-runtime",
|
||||
"pezsp-runtime/try-runtime",
|
||||
"teyrchain-info/try-runtime",
|
||||
"teyrchains-common/try-runtime",
|
||||
]
|
||||
|
||||
# Enable the metadata hash generation in the wasm builder.
|
||||
|
||||
+18
-16
@@ -6,6 +6,8 @@ authors.workspace = true
|
||||
edition.workspace = true
|
||||
license = "Apache-2.0"
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/bp-bridge-hub-zagros"
|
||||
homepage = { workspace = true }
|
||||
|
||||
[package.metadata.pezkuwi-sdk]
|
||||
exclude-from-umbrella = true
|
||||
@@ -31,22 +33,22 @@ pezsp-std = { workspace = true }
|
||||
[features]
|
||||
default = ["std"]
|
||||
std = [
|
||||
"bp-bridge-hub-pezcumulus/std",
|
||||
"bp-messages/std",
|
||||
"bp-runtime/std",
|
||||
"bp-xcm-bridge-hub/std",
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
"bp-bridge-hub-pezcumulus/std",
|
||||
"bp-messages/std",
|
||||
"bp-runtime/std",
|
||||
"bp-xcm-bridge-hub/std",
|
||||
"codec/std",
|
||||
"pezframe-support/std",
|
||||
"pezsp-api/std",
|
||||
"pezsp-runtime/std",
|
||||
"pezsp-std/std",
|
||||
]
|
||||
runtime-benchmarks = [
|
||||
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
|
||||
"bp-messages/runtime-benchmarks",
|
||||
"bp-runtime/runtime-benchmarks",
|
||||
"bp-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"bp-bridge-hub-pezcumulus/runtime-benchmarks",
|
||||
"bp-messages/runtime-benchmarks",
|
||||
"bp-runtime/runtime-benchmarks",
|
||||
"bp-xcm-bridge-hub/runtime-benchmarks",
|
||||
"pezframe-support/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
|
||||
+1
-1
@@ -203,7 +203,7 @@ impl pezpallet_xcm_bridge_hub::LocalXcmChannelManager for CongestionManager {
|
||||
// dispatched and sent to the sibling teyrchain. Therefore, checking outbound `XcmpQueue`
|
||||
// is sufficient here.
|
||||
use bp_xcm_bridge_hub_router::XcmChannelStatusProvider;
|
||||
cumulus_pallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::<Runtime>::is_congested(
|
||||
pezcumulus_pallet_xcmp_queue::bridging::OutXcmpChannelStatusProvider::<Runtime>::is_congested(
|
||||
with,
|
||||
)
|
||||
}
|
||||
|
||||
+1
-1
@@ -17,7 +17,7 @@
|
||||
|
||||
use crate::*;
|
||||
use alloc::{vec, vec::Vec};
|
||||
use cumulus_primitives_core::ParaId;
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezframe_support::build_struct_json_patch;
|
||||
use pezsp_genesis_builder::PresetId;
|
||||
use pezsp_keyring::Sr25519Keyring;
|
||||
|
||||
@@ -40,8 +40,8 @@ use alloc::{vec, vec::Vec};
|
||||
use bridge_runtime_common::extensions::{
|
||||
CheckAndBoostBridgeGrandpaTransactions, CheckAndBoostBridgeTeyrchainsTransactions,
|
||||
};
|
||||
use cumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases;
|
||||
use cumulus_primitives_core::ParaId;
|
||||
use pezcumulus_pallet_teyrchain_system::RelayNumberMonotonicallyIncreases;
|
||||
use pezcumulus_primitives_core::ParaId;
|
||||
use pezsp_api::impl_runtime_apis;
|
||||
use pezsp_core::{crypto::KeyTypeId, OpaqueMetadata};
|
||||
use pezsp_runtime::{
|
||||
@@ -117,7 +117,7 @@ pub type SignedBlock = generic::SignedBlock<Block>;
|
||||
pub type BlockId = generic::BlockId<Block>;
|
||||
|
||||
/// The TransactionExtension to the basic transaction logic.
|
||||
pub type TxExtension = cumulus_pallet_weight_reclaim::StorageWeightReclaim<
|
||||
pub type TxExtension = pezcumulus_pallet_weight_reclaim::StorageWeightReclaim<
|
||||
Runtime,
|
||||
(
|
||||
(
|
||||
@@ -147,8 +147,8 @@ pub type Migrations = (
|
||||
pezpallet_multisig::migrations::v1::MigrateToV1<Runtime>,
|
||||
InitStorageVersions,
|
||||
// unreleased
|
||||
cumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
cumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
|
||||
pezcumulus_pallet_xcmp_queue::migration::v4::MigrationToV4<Runtime>,
|
||||
pezcumulus_pallet_xcmp_queue::migration::v5::MigrateV4ToV5<Runtime>,
|
||||
pezpallet_bridge_messages::migration::v1::MigrationToV1<
|
||||
Runtime,
|
||||
bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance,
|
||||
@@ -185,7 +185,7 @@ pub type Migrations = (
|
||||
>,
|
||||
// permanent
|
||||
pezpallet_xcm::migration::MigrateToLatestXcmVersion<Runtime>,
|
||||
cumulus_pallet_aura_ext::migration::MigrateV0ToV1<Runtime>,
|
||||
pezcumulus_pallet_aura_ext::migration::MigrateV0ToV1<Runtime>,
|
||||
);
|
||||
|
||||
parameter_types! {
|
||||
@@ -311,13 +311,13 @@ impl pezframe_system::Config for Runtime {
|
||||
/// This is used as an identifier of the chain. 42 is the generic bizinikiwi prefix.
|
||||
type SS58Prefix = SS58Prefix;
|
||||
/// The action to take on a Runtime Upgrade
|
||||
type OnSetCode = cumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
|
||||
type OnSetCode = pezcumulus_pallet_teyrchain_system::TeyrchainSetCode<Self>;
|
||||
type MaxConsumers = pezframe_support::traits::ConstU32<16>;
|
||||
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 {
|
||||
@@ -377,8 +377,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>;
|
||||
@@ -392,7 +392,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,
|
||||
@@ -435,7 +435,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.
|
||||
@@ -451,7 +451,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;
|
||||
@@ -463,11 +463,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;
|
||||
}
|
||||
@@ -558,10 +558,10 @@ construct_runtime!(
|
||||
{
|
||||
// System support stuff.
|
||||
System: pezframe_system = 0,
|
||||
TeyrchainSystem: cumulus_pallet_teyrchain_system = 1,
|
||||
TeyrchainSystem: pezcumulus_pallet_teyrchain_system = 1,
|
||||
Timestamp: pezpallet_timestamp = 2,
|
||||
TeyrchainInfo: teyrchain_info = 3,
|
||||
WeightReclaim: cumulus_pallet_weight_reclaim = 4,
|
||||
WeightReclaim: pezcumulus_pallet_weight_reclaim = 4,
|
||||
|
||||
// Monetary stuff.
|
||||
Balances: pezpallet_balances = 10,
|
||||
@@ -572,12 +572,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,
|
||||
|
||||
// Handy utilities.
|
||||
Utility: pezpallet_utility = 40,
|
||||
@@ -639,8 +639,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]
|
||||
// XCM
|
||||
[pezpallet_xcm, PalletXcmExtrinsicsBenchmark::<Runtime>]
|
||||
// NOTE: Make sure you point to the individual modules below.
|
||||
@@ -661,7 +661,7 @@ mod benches {
|
||||
[snowbridge_pallet_inbound_queue_v2, EthereumInboundQueueV2]
|
||||
[snowbridge_pallet_outbound_queue_v2, EthereumOutboundQueueV2]
|
||||
|
||||
[cumulus_pallet_weight_reclaim, WeightReclaim]
|
||||
[pezcumulus_pallet_weight_reclaim, WeightReclaim]
|
||||
);
|
||||
}
|
||||
|
||||
@@ -676,16 +676,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)
|
||||
}
|
||||
@@ -885,8 +885,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)
|
||||
}
|
||||
}
|
||||
@@ -1000,7 +1000,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;
|
||||
|
||||
// This is defined once again in dispatch_benchmark, because list_benchmarks!
|
||||
@@ -1038,12 +1038,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 {}
|
||||
|
||||
use xcm::latest::prelude::*;
|
||||
use xcm_config::ZagrosLocation;
|
||||
@@ -1308,7 +1308,7 @@ impl_runtime_apis! {
|
||||
fn prepare_message_proof(
|
||||
params: MessageProofParams<LaneIdOf<Runtime, bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>>,
|
||||
) -> (bridge_to_pezkuwichain_config::FromPezkuwichainBridgeHubMessagesProof<bridge_to_pezkuwichain_config::WithBridgeHubPezkuwichainMessagesInstance>, Weight) {
|
||||
use cumulus_primitives_core::XcmpMessageSource;
|
||||
use pezcumulus_primitives_core::XcmpMessageSource;
|
||||
assert!(XcmpQueue::take_outbound_messages(usize::MAX).is_empty());
|
||||
TeyrchainSystem::open_outbound_hrmp_channel_for_benchmarks_or_tests(42.into());
|
||||
let universal_source = bridge_to_pezkuwichain_config::open_bridge_for_benchmarks::<
|
||||
@@ -1339,7 +1339,7 @@ impl_runtime_apis! {
|
||||
}
|
||||
|
||||
fn is_message_successfully_dispatched(_nonce: bp_messages::MessageNonce) -> bool {
|
||||
use cumulus_primitives_core::XcmpMessageSource;
|
||||
use pezcumulus_primitives_core::XcmpMessageSource;
|
||||
!XcmpQueue::take_outbound_messages(usize::MAX).is_empty()
|
||||
}
|
||||
}
|
||||
@@ -1433,22 +1433,22 @@ 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()
|
||||
}
|
||||
}
|
||||
|
||||
impl cumulus_primitives_core::TargetBlockRate<Block> for Runtime {
|
||||
impl pezcumulus_primitives_core::TargetBlockRate<Block> for Runtime {
|
||||
fn target_block_rate() -> u32 {
|
||||
1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
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>,
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
@@ -23,9 +23,9 @@ use ::pezpallet_bridge_relayers::WeightInfo as _;
|
||||
use ::pezpallet_bridge_teyrchains::WeightInfoExt as TeyrchainsWeightInfoExt;
|
||||
|
||||
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;
|
||||
|
||||
+4
-4
@@ -13,7 +13,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 32.0.0
|
||||
//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_teyrchain_system
|
||||
// --pallet=pezcumulus_pallet_teyrchain_system
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,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: `TeyrchainSystem::LastDmqMqcHead` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `MessageQueue::BookStateFor` (r:1 w:1)
|
||||
|
||||
+4
-4
@@ -13,7 +13,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: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_weight_reclaim
|
||||
// --pallet=pezcumulus_pallet_weight_reclaim
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,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> {
|
||||
fn storage_weight_reclaim() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
|
||||
+4
-4
@@ -13,7 +13,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 32.0.0
|
||||
//! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
@@ -28,7 +28,7 @@
|
||||
// pallet
|
||||
// --extrinsic=*
|
||||
// --runtime=target/production/wbuild/bridge-hub-zagros-runtime/bridge_hub_zagros_runtime.wasm
|
||||
// --pallet=cumulus_pallet_xcmp_queue
|
||||
// --pallet=pezcumulus_pallet_xcmp_queue
|
||||
// --header=/__w/pezkuwi-sdk/pezkuwi-sdk/pezcumulus/file_header.txt
|
||||
// --output=./pezcumulus/teyrchains/runtimes/bridge-hubs/bridge-hub-zagros/src/weights
|
||||
// --wasm-execution=compiled
|
||||
@@ -47,9 +47,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 {
|
||||
|
||||
@@ -66,7 +66,7 @@ parameter_types! {
|
||||
pub const RootLocation: Location = Location::here();
|
||||
pub const ZagrosLocation: Location = Location::parent();
|
||||
pub const RelayNetwork: NetworkId = 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()), Teyrchain(TeyrchainInfo::teyrchain_id().into())].into();
|
||||
pub const MaxInstructions: u32 = 100;
|
||||
@@ -120,7 +120,7 @@ pub type XcmOriginToTransactDispatchOrigin = (
|
||||
RelayChainAsNative<RelayChainOrigin, RuntimeOrigin>,
|
||||
// Native converter for sibling Teyrchains; will convert to a `SiblingPara` origin when
|
||||
// recognized.
|
||||
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>,
|
||||
@@ -264,7 +264,7 @@ pub type LocalOriginToLocation = SignedToAccountId32<RuntimeOrigin, AccountId, R
|
||||
/// queues.
|
||||
pub type XcmRouter = WithUniqueTopic<(
|
||||
// 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,
|
||||
)>;
|
||||
@@ -314,7 +314,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>;
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ use bridge_hub_zagros_runtime::{
|
||||
RuntimeCall, RuntimeEvent, SessionKeys, TxExtension, UncheckedExtrinsic,
|
||||
};
|
||||
use codec::{Decode, Encode};
|
||||
use cumulus_primitives_core::XcmError::FailedToTransactAsset;
|
||||
use pezcumulus_primitives_core::XcmError::FailedToTransactAsset;
|
||||
use pezframe_support::parameter_types;
|
||||
use snowbridge_pallet_ethereum_client::WeightInfo;
|
||||
use pezsp_core::H160;
|
||||
|
||||
@@ -42,7 +42,7 @@ use bridge_to_pezkuwichain_config::{
|
||||
WithBridgeHubPezkuwichainMessagesInstance, XcmOverBridgeHubPezkuwichainInstance,
|
||||
};
|
||||
use codec::{Decode, Encode};
|
||||
use cumulus_primitives_core::UpwardMessageSender;
|
||||
use pezcumulus_primitives_core::UpwardMessageSender;
|
||||
use pezframe_support::{
|
||||
assert_err, assert_ok,
|
||||
dispatch::GetDispatchInfo,
|
||||
|
||||
Reference in New Issue
Block a user