Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
7bf1d4d
feat: apply relay patches
ziscky Mar 3, 2026
f742abf
fix: build errors
ziscky Mar 3, 2026
df915be
feat: apply collectives changes
ziscky Mar 3, 2026
30dad09
feat: apply bridge hub patches
ziscky Mar 3, 2026
8b5cd3a
feat: apply coretime patches
ziscky Mar 3, 2026
4652ece
feat: apply people patches
ziscky Mar 3, 2026
43395d9
fix: rm chain-spec-generator dep
ziscky Mar 3, 2026
acf2745
ci: rust fmt
ziscky Mar 3, 2026
fccaba8
ci: rustfmt
ziscky Mar 3, 2026
67b6371
ci: rustfmt
ziscky Mar 3, 2026
098e955
ci: rustfmt
ziscky Mar 3, 2026
67c8aae
ci: rustfmt
ziscky Mar 3, 2026
dfd2c6b
ci: rustfmt
ziscky Mar 3, 2026
7634630
ci: toml format
ziscky Mar 3, 2026
013a64b
ci: fix formatting
ziscky Mar 3, 2026
f451883
ci: rustfmt
ziscky Mar 3, 2026
0081c09
ci: rustfmt
ziscky Mar 3, 2026
4519829
ci: rustfmt
ziscky Mar 3, 2026
ed40e2d
ci: rustfmt
ziscky Mar 3, 2026
0a55ce2
feat: apply assethub patches
ziscky Mar 3, 2026
c35f9da
feat: apply assethub patches
ziscky Mar 3, 2026
fea80af
Merge branch 'release/v2.1.0-relay' into runtimes-ah
ziscky Mar 3, 2026
82efe91
ci: rustfmt
ziscky Mar 4, 2026
639c950
fix: build error
ziscky Mar 4, 2026
334ac24
fix: build error
ziscky Mar 4, 2026
b471319
feat: apply integration-test patches
ziscky Mar 4, 2026
7f8937e
feat: update cargo.lock
ziscky Mar 4, 2026
0533685
ci: update cargo.lock
ziscky Mar 4, 2026
56d68cc
fix: build error
ziscky Mar 4, 2026
fcb82ea
fix: add missing set_reserve
ziscky Mar 4, 2026
6b67678
ci: rustfmt
ziscky Mar 4, 2026
ea75ee4
fix: rm unwanted changes
ziscky Mar 11, 2026
530f845
feat: update to release tag
ziscky Mar 11, 2026
ef3fea9
Merge pull request #339 from paseo-network/runtimes-ct
ziscky Mar 11, 2026
cdb1642
Merge pull request #338 from paseo-network/runtimes-bh
ziscky Mar 11, 2026
d2ecfd7
Merge pull request #340 from paseo-network/runtimes-pp
ziscky Mar 11, 2026
ad84af3
Merge branch 'release/v2.1.0-relay' into integration-tests-2.1.0
ziscky Mar 11, 2026
e2547f2
fix: rustfmt
ziscky Mar 11, 2026
5b44796
fix: use paseo specific accounts
ziscky Mar 11, 2026
4d4cc90
fix: revert unwanted changes
ziscky Mar 11, 2026
d1de0ec
fix: revert unwanted changes
ziscky Mar 11, 2026
8b29683
Merge pull request #336 from paseo-network/release/v2.1.0-collectives
ziscky Mar 17, 2026
69497b3
Merge pull request #343 from paseo-network/integration-tests-2.1.0
ziscky Mar 17, 2026
f2f251b
Merge pull request #342 from paseo-network/runtimes-ah
ziscky Mar 18, 2026
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
3,339 changes: 1,857 additions & 1,482 deletions Cargo.lock

Large diffs are not rendered by default.

410 changes: 217 additions & 193 deletions Cargo.toml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,16 @@ sp-keyring = { workspace = true }
frame-support = { workspace = true, default-features = true }

# Cumulus
assets-common = { workspace = true, default-features = true }
parachains-common = { workspace = true, default-features = true }
cumulus-primitives-core = { workspace = true, default-features = true }
emulated-integration-tests-common = { workspace = true }
xcm = { workspace = true, default-features = true }
xcm-builder = { workspace = true, default-features = true }
polkadot-parachain-primitives = { workspace = true }

# Runtimes
asset-hub-paseo-runtime = { workspace = true, default-features = true }
asset-hub-paseo-runtime = { workspace = true }
paseo-emulated-chain = { workspace = true }
penpal-emulated-chain = { workspace = true }

