mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 14:01:02 +00:00
Companion for init the RuntimeLogger automatically (#2522)
* Lol * Add the features * Remove some more runtime logger init calls * Make companion check work * Revert "Make companion check work" This reverts commit a255c798076466c0fa20a4db713fc712772c2b4d. * Update Substrate
This commit is contained in:
@@ -71,7 +71,7 @@ impl<Config: config::Config> ExecuteXcm for XcmExecutor<Config> {
|
||||
(origin, Xcm::TeleportAsset { assets, effects }) => {
|
||||
// check whether we trust origin to teleport this asset to us via config trait.
|
||||
// TODO: should de-wildcard `assets` before passing in.
|
||||
frame_support::debug::print!("Teleport from {:?}", origin);
|
||||
log::debug!(target: "runtime::xcm-executor", "Teleport from {:?}", origin);
|
||||
if assets.iter().all(|asset| Config::IsTeleporter::filter_asset_location(asset, &origin)) {
|
||||
// We only trust the origin to send us assets that they identify as their
|
||||
// sovereign assets.
|
||||
|
||||
Reference in New Issue
Block a user