Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Treasury pallet should support origin success param as max-spend #11116

Closed
gavofyork opened this issue Mar 25, 2022 · 0 comments · Fixed by #11124
Closed

Treasury pallet should support origin success param as max-spend #11116

gavofyork opened this issue Mar 25, 2022 · 0 comments · Fixed by #11124

Comments

@gavofyork
Copy link
Member

Currently there's only one approve origin for the treasury pallet which is able to approve any spend.

Actually, the spend origin should accept a parameter, and the Success associated type should be a Balance. The value of this balance should be at least the amount of spending desired in the call.

@gavofyork gavofyork changed the title Treasury pallet should support multiple origins for spending levels Treasury pallet should support origin success param as max-spend Mar 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant