Files
pezkuwi-sdk/pezbridges/relays/teyrchains/src/lib.rs
T
pezkuwichain 3139ffa25e fix: Complete snowbridge pezpallet rebrand and critical bug fixes
- snowbridge-pezpallet-* → pezsnowbridge-pezpallet-* (201 refs)
- pallet/ directories → pezpallet/ (4 locations)
- Fixed pezpallet.rs self-include recursion bug
- Fixed sc-chain-spec hardcoded crate name in derive macro
- Reverted .pezpallet_by_name() to .pallet_by_name() (subxt API)
- Added BizinikiwiConfig type alias for zombienet tests
- Deleted obsolete session state files

Verified: pezsnowbridge-pezpallet-*, pezpallet-staking,
pezpallet-staking-async, pezframe-benchmarking-cli all pass cargo check
2025-12-16 09:57:23 +03:00

33 lines
1.3 KiB
Rust

// Copyright 2019-2021 Parity Technologies (UK) Ltd.
// This file is part of Parity Bridges Common.
// Parity Bridges Common is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// Parity Bridges Common is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
// You should have received a copy of the GNU General Public License
// along with Parity Bridges Common. If not, see <http://www.gnu.org/licenses/>.
use std::fmt::Debug;
use relay_bizinikiwi_client::{Chain, Teyrchain};
pub mod teyrchains_loop;
pub mod teyrchains_loop_metrics;
/// Finality proofs synchronization pipeline.
pub trait TeyrchainsPipeline: 'static + Clone + Debug + Send + Sync {
/// Relay chain which is storing teyrchain heads in its `paras` module.
type SourceRelayChain: Chain;
/// Teyrchain which headers we are syncing here.
type SourceTeyrchain: Teyrchain;
/// Target chain (either relay or para) which wants to know about new teyrchain heads.
type TargetChain: Chain;
}