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

allow Treasurer to manage treasury #6340

Closed
wants to merge 1 commit into from
Closed

Conversation

xlc
Copy link
Contributor

@xlc xlc commented Nov 24, 2022

No description provided.

@paritytech-ci paritytech-ci requested review from a team November 24, 2022 05:19
@@ -633,7 +633,7 @@ parameter_types! {
impl pallet_treasury::Config for Runtime {
type PalletId = TreasuryPalletId;
type Currency = Balances;
type ApproveOrigin = EnsureRoot<AccountId>;
type ApproveOrigin = EitherOf<EnsureRoot<AccountId>, Treasurer>;
type RejectOrigin = EnsureRoot<AccountId>;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Treasurer should also be able to reject. Let me know if I should update this as well.

@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: test-linux-stable
Logs: https://gitlab.parity.io/parity/mirrors/polkadot/-/jobs/2080514

@xlc
Copy link
Contributor Author

xlc commented Dec 1, 2022

replaced by #6372

@xlc xlc closed this Dec 1, 2022
@xlc xlc deleted the fix-treasurer branch December 1, 2022 05:02
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