Skip to content
Snippets Groups Projects
Unverified Commit 21927dd4 authored by Raymond Cheung's avatar Raymond Cheung Committed by GitHub
Browse files

Fix XCM Barrier Rejection Handling to Return Incomplete with Weight (#7843)


This PR addresses an issue with the handling of message execution when
blocked by the barrier. Instead of returning an `Outcome::Error`, we
modify the behaviour to return `Outcome::Incomplete`, which includes the
weight consumed up to the point of rejection and the error that caused
the blockage.

This change ensures more accurate weight tracking during message
execution, even when interrupted. It improves resource management and
aligns the XCM executor’s behaviour with better error handling
practices.

---------

Co-authored-by: default avatarcmd[bot] <41898282+github-actions[bot]@users.noreply.github.com>
parent d1dcd161
No related merge requests found
Pipeline #519539 waiting for manual action with stages
in 1 hour, 14 minutes, and 59 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment