Skip to content
Snippets Groups Projects
Unverified Commit 38c0604b authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

increase MAX_ASSETS_FOR_BUY_EXECUTION (#1733)


Partially addresses #1638

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

---------

Co-authored-by: default avatarKeith Yeung <kungfukeith11@gmail.com>
Co-authored-by: default avatarjoe petrowski <25483142+joepetrowski@users.noreply.github.com>
parent a1171e6e
No related merge requests found
Pipeline #401747 passed with stages
in 46 minutes and 10 seconds
......@@ -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.
......
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