Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
08e0f81
Setup permissionless lanes for AssetHubRococo
bkontur Nov 15, 2024
489b94a
Update from bkontur running command 'fmt'
github-actions[bot] Jan 30, 2025
122a33b
zepter+taplo
bkontur Jan 30, 2025
2a626af
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Feb 17, 2025
37e1f25
Fix deps
bkontur Mar 11, 2025
ae437d9
Update cumulus/parachains/runtimes/assets/asset-hub-rococo/tests/test…
bkontur Mar 12, 2025
ded10ac
Add bridging to AssetHubWestend (#7831)
rosarp Mar 13, 2025
b3e3971
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 7, 2025
0e67470
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 8, 2025
db0ff4b
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 8, 2025
e07894a
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 10, 2025
b52b5c7
Added `PalletInstance` to the blob dispatcher
bkontur Apr 14, 2025
15bf1a4
Add `expect_descend_origin_with_messaging_pallet_instance` (prepare f…
bkontur Apr 14, 2025
2693542
Keep track of two parachains on BH (for permlanes and D-Day)
bkontur Apr 20, 2025
1319254
Move `AssetHubLocation` to the common for BHW
bkontur Apr 23, 2025
668e497
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 24, 2025
678da3a
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 24, 2025
8a3ed87
Update from github-actions[bot] running command 'fmt'
github-actions[bot] Apr 24, 2025
214224e
Bridge Permissionless Lanes - Emulated Tests (#8292)
rosarp Apr 25, 2025
c3fd0c4
Setup `UniversalAliases` for local direct bridge
bkontur Apr 29, 2025
af3bfc9
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 29, 2025
ba19caa
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Apr 29, 2025
9627d7a
Bridge Permissionless Lanes - Emulated Tests Para to Para (#8519)
rosarp May 21, 2025
b8f281c
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur May 26, 2025
13358b2
Merge remote-tracking branch 'origin/bko-bridges-congestion' into bko…
bkontur May 28, 2025
2be0b7c
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur May 28, 2025
cbd6d47
Set `MessageExportPrice` TODOs
bkontur May 28, 2025
3e87012
nits
bkontur May 28, 2025
8ada805
Implement `PriceForMessageDelivery` for `pallet-xcm-bridge` allowing …
bkontur Jul 10, 2025
f47422f
added fee calculation estimate tests for AHR & AHW (#9183)
rosarp Jul 16, 2025
41e2100
Merge remote-tracking branch 'origin/bko-bridges-congestion' into bko…
bkontur Jul 18, 2025
8fde05c
Merge branch 'bko-bridges-congestion' into bko-permlanes-on-ahs
bkontur Jul 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions bridges/modules/xcm-bridge/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,11 @@ pub mod pallet {
.into()),
}
}

/// Get the bridge deposit amount required to open a new bridge.
pub fn bridge_deposit() -> BalanceOf<ThisChainOf<T, I>> {
T::BridgeDeposit::get()
}
}

#[cfg(feature = "runtime-benchmarks")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

pub use asset_hub_rococo_runtime;
pub use asset_hub_rococo_runtime::{
self as asset_hub_rococo_runtime, xcm_config::XcmConfig as AssetHubRococoXcmConfig,
ExistentialDeposit as AssetHubRococoExistentialDeposit,
RuntimeOrigin as AssetHubRococoRuntimeOrigin,
};

pub mod genesis;

Expand Down Expand Up @@ -52,6 +56,7 @@ decl_test_parachains! {
PoolAssets: asset_hub_rococo_runtime::PoolAssets,
AssetConversion: asset_hub_rococo_runtime::AssetConversion,
Balances: asset_hub_rococo_runtime::Balances,
XcmOverAssetHubWestend: asset_hub_rococo_runtime::XcmOverAssetHubWestend,
}
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

pub use asset_hub_westend_runtime;
pub use asset_hub_westend_runtime::{
self as asset_hub_westend_runtime, xcm_config::XcmConfig as AssetHubWestendXcmConfig,
ExistentialDeposit as AssetHubWestendExistentialDeposit,
RuntimeOrigin as AssetHubWestendRuntimeOrigin,
};

pub mod genesis;

Expand Down Expand Up @@ -54,6 +58,7 @@ decl_test_parachains! {
AssetConversion: asset_hub_westend_runtime::AssetConversion,
SnowbridgeSystemFrontend: asset_hub_westend_runtime::SnowbridgeSystemFrontend,
Revive: asset_hub_westend_runtime::Revive,
XcmOverAssetHubRococo: asset_hub_westend_runtime::XcmOverAssetHubRococo,
}
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ decl_test_parachains! {
EthereumSystem: bridge_hub_rococo_runtime::EthereumSystem,
EthereumInboundQueue: bridge_hub_rococo_runtime::EthereumInboundQueue,
EthereumOutboundQueue: bridge_hub_rococo_runtime::EthereumOutboundQueue,
BridgeWestendGrandpa: bridge_hub_rococo_runtime::BridgeWestendGrandpa,
BridgeWestendParachains: bridge_hub_rococo_runtime::BridgeWestendParachains,
}
},
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ decl_test_parachains! {
EthereumOutboundQueue: bridge_hub_westend_runtime::EthereumOutboundQueue,
EthereumSystemV2: bridge_hub_westend_runtime::EthereumSystemV2,
BridgeRelayers: bridge_hub_westend_runtime::BridgeRelayers,
BridgeRococoGrandpa: bridge_hub_westend_runtime::BridgeRococoGrandpa,
BridgeRococoParachains: bridge_hub_westend_runtime::BridgeRococoParachains,
}
},
}
Expand Down
10 changes: 10 additions & 0 deletions cumulus/parachains/integration-tests/emulated/common/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,11 @@ where

// collect messages from `OutboundMessages` for each active outbound lane in the source
for lane in active_outbound_lanes {
if OutboundLanes::<S, SI>::get(lane).is_none() {
// TODO: FAIL - investigate how was this created
continue;
}

let latest_generated_nonce =
OutboundLanes::<S, SI>::get(lane).unwrap().latest_generated_nonce;
let latest_received_nonce =
Expand Down Expand Up @@ -192,6 +197,11 @@ where

// collect messages from `OutboundMessages` for each active outbound lane in the source
for lane in active_outbound_lanes {
if OutboundLanes::<S, SI>::get(lane).is_none() {
// TODO: FAIL - investigate how was this created
continue;
}

let latest_generated_nonce =
OutboundLanes::<S, SI>::get(lane).unwrap().latest_generated_nonce;
let latest_received_nonce =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,15 @@ cumulus-pallet-parachain-system = { workspace = true }
cumulus-pallet-xcmp-queue = { workspace = true }
emulated-integration-tests-common = { workspace = true }
parachains-common = { workspace = true, default-features = true }
rococo-system-emulated-network = { workspace = true }
westend-system-emulated-network = { workspace = true }
rococo-westend-system-emulated-network = { workspace = true }

# Bridge
bp-asset-hub-westend = { workspace = true }
bp-asset-hub-rococo = { workspace = true }
bp-xcm-bridge = { workspace = true }
pallet-xcm-bridge = { workspace = true }

[dev-dependencies]
sp-tracing = { workspace = true, default-features = true }
Loading
Loading