Skip to content

Commit

Permalink
increase MAX_ASSETS_FOR_BUY_EXECUTION (paritytech#1733)
Browse files Browse the repository at this point in the history
Partially addresses paritytech#1638

Still need a better solution to allow devs to have better control of
this.

---------

Co-authored-by: Keith Yeung <[email protected]>
Co-authored-by: joe petrowski <[email protected]>
  • Loading branch information
3 people authored and noandrea committed Oct 18, 2023
1 parent 6b2c093 commit 87b160e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polkadot/xcm/xcm-builder/src/barriers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ impl ShouldExecute for TakeWeightCredit {
}
}

const MAX_ASSETS_FOR_BUY_EXECUTION: usize = 1;
const MAX_ASSETS_FOR_BUY_EXECUTION: usize = 2;

/// Allows execution from `origin` if it is contained in `T` (i.e. `T::Contains(origin)`) taking
/// payments into account.
Expand Down

0 comments on commit 87b160e

Please sign in to comment.