Skip to content

Commit

Permalink
edit xcm config and zombienet config file (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
luispdm authored Oct 17, 2024
1 parent ea558d2 commit d5f4ac6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions runtime/laos/src/configs/xcm_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@ pub type LocalAssetTransactor = FungibleAdapter<
// Uses the Balances pallet as the fungible asset handler.
Balances,
// Recognizes assets that are concrete representations of the Relay Chain's location.
IsConcrete<RelayLocation>,
IsConcrete<HereLocation>,
// Converts `MultiLocation` into local `AccountId` for asset operations.
LocationToAccountId,
// Specifies the local `AccountId` type.
AccountId,
// Teleportation of assets is not tracked or allowed.
// Teleportation allowed: making sure the receiver can mint our assets
Checking,
>;

Expand Down Expand Up @@ -232,7 +232,7 @@ impl pallet_xcm::Config for Runtime {
type ExecuteXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, LocalOriginToLocation>;
type XcmExecuteFilter = Nothing;
type XcmExecutor = XcmExecutor<XcmConfig>;
type XcmTeleportFilter = Nothing;
type XcmTeleportFilter = Everything;
// Allows all reserve asset transfers.
type XcmReserveTransferFilter = Everything;
// Calculates the weight of XCM messages.
Expand Down
5 changes: 4 additions & 1 deletion zombienet/xcm-native.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,24 @@ force_decorator = "generic-evm"
ws_port = 9999
command = "{{ZOMBIENET_LAOS_COMMAND}}"
validator = true
args = ["--log=xcm=trace"]

[[parachains.collators]]
name = "laos-1"
ws_port = 10000
command = "{{ZOMBIENET_LAOS_COMMAND}}"
validator = true
args = ["--log=xcm=trace"]

[[parachains.collators]]
name = "laos-2"
ws_port = 10001
command = "{{ZOMBIENET_LAOS_COMMAND}}"
validator = true
args = ["--log=xcm=trace"]

[[parachains]]
id = 2000
id = 1000
cumulus_based = true
chain = "asset-hub-rococo-local"

Expand Down

0 comments on commit d5f4ac6

Please sign in to comment.