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

Make Treasurer origin able to spend any amount#6138

Closed
amarsinghcodes wants to merge 1 commit intoparitytech:masterfrom
amarsinghcodes:amar-treasurer-can-spend-any-amt
Closed

Make Treasurer origin able to spend any amount#6138
amarsinghcodes wants to merge 1 commit intoparitytech:masterfrom
amarsinghcodes:amar-treasurer-can-spend-any-amt

Conversation

@amarsinghcodes
Copy link
Copy Markdown
Contributor

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
Copy Markdown
Member

bkchr commented Oct 14, 2022

Could you provide some test? :D

@amarsinghcodes
Copy link
Copy Markdown
Contributor Author

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

@amarsinghcodes amarsinghcodes 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