-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add set_partial_params dispatchable function #3843
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
Merged
bkchr
merged 23 commits into
paritytech:master
from
openguild-labs:chungquantin/fellowship_core_set_params
Jun 18, 2024
Merged
Changes from 17 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
6e388f0
Add set_partial_params dispatchable function
chungquantin 64ca32d
Optimize set_partial_params and assert ParamsChanged event
chungquantin 3cf3103
Update documentation and add prdoc
chungquantin 68fe4ff
Reformat the prdoc
chungquantin 1859790
Refractor partial_params method to avoid unwrap()
chungquantin e7c3307
Add weight and benchmark for set_partial_params
chungquantin efe9457
Merge branch 'master' into chungquantin/fellowship_core_set_params
chungquantin cdab265
Config set_partial_params in westend collectives
chungquantin 0c558c6
Merge branch 'chungquantin/fellowship_core_set_params' of https://git…
chungquantin 3238144
Merge branch 'master' into chungquantin/fellowship_core_set_params
chungquantin c3d9474
Update lib.rs
chungquantin d22c388
Migrate to BoundedVec with configured MaxRank
chungquantin cc4f5b5
Merge branch 'master' into chungquantin/fellowship_core_set_params
chungquantin a85b371
Update substrate/frame/core-fellowship/src/lib.rs
chungquantin 2f8c071
Fix benchmarking code for the set_partial_params
chungquantin a77b512
Merge branch 'chungquantin/fellowship_core_set_params' of https://git…
chungquantin 149dd53
hotfix benchmarking for set_partial_params
chungquantin 71f9dee
Update prdoc/pr_3843.prdoc
chungquantin 6f02d9a
Merge branch 'master' into chungquantin/fellowship_core_set_params
chungquantin 488b532
fix prdoc style
chungquantin 229c87b
add collectives-westend-runtime to prdoc
chungquantin 087d00d
Update substrate/frame/core-fellowship/src/lib.rs
chungquantin 0a00ddd
Format benchmarking.rs
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 hidden or 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 hidden or 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 hidden or 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,14 @@ | ||
| # 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: Introduce a new dispatchable function `set_partial_params` in `pallet-core-fellowship` | ||
|
|
||
| doc: | ||
| - audience: Runtime Dev | ||
| description: | | ||
| This PR adds a new dispatchable function `set_partial_params` | ||
| to update config with multiple arguments without duplicating the | ||
| fields that does not need to update. | ||
|
|
||
| crates: | ||
| - name: pallet-core-fellowship | ||
This file contains hidden or 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 hidden or 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 hidden or 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
Uh oh!
There was an error while loading. Please reload this page.