Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Commit

Permalink
adds log
Browse files Browse the repository at this point in the history
  • Loading branch information
claravanstaden authored and claravanstaden committed Nov 25, 2023
1 parent a94b564 commit 585e5cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cumulus/parachains/runtimes/bridge-hubs/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cumulus-primitives-core = { path = "../../../../primitives/core", default-featur
xcm = { package = "staging-xcm", path = "../../../../../polkadot/xcm", default-features = false}
pallet-message-queue = { path = "../../../../../substrate/frame/message-queue", default-features = false}
snowbridge-core = { path = "../../../../../../parachain/primitives/core", default-features = false }
log = { version = "0.4.20", default-features = false }

[features]
default = [ "std" ]
Expand All @@ -28,7 +29,8 @@ std = [
"cumulus-primitives-core/std",
"xcm/std",
"pallet-message-queue/std",
"snowbridge-core/std"
"snowbridge-core/std",
"log/std"
]

runtime-benchmarks = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ where
id: &mut [u8; 32],
) -> Result<bool, ProcessMessageError> {
use AggregateMessageOrigin::*;
log::info!(target: "xcm", "💫 in process message origin is {:?}.", origin);
match origin {
Here | Parent | Sibling(_) =>
XcmpProcessor::process_message(message, origin, meter, id),
Expand Down

0 comments on commit 585e5cb

Please sign in to comment.