This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
AllowTopLevelPaidExecutionFrom
changed behavior
#6770
Labels
T6-XCM
This PR/Issue is related to XCM.
AllowTopLevelPaidExecutionFrom
changed behavior after xcmV3 merge. Before if the message contained aBuyExecution(Limited(bought_weight))
andbought_weight
was greater than theweighed_weight
weighed by the receiving chain, the weight inside BuyExecution was overriden:Now this is no longer the case. The same barrier now has the following check now:
Which checks that the
bought_weight
is greater or equal than theweighed_weight
. But if it is the case, the weight is overriden by the max of both. Which by definition of the check made before, it will always bebought_weight
.The text was updated successfully, but these errors were encountered: