Skip to content
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

treasury pallet: remove unused config parameters #4831

Merged
merged 5 commits into from
Jun 24, 2024

Conversation

muharem
Copy link
Contributor

@muharem muharem commented Jun 19, 2024

Remove unused config parameters ApproveOrigin and OnSlash from the treasury pallet. Add OnSlash config parameter to the bounties and tips pallets.

part of #3800

@muharem muharem added the T1-FRAME This PR/Issue is related to core FRAME, the framework. label Jun 19, 2024
@muharem muharem requested a review from a team as a code owner June 19, 2024 10:54
@paritytech-cicd-pr
Copy link

The CI pipeline was cancelled due to failure one of the required jobs.
Job name: cargo-clippy
Logs: https://gitlab.parity.io/parity/mirrors/polkadot-sdk/-/jobs/6501817

@muharem muharem changed the title treasury pallet: remove unused type parameters treasury pallet: remove unused config parameters Jun 19, 2024
@muharem
Copy link
Contributor Author

muharem commented Jun 19, 2024

Comment on lines +12 to +15
- name: pallet-bounties
bump: major
- name: pallet-tips
bump: major
Copy link
Contributor

Choose a reason for hiding this comment

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

Updating to this version of tips and bounties with the additional associated type in their Config trait will make runtimes fail to compile without changes, so I think these are correct, despite what the semver check says.

@muharem muharem added this pull request to the merge queue Jun 24, 2024
Merged via the queue into master with commit 5e62782 Jun 24, 2024
161 of 164 checks passed
@muharem muharem deleted the muharem-treasury-remove-unused-parameters branch June 24, 2024 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T1-FRAME This PR/Issue is related to core FRAME, the framework.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants