Skip to content

Commit

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

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

---------

Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
  • Loading branch information
3 people authored Oct 17, 2023
1 parent a1171e6 commit 38c0604
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 38c0604

Please sign in to comment.