fix: EnsureOrigin try_successful_origin and snowbridge rename

- Fix pezpallet-welati EnsureOrigin implementations (3 fixes)
  - Remove incorrect #[cfg(not(feature = "runtime-benchmarks"))] blocks
  - Affects EnsureSerok, EnsureParlementer, EnsureDiwan

- Fix asset-hub-zagros governance origins macros (2 fixes)
  - Remove non-benchmark try_successful_origin from decl_unit_ensures!
  - Remove non-benchmark try_successful_origin from decl_ensure!

- Rename snowbridge -> pezsnowbridge for consistency

- Update WORKFLOW_PLAN.md with build status and package names
  - Correct package names: pezkuwi-teyrchain-bin, pezstaging-node-cli
  - Mark completed builds: pezkuwi, pezkuwi-teyrchain-bin,
    pezstaging-node-cli, teyrchain-template-node
This commit is contained in:
2025-12-25 01:26:18 +03:00
parent ee2385e28f
commit 3ddf58cef9
194 changed files with 129 additions and 129 deletions
@@ -0,0 +1,42 @@
[package]
name = "pezsnowbridge-system-runtime-api"
description = "Snowbridge System Runtime API"
version = "0.2.0"
authors = ["Snowfork <contact@snowfork.com>"]
edition.workspace = true
repository.workspace = true
license = "Apache-2.0"
categories = ["cryptography::cryptocurrencies"]
documentation = "https://docs.rs/pezsnowbridge-system-runtime-api"
homepage = { workspace = true }
[lints]
workspace = true
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
[package.metadata.pezkuwi-sdk]
exclude-from-umbrella = true
[dependencies]
codec = { features = ["derive"], workspace = true }
pezsnowbridge-core = { workspace = true }
pezsp-api = { workspace = true }
pezsp-std = { workspace = true }
xcm = { workspace = true }
[features]
default = ["std"]
std = [
"codec/std",
"pezsnowbridge-core/std",
"pezsp-api/std",
"pezsp-std/std",
"xcm/std",
]
runtime-benchmarks = [
"pezsnowbridge-core/runtime-benchmarks",
"pezsp-api/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
@@ -0,0 +1,3 @@
# Ethereum System Runtime API
Provides an API for looking up an agent ID on Ethereum.
@@ -0,0 +1,13 @@
// SPDX-License-Identifier: Apache-2.0
// SPDX-FileCopyrightText: 2023 Snowfork <hello@snowfork.com>
#![cfg_attr(not(feature = "std"), no_std)]
use pezsnowbridge_core::AgentId;
use xcm::VersionedLocation;
pezsp_api::decl_runtime_apis! {
pub trait ControlApi
{
fn agent_id(location: VersionedLocation) -> Option<AgentId>;
}
}