Expand All @@ -35,6 +37,7 @@ integration-tests-helpers = { workspace = true }
[features]
runtime-benchmarks = [
"asset-hub-paseo-runtime/runtime-benchmarks",
"assets-common/runtime-benchmarks",
"cumulus-primitives-core/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"integration-tests-helpers/runtime-benchmarks",
Expand All @@ -43,6 +46,6 @@ runtime-benchmarks = [
"penpal-emulated-chain/runtime-benchmarks",
"polkadot-parachain-primitives/runtime-benchmarks",
"snowbridge-inbound-queue-primitives/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
try-runtime = []
Original file line number Diff line number Diff line change
Expand Up @@ -17,45 +17,26 @@
use sp_keyring::Sr25519Keyring;

// Cumulus
use asset_hub_paseo_runtime::xcm_config::bridging::to_ethereum::EthereumNetwork;
use emulated_integration_tests_common::{
accounts, build_genesis_storage, xcm_emulator::ConvertLocation, RESERVABLE_ASSET_ID,
accounts, build_genesis_storage, xcm_emulator::ConvertLocation, PenpalALocation,
PenpalASiblingSovereignAccount, PenpalATeleportableAssetLocation, PenpalBLocation,
PenpalBSiblingSovereignAccount, PenpalBTeleportableAssetLocation, RESERVABLE_ASSET_ID,
SAFE_XCM_VERSION,
};
use frame_support::sp_runtime::traits::AccountIdConversion;
use integration_tests_helpers::common::snowbridge::{EthLocation, WethLocation, MIN_ETHER_BALANCE};
use parachains_common::{AccountId, Balance};
use polkadot_parachain_primitives::primitives::Sibling;
use snowbridge_inbound_queue_primitives::EthereumLocationsConverterFor;
use xcm::prelude::*;
use xcm_builder::ExternalConsensusLocationsConverterFor;

pub const PARA_ID: u32 = 1000;
pub const ED: Balance = asset_hub_paseo_runtime::ExistentialDeposit::get();
pub const USDT_ID: u32 = 1984;

frame_support::parameter_types! {
pub AssetHubPaseoAssetOwner: AccountId = Sr25519Keyring::Alice.to_account_id();
pub PenpalATeleportableAssetLocation: Location
= Location::new(1, [
Parachain(penpal_emulated_chain::PARA_ID_A),
PalletInstance(penpal_emulated_chain::ASSETS_PALLET_ID),
GeneralIndex(penpal_emulated_chain::TELEPORTABLE_ASSET_ID.into()),
]
);
pub PenpalBTeleportableAssetLocation: Location
= Location::new(1, [
Parachain(penpal_emulated_chain::PARA_ID_B),
PalletInstance(penpal_emulated_chain::ASSETS_PALLET_ID),
GeneralIndex(penpal_emulated_chain::TELEPORTABLE_ASSET_ID.into()),
]
);
pub PenpalASiblingSovereignAccount: AccountId = Sibling::from(penpal_emulated_chain::PARA_ID_A).into_account_truncating();
pub PenpalBSiblingSovereignAccount: AccountId = Sibling::from(penpal_emulated_chain::PARA_ID_B).into_account_truncating();
pub EthereumSovereignAccount: AccountId = EthereumLocationsConverterFor::<AccountId>::convert_location(
&Location::new(
2,
[GlobalConsensus(EthereumNetwork::get())],
),
pub UniversalLocation: InteriorLocation = [GlobalConsensus(Paseo), Parachain(PARA_ID)].into();
pub EthereumSovereignAccount: AccountId = ExternalConsensusLocationsConverterFor::<UniversalLocation, AccountId>::convert_location(
&EthLocation::get(),
).unwrap();
}

Expand Down Expand Up @@ -137,6 +118,18 @@ pub fn genesis() -> sp_core::storage::Storage {
// Weth
(WethLocation::get(), EthereumSovereignAccount::get(), true, MIN_ETHER_BALANCE),
],
reserves: vec![
(
PenpalATeleportableAssetLocation::get(),
vec![(PenpalALocation::get(), true).into()],
),
(
PenpalBTeleportableAssetLocation::get(),
vec![(PenpalBLocation::get(), true).into()],
),
(EthLocation::get(), vec![(EthLocation::get(), false).into()]),
(WethLocation::get(), vec![(EthLocation::get(), false).into()]),
],
..Default::default()
},
..Default::default()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ use emulated_integration_tests_common::{
};
use paseo_emulated_chain::Paseo;

pub use assets_common::local_and_foreign_assets::ForeignAssetReserveData;

// AssetHubPaseo Parachain declaration
decl_test_parachains! {
pub struct AssetHubPaseo {
Expand Down Expand Up @@ -59,5 +61,9 @@ impl_accounts_helpers_for_parachain!(AssetHubPaseo);
impl_assert_events_helpers_for_parachain!(AssetHubPaseo);
impl_assets_helpers_for_system_parachain!(AssetHubPaseo, Paseo);
impl_assets_helpers_for_parachain!(AssetHubPaseo);
impl_foreign_assets_helpers_for_parachain!(AssetHubPaseo, xcm::latest::Location);
impl_foreign_assets_helpers_for_parachain!(
AssetHubPaseo,
xcm::latest::Location,
ForeignAssetReserveData
);
impl_xcm_helpers_for_parachain!(AssetHubPaseo);
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,15 @@ impl_assert_events_helpers_for_parachain!(PenpalA);
impl_assert_events_helpers_for_parachain!(PenpalB);
impl_assets_helpers_for_parachain!(PenpalA);
impl_assets_helpers_for_parachain!(PenpalB);
impl_foreign_assets_helpers_for_parachain!(PenpalA, xcm::latest::Location);
impl_foreign_assets_helpers_for_parachain!(PenpalB, xcm::latest::Location);
impl_foreign_assets_helpers_for_parachain!(
PenpalA,
xcm::latest::Location,
penpal_runtime::ForeignAssetReserveData
);
impl_foreign_assets_helpers_for_parachain!(
PenpalB,
xcm::latest::Location,
penpal_runtime::ForeignAssetReserveData
);
impl_xcm_helpers_for_parachain!(PenpalA);
impl_xcm_helpers_for_parachain!(PenpalB);
2 changes: 2 additions & 0 deletions integration-tests/emulated/helpers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pallet-message-queue = { workspace = true, default-features = true }

# Polkadot
xcm = { workspace = true, default-features = true }
xcm-runtime-apis = { workspace = true, default-features = true }
pallet-xcm = { workspace = true, default-features = true }

# Cumulus
Expand All @@ -30,5 +31,6 @@ runtime-benchmarks = [
"pallet-balances/runtime-benchmarks",
"pallet-message-queue/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"xcm-runtime-apis/runtime-benchmarks",
"xcm/runtime-benchmarks",
]
Loading
Loading