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
This commit is contained in:
@@ -0,0 +1,67 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<title>Polkadot <> Kusama Bridge</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Polkadot <> Kusama Bridge</h1>
|
||||
<p>
|
||||
Our bridge connects two parachains - Kusama Bridge Hub and Polkadot Bridge Hub. Messages that
|
||||
are sent over bridge have XCM format and we are using existing architecture to dispatch them.
|
||||
Since both Polkadot, Kusama and their parachains already have means to exchange XCM messages
|
||||
within the same consensus system (HRMP, VMP, ...), it means that we are able to connect all those
|
||||
chains with our bridge.
|
||||
</p>
|
||||
<p>
|
||||
In our architecture, the lane that is used to relay messages over the bridge is determined by
|
||||
the XCM source and destinations. So e.g. bridge between Asset Hubs Polkadot and Kusama (and opposite direction)
|
||||
will use the lane 00000000, bridge between some other Polkadot Parachain and some other Kusama Parachain
|
||||
will use the lane 00000001 and so on.
|
||||
</p>
|
||||
<div class="mermaid">
|
||||
flowchart LR
|
||||
subgraph Polkadot Consensus
|
||||
polkadot(((Polkadot)))
|
||||
asset_hub_polkadot(((Polkadot Asset Hub)))
|
||||
polkadot_bh(((Polkadot Bridge Hub)))
|
||||
|
||||
polkadot---asset_hub_polkadot
|
||||
polkadot---polkadot_bh
|
||||
|
||||
asset_hub_polkadot-->|Send Message Using HRMP|polkadot_bh
|
||||
|
||||
polkadot_bh-->|Send Message Using HRMP|asset_hub_polkadot
|
||||
asset_hub_polkadot-->|Dispatch the Message|asset_hub_polkadot
|
||||
end
|
||||
subgraph Kusama Consensus
|
||||
kusama_bh(((Kusama Bridge Hub)))
|
||||
asset_hub_kusama(((Kusama Asset Hub)))
|
||||
kusama(((Kusama)))
|
||||
|
||||
kusama---asset_hub_kusama
|
||||
kusama---kusama_bh
|
||||
|
||||
kusama_bh-->|Send Message Using HRMP|asset_hub_kusama
|
||||
asset_hub_kusama-->|Dispatch the Message|asset_hub_kusama
|
||||
|
||||
asset_hub_kusama-->|Send Message Using HRMP|kusama_bh
|
||||
end
|
||||
|
||||
polkadot_bh<===>|Message is relayed to the Bridged Chain using lane 00000000|kusama_bh
|
||||
|
||||
linkStyle 2 stroke:red
|
||||
linkStyle 7 stroke:red
|
||||
linkStyle 8 stroke:red
|
||||
|
||||
linkStyle 3 stroke:green
|
||||
linkStyle 4 stroke:green
|
||||
linkStyle 9 stroke:green
|
||||
</div>
|
||||
<script type="module">
|
||||
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@9/dist/mermaid.esm.min.mjs';
|
||||
mermaid.initialize({ startOnLoad: true });
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user