-
Notifications
You must be signed in to change notification settings - Fork 775
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pallet-treasury: Improve
remove_approval
benchmark (#5713)
When `SpendOrigin` doesn't return any `succesful_origin`, it doesn't mean that `RejectOrigin` will do the same. Thus, this pr fixes a potential wrong benchmarked weight for when `SpendOrigin` is set to e.g. `NeverOrigin`. (cherry picked from commit 9cdbdc5)
- Loading branch information
1 parent
d33346c
commit d4650ba
Showing
2 changed files
with
32 additions
and
7 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
title: "pallet-treasury: Improve `remove_approval` benchmark" | ||
|
||
doc: | ||
- audience: Runtime Dev | ||
description: | | ||
Fix the `remove_approval` benchmark when `SpendOrigin` doesn't return any `succesful_origin`. | ||
|
||
crates: | ||
- name: pallet-treasury | ||
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