Skip to content
Merged
Changes from all commits
Commits
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
2 changes: 0 additions & 2 deletions polkadot/xcm/xcm-executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,6 @@ impl<Config: config::Config> XcmExecutor<Config> {
},
// `fallback_max_weight` is not used in the executor, it's only for conversions.
Transact { origin_kind, mut call, .. } => {
// We assume that the Relay-chain is allowed to use transact on this parachain.
let origin = self.cloned_origin().ok_or_else(|| {
tracing::trace!(
target: "xcm::process_instruction::transact",
Expand All @@ -1044,7 +1043,6 @@ impl<Config: config::Config> XcmExecutor<Config> {
XcmError::BadOrigin
})?;

// TODO: #2841 #TRANSACTFILTER allow the trait to issue filters for the relay-chain
let message_call = call.take_decoded().map_err(|_| {
tracing::trace!(
target: "xcm::process_instruction::transact",
Expand Down
Loading