Refactoring Checkpoint: (WIP)

This commit is contained in:
2025-12-14 10:29:31 +03:00
parent 09735eb97a
commit c89d7cac55
1424 changed files with 6415 additions and 6064 deletions
@@ -1,5 +1,5 @@
[package]
name = "bridge-hub-zagros-runtime"
name = "pezbridge-hub-zagros-runtime"
version = "0.3.0"
authors.workspace = true
edition.workspace = true
@@ -7,7 +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"
documentation = "https://docs.rs/pezbridge-hub-zagros-runtime"
[lints]
workspace = true
@@ -65,7 +65,7 @@ pezkuwi-teyrchain-primitives = { workspace = true }
xcm = { workspace = true }
xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
xcm-runtime-apis = { workspace = true }
xcm-runtime-pezapis = { workspace = true }
zagros-runtime-constants = { workspace = true }
# Pezcumulus
@@ -89,16 +89,16 @@ bp-asset-hub-pezkuwichain = { workspace = true }
bp-asset-hub-zagros = { workspace = true }
bp-bridge-hub-pezkuwichain = { workspace = true }
bp-bridge-hub-zagros = { workspace = true }
bp-header-chain = { workspace = true }
bp-header-pez-chain = { workspace = true }
bp-messages = { workspace = true }
bp-pezkuwi-core = { workspace = true }
bp-pezkuwichain = { workspace = true }
bp-relayers = { workspace = true }
bp-runtime = { workspace = true }
pezbp-runtime = { workspace = true }
bp-teyrchains = { workspace = true }
bp-xcm-bridge-hub-router = { workspace = true }
bridge-hub-common = { workspace = true }
bridge-runtime-common = { workspace = true }
pezbridge-runtime-common = { workspace = true }
pezpallet-bridge-grandpa = { workspace = true }
pezpallet-bridge-messages = { workspace = true }
pezpallet-bridge-relayers = { workspace = true }
@@ -106,13 +106,13 @@ pezpallet-bridge-teyrchains = { workspace = true }
pezpallet-xcm-bridge-hub = { workspace = true }
# Ethereum Bridge (Snowbridge)
snowbridge-beacon-primitives = { workspace = true }
snowbridge-core = { workspace = true }
snowbridge-inbound-queue-primitives = { workspace = true }
snowbridge-merkle-tree = { workspace = true }
snowbridge-outbound-queue-primitives = { workspace = true }
snowbridge-outbound-queue-runtime-api = { workspace = true }
snowbridge-outbound-queue-v2-runtime-api = { workspace = true }
pezsnowbridge-beacon-primitives = { workspace = true }
pezsnowbridge-core = { workspace = true }
pezsnowbridge-inbound-queue-primitives = { workspace = true }
pezsnowbridge-merkle-tree = { workspace = true }
pezsnowbridge-outbound-queue-primitives = { workspace = true }
pezsnowbridge-outbound-queue-runtime-api = { workspace = true }
pezsnowbridge-outbound-queue-v2-runtime-api = { workspace = true }
snowbridge-pezpallet-ethereum-client = { workspace = true }
snowbridge-pezpallet-inbound-queue = { workspace = true }
snowbridge-pezpallet-inbound-queue-fixtures = { workspace = true }
@@ -122,16 +122,16 @@ snowbridge-pezpallet-outbound-queue = { workspace = true }
snowbridge-pezpallet-outbound-queue-v2 = { workspace = true }
snowbridge-pezpallet-system = { workspace = true }
snowbridge-pezpallet-system-v2 = { workspace = true }
snowbridge-system-runtime-api = { workspace = true }
snowbridge-system-v2-runtime-api = { workspace = true }
pezsnowbridge-system-runtime-api = { workspace = true }
pezsnowbridge-system-v2-runtime-api = { workspace = true }
[dev-dependencies]
bridge-hub-test-utils = { workspace = true, default-features = true }
bridge-runtime-common = { features = [
pezbridge-hub-test-utils = { workspace = true, default-features = true }
pezbridge-runtime-common = { features = [
"integrity-test",
], workspace = true, default-features = true }
pezpallet-bridge-relayers = { features = ["integrity-test"], workspace = true }
snowbridge-runtime-test-common = { workspace = true, default-features = true }
pezsnowbridge-runtime-test-common = { workspace = true, default-features = true }
teyrchains-runtimes-test-utils = { workspace = true, default-features = true }
[build-dependencies]
@@ -143,16 +143,16 @@ std = [
"bp-asset-hub-zagros/std",
"bp-bridge-hub-pezkuwichain/std",
"bp-bridge-hub-zagros/std",
"bp-header-chain/std",
"bp-header-pez-chain/std",
"bp-messages/std",
"bp-pezkuwi-core/std",
"bp-pezkuwichain/std",
"bp-relayers/std",
"bp-runtime/std",
"pezbp-runtime/std",
"bp-teyrchains/std",
"bp-xcm-bridge-hub-router/std",
"bridge-hub-common/std",
"bridge-runtime-common/std",
"pezbridge-runtime-common/std",
"codec/std",
"pezcumulus-pezpallet-aura-ext/std",
"pezcumulus-pezpallet-session-benchmarking/std",
@@ -194,13 +194,13 @@ 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",
"pezsnowbridge-beacon-primitives/std",
"pezsnowbridge-core/std",
"pezsnowbridge-inbound-queue-primitives/std",
"pezsnowbridge-merkle-tree/std",
"pezsnowbridge-outbound-queue-primitives/std",
"pezsnowbridge-outbound-queue-runtime-api/std",
"pezsnowbridge-outbound-queue-v2-runtime-api/std",
"snowbridge-pezpallet-ethereum-client/std",
"snowbridge-pezpallet-inbound-queue-fixtures/std",
"snowbridge-pezpallet-inbound-queue-v2-fixtures/std",
@@ -210,8 +210,8 @@ 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",
"pezsnowbridge-system-runtime-api/std",
"pezsnowbridge-system-v2-runtime-api/std",
"pezsp-api/std",
"pezsp-block-builder/std",
"pezsp-consensus-aura/std",
@@ -234,7 +234,7 @@ std = [
"tracing/std",
"xcm-builder/std",
"xcm-executor/std",
"xcm-runtime-apis/std",
"xcm-runtime-pezapis/std",
"xcm/std",
"zagros-runtime-constants/std",
]
@@ -245,17 +245,17 @@ 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-header-pez-chain/runtime-benchmarks",
"bp-messages/runtime-benchmarks",
"bp-pezkuwi-core/runtime-benchmarks",
"bp-pezkuwichain/runtime-benchmarks",
"bp-relayers/runtime-benchmarks",
"bp-runtime/runtime-benchmarks",
"pezbp-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",
"pezbridge-hub-test-utils/runtime-benchmarks",
"pezbridge-runtime-common/runtime-benchmarks",
"pezcumulus-pezpallet-aura-ext/runtime-benchmarks",
"pezcumulus-pezpallet-session-benchmarking/runtime-benchmarks",
"pezcumulus-pezpallet-teyrchain-system/runtime-benchmarks",
@@ -293,13 +293,13 @@ 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",
"pezsnowbridge-beacon-primitives/runtime-benchmarks",
"pezsnowbridge-core/runtime-benchmarks",
"pezsnowbridge-inbound-queue-primitives/runtime-benchmarks",
"pezsnowbridge-merkle-tree/runtime-benchmarks",
"pezsnowbridge-outbound-queue-primitives/runtime-benchmarks",
"pezsnowbridge-outbound-queue-runtime-api/runtime-benchmarks",
"pezsnowbridge-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",
@@ -309,9 +309,9 @@ 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",
"pezsnowbridge-runtime-test-common/runtime-benchmarks",
"pezsnowbridge-system-runtime-api/runtime-benchmarks",
"pezsnowbridge-system-v2-runtime-api/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"pezsp-block-builder/runtime-benchmarks",
"pezsp-consensus-aura/runtime-benchmarks",
@@ -331,7 +331,7 @@ runtime-benchmarks = [
"teyrchains-runtimes-test-utils/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm-runtime-pezapis/runtime-benchmarks",
"xcm/runtime-benchmarks",
"zagros-runtime-constants/runtime-benchmarks",
]
@@ -363,7 +363,7 @@ try-runtime = [
"pezpallet-xcm-bridge-hub/try-runtime",
"pezpallet-xcm/try-runtime",
"pezkuwi-runtime-common/try-runtime",
"snowbridge-inbound-queue-primitives/try-runtime",
"pezsnowbridge-inbound-queue-primitives/try-runtime",
"snowbridge-pezpallet-ethereum-client/try-runtime",
"snowbridge-pezpallet-inbound-queue-v2/try-runtime",
"snowbridge-pezpallet-inbound-queue/try-runtime",