xtokens config (#331)

* added trader

* loosing the logic for bridged assets

* simplify logic

* better inline docs

* match against all X1, X2, etc. variants

* simplify the xcm config

---------

Co-authored-by: Alistair Singh <alistair.singh7@gmail.com>
This commit is contained in:
Özgün Özerk
2024-10-30 09:16:43 +03:00
committed by GitHub
parent 3df636d524
commit c43aa9591b
10 changed files with 488 additions and 102 deletions
+6
View File
@@ -262,6 +262,10 @@ mod runtime {
pub type CumulusXcm = cumulus_pallet_xcm;
#[runtime::pallet_index(33)]
pub type MessageQueue = pallet_message_queue;
#[runtime::pallet_index(34)]
pub type XTokens = orml_xtokens;
#[runtime::pallet_index(35)]
pub type XcmWeightTrader = pallet_xcm_weight_trader;
// EVM
#[runtime::pallet_index(40)]
@@ -272,6 +276,8 @@ mod runtime {
pub type BaseFee = pallet_base_fee;
#[runtime::pallet_index(43)]
pub type EVMChainId = pallet_evm_chain_id;
#[runtime::pallet_index(44)]
pub type Erc20XcmBridge = pallet_erc20_xcm_bridge;
}
cumulus_pallet_parachain_system::register_validate_block! {