-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Fix origin check in EPMB's manage extrinsic #10248
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
Conversation
|
/cmd prdoc --bump major |
Ank4n
left a comment
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.
Some nits to keep you entertained
substrate/frame/election-provider-multi-block/src/benchmarking.rs
Outdated
Show resolved
Hide resolved
| Self::phase_transition(phase); | ||
| Ok(().into()) | ||
| Ok(PostDispatchInfo { | ||
| actual_weight: Some(T::DbWeight::get().reads_writes(1, 1)), |
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.
Nit: It also emits an event so its 2 writes 😛
|
All GitHub workflows were cancelled due to failure one of the required jobs. |
Pull Request is not mergeable
|
Created backport PR for
Please cherry-pick the changes locally and resolve any conflicts. git fetch origin backport-10248-to-unstable2507
git worktree add --checkout .worktree/backport-10248-to-unstable2507 backport-10248-to-unstable2507
cd .worktree/backport-10248-to-unstable2507
git reset --hard HEAD^
git cherry-pick -x 0ae4eef5be75040edd2063d088a916ab78e0c928
git push --force-with-lease |
.. And - [x] Break down `Admin` and `Manager` origins for easier configuration - [x] update the corresponding weights - [x] a few more tests - [x] complete the `manage` test cases. --------- Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankan <[email protected]> (cherry picked from commit 0ae4eef)
|
Successfully created backport PR for |
Backport #10248 into `stable2509` from kianenigma. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> --------- Co-authored-by: Kian Paimani <[email protected]> Co-authored-by: cmd[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Ankan <[email protected]> Co-authored-by: EgorPopelyaev <[email protected]>
.. And
AdminandManagerorigins for easier configurationmanagetest cases.