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
TarekkMA pushed a commit to moonbeam-foundation/polkadot-sdk that referenced this pull request Aug 2, 2024
Remove unused config parameters `ApproveOrigin` and `OnSlash` from the
treasury pallet. Add `OnSlash` config parameter to the bounties and tips
pallets.

part of paritytech#3800
magecnion added a commit to freeverseio/laos that referenced this pull request Sep 12, 2024
vedhavyas added a commit to AstarNetwork/polkadot-sdk that referenced this pull request Oct 18, 2024
asiniscalchi added a commit to freeverseio/laos that referenced this pull request Nov 29, 2024
* uplift to stable2407

* paritytech/polkadot-sdk#4831

* paritytech/polkadot-sdk#3820

* polkadot-evm/frontier#1253

* paritytech/polkadot-sdk#3952

* paritytech/polkadot-sdk#3872

* fix rpc_builder type

* paritytech/polkadot-sdk#4410

* paritytech/polkadot-sdk#4097

* use stable rust toolchain

* paritytech/polkadot-sdk#3964

* cargo fmt

* clippy and lint issues

* e2e-test estimate gas when delegating

* only run staking e2e-test so it's easier for reviewing by external

* only run staking e2e-test so it's easier for reviewing by external

* restore run all e2e tests

* Update Rust Toolchain to 1.77, Suppress Warnings, and Enhance Runtime (#778)

* using runt 1.77

* fix clippy errors

* fixing clippy

* update to runtime 2200

* update proyect version to 0.22.0

* add missing migration

* removed the upgrade of versioning

* update cargo.lock

* using runtime

* fix  command

* fix compilation

* fix metadata test

* missing Config associated type

* modify MaxPageSize to the original till we need to increase it

* use latest release for zombienet tests

* go back to stable2407-3 release for zombienet tests

* go back to previous MaxPageSize

---------

Co-authored-by: Alessandro Siniscalchi <[email protected]>
Co-authored-by: luispdm <[email protected]>
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.

5 participants