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

Make Treasurer origin able to spend any amount #6138

Closed

Conversation

4meta5
Copy link
Contributor

@4meta5 4meta5 commented Oct 11, 2022

The doc comment above Treasurer origin says "Origin for spending (any amount of) funds", but the origin is not set anywhere in the Kusama runtime.

The pallet_treasury::Config::SpendOrigin = TreasurySpender = EitherOf<Root, Spender> so I think Treasurer origin needs to be added to Spender.

Without this change, I don't see how the Treasurer origin/track can do anything.

@bkchr
Copy link
Member

bkchr commented Oct 14, 2022

Could you provide some test? :D

@4meta5
Copy link
Contributor Author

4meta5 commented Dec 1, 2022

#6372 makes the Treasurer origin useful again, we will make this adjustment as well

@4meta5 4meta5 closed this Dec 1, 2022
@4meta5 4meta5 deleted the amar-treasurer-can-spend-any-amt branch December 1, 2022 04:13
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 this pull request may close these issues.

2 participants