-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated treasury pallet calls #3820
Merged
muharem
merged 33 commits into
paritytech:master
from
openguild-labs:chungquantin/remove_treasury_deprecated_calls
Jun 18, 2024
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d579b67
Remove deprecated treasury pallet calls
chungquantin 1a3d5f1
Update benchmarking.rs
chungquantin 3d26a92
Remove unused ProposalBond parameter
chungquantin 2f1c632
Remove OnSlash parameter
chungquantin 2243192
Update proposal invariant tests
chungquantin 903b620
Code explicit indexes to event and error enum
chungquantin 2e8b334
Hotfix codec indexes
chungquantin f9b82de
Remove explicit coded indexes
chungquantin 8f74134
Remove deprecated weight functions
chungquantin 496d034
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin 4a9d17a
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin 3632701
Update prdoc message
chungquantin 062d1f3
Merge branch 'chungquantin/remove_treasury_deprecated_calls' of https…
chungquantin c368de8
Update deprecated treasury pallet code in the
chungquantin f42fd02
Move ApproveOrigin from treasury to bounty config
chungquantin ea5ba72
Update child bounties and tip pallet
chungquantin a03e77d
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin 4031443
Fix wording
chungquantin 40518af
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin fb2afc2
Revert the type parameter changes of treasury
chungquantin 1837fdd
Merge pull request #3 from openguild-labs/chungquantin/deprecated_tre…
chungquantin 3995795
Remove ProposalBond related parameters
chungquantin cd6e092
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin f692eaf
Reformat
chungquantin 1bdc38d
Update pr_3820.prdoc
chungquantin 5622161
Remove unused variables in westend runtime benchmarks
chungquantin f2e04f8
Merge branch 'master' into chungquantin/remove_treasury_deprecated_calls
chungquantin 432a110
Update bump attribute for updated pallet crates
chungquantin ca49d52
Refromat prdoc
chungquantin e911eb6
update prdoc bump for relevant crates
chungquantin 4eb538c
Revert doc changes and update setup_proposal
chungquantin ee8bdb2
fix prdoc
chungquantin 3b2ae66
revert missing doc
chungquantin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Schema: Polkadot SDK PRDoc Schema (prdoc) v1.0.0 | ||
# See doc at https://raw.githubusercontent.com/paritytech/polkadot-sdk/master/prdoc/schema_user.json | ||
|
||
title: Remove deprecated calls from treasury pallet | ||
|
||
doc: | ||
- audience: Runtime User | ||
description: | | ||
This PR remove deprecated calls, relevant tests from `pallet-treasury`. | ||
- Remove deprecated calls `propose_spend`, `reject_proposal`, `approve_proposal`. | ||
- Replace the code flow of `propose_spend` then `approve_proposal` with `spend_local` | ||
- Remove deprecated calls' related weight functions and test cases. | ||
- Remove deprecated parameter types: ProposalBond, ProposalBondMaximum, ProposalBondMinimum | ||
- Remove pallet treasury's relevant deprecated code in pallet-tips, pallet-bounties and pallet-child-bounties | ||
|
||
crates: | ||
- name: pallet-treasury | ||
bump: major | ||
- name: pallet-tips | ||
bump: patch | ||
- name: pallet-child-bounties | ||
bump: patch | ||
- name: pallet-bounties | ||
bump: patch | ||
- name: polkadot-runtime-common | ||
bump: patch | ||
- name: rococo-runtime | ||
bump: patch | ||
- name: westend-runtime | ||
bump: patch | ||
- name: collectives-westend-runtime | ||
bump: patch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we need all altered crates here listed with
bump
attribute. check more info here - https://github.com/paritytech/polkadot-sdk/blob/master/docs/contributor/prdoc.md#record-semver-changes