Skip to content

Remove deprecated treasury spend_local and remove_approval#12683

Open
Kanasjnr wants to merge 4 commits into
paritytech:masterfrom
Kanasjnr:kanas/remove-treasury-spend-local
Open

Remove deprecated treasury spend_local and remove_approval#12683
Kanasjnr wants to merge 4 commits into
paritytech:masterfrom
Kanasjnr:kanas/remove-treasury-spend-local

Conversation

@Kanasjnr

@Kanasjnr Kanasjnr commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Removed spend_local and remove_approval (deprecated by May 2025), plus the related public getters.
  • Keeped MaxApprovals and ProposalCount / Proposals / Approvals so leftover approvals still pay out via spend_funds, and so bounties can keep using MaxApprovals.
  • Updated tests/benchmarks to seed legacy proposal storage directly; drop weight methods from runtime weight files.

Part of #11561

These calls (and related getters) were scheduled for removal by May 2025.
Keep MaxApprovals and proposal storage so leftover approvals and bounties
can still drain via spend_funds.
@Kanasjnr
Kanasjnr requested a review from a team as a code owner July 18, 2026 09:39
@Kanasjnr

Copy link
Copy Markdown
Contributor Author

/cmd label T13-deprecation

@Kanasjnr

Copy link
Copy Markdown
Contributor Author

/cmd prdoc --audience runtime_dev --bump major

@paritytech-cmd-bot-polkadot-sdk paritytech-cmd-bot-polkadot-sdk Bot added the T13-deprecation The current issue/pr is, or should be, part of a deprecation process. label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T13-deprecation The current issue/pr is, or should be, part of a deprecation process.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant