rebrand: kusama → dicle
- Replace all kusama/Kusama references with dicle/Dicle - Rename weight files from ksm_size to dcl_size - Update papi-tests files from ksm to dcl - Remove chain-specs/kusama.json files - cargo check --workspace successful (Finished output) - Update MAINNET_ROADMAP.md: FAZ 8 completed
This commit is contained in:
@@ -40,7 +40,7 @@
|
||||
//! - We need the same `LaneId` on both sides of the bridge, as `LaneId` is part of the message key
|
||||
//! proofs.
|
||||
//! - Runtime upgrades are entirely asynchronous.
|
||||
//! - We already have a running production Pezkuwi/Kusama bridge that uses `LaneId([0, 0, 0, 0])`.
|
||||
//! - We already have a running production Pezkuwi/Dicle bridge that uses `LaneId([0, 0, 0, 0])`.
|
||||
//!
|
||||
//! `LaneId` is backward compatible, meaning it can be encoded/decoded from the older format `[u8;
|
||||
//! 4]` used for static lanes, as well as the new format `H256` generated by
|
||||
@@ -111,25 +111,25 @@
|
||||
//!
|
||||
//! # Example
|
||||
//!
|
||||
//! Example of opening a bridge between some random teyrchains from Pezkuwi and Kusama:
|
||||
//! Example of opening a bridge between some random teyrchains from Pezkuwi and Dicle:
|
||||
//!
|
||||
//! 0. Let's have:
|
||||
//! - BridgeHubPezkuwi with `UniversalLocation` = `[GlobalConsensus(Pezkuwi), Teyrchain(1002)]`
|
||||
//! - BridgeHubKusama with `UniversalLocation` = `[GlobalConsensus(Kusama), Teyrchain(1002)]`
|
||||
//! - BridgeHubDicle with `UniversalLocation` = `[GlobalConsensus(Dicle), Teyrchain(1002)]`
|
||||
//! 1. The Pezkuwi local sibling teyrchain `Location::new(1, Teyrchain(1234))` must send some DOTs
|
||||
//! to its sovereign account on BridgeHubPezkuwi to cover `BridgeDeposit`, fees for `Transact`,
|
||||
//! and the existential deposit.
|
||||
//! 2. Send a call to the BridgeHubPezkuwi from the local sibling teyrchain: `Location::new(1,
|
||||
//! Teyrchain(1234))` ``` xcm::Transact( origin_kind: OriginKind::Xcm,
|
||||
//! XcmOverBridgeHubKusama::open_bridge( VersionedInteriorLocation::V4([GlobalConsensus(Kusama),
|
||||
//! XcmOverBridgeHubDicle::open_bridge( VersionedInteriorLocation::V4([GlobalConsensus(Dicle),
|
||||
//! Teyrchain(4567)].into()), ); ) ```
|
||||
//! 3. Check the stored bridge metadata and generated `LaneId`.
|
||||
//! 4. The Kusama local sibling teyrchain `Location::new(1, Teyrchain(4567))` must send some KSMs to
|
||||
//! 4. The Dicle local sibling teyrchain `Location::new(1, Teyrchain(4567))` must send some DCLs to
|
||||
//! its sovereign account
|
||||
//! on BridgeHubKusama to cover `BridgeDeposit`, fees for `Transact`, and the existential deposit.
|
||||
//! 5. Send a call to the BridgeHubKusama from the local sibling teyrchain: `Location::new(1,
|
||||
//! on BridgeHubDicle to cover `BridgeDeposit`, fees for `Transact`, and the existential deposit.
|
||||
//! 5. Send a call to the BridgeHubDicle from the local sibling teyrchain: `Location::new(1,
|
||||
//! Teyrchain(4567))` ``` xcm::Transact( origin_kind: OriginKind::Xcm,
|
||||
//! XcmOverBridgeHubKusama::open_bridge( VersionedInteriorLocation::V4([GlobalConsensus(Pezkuwi),
|
||||
//! XcmOverBridgeHubDicle::open_bridge( VersionedInteriorLocation::V4([GlobalConsensus(Pezkuwi),
|
||||
//! Teyrchain(1234)].into()), ); ) ```
|
||||
//! 6. Check the stored bridge metadata and generated `LaneId`.
|
||||
//! 7. Both `LaneId`s from steps 3 and 6 must be the same (see above _Concept of `lane` and
|
||||
|
||||
@@ -148,7 +148,7 @@ impl pezpallet_bridge_messages::WeightInfoExt for TestMessagesWeights {
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
pub const RelayNetwork: NetworkId = NetworkId::Kusama;
|
||||
pub const RelayNetwork: NetworkId = NetworkId::Dicle;
|
||||
pub UniversalLocation: InteriorLocation = [
|
||||
GlobalConsensus(RelayNetwork::get()),
|
||||
Teyrchain(THIS_BRIDGE_HUB_ID),
|
||||
|
||||
Reference in New Issue
Block a user