mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 01:41:09 +00:00
Custom Benchmark Errors and Override (#9517)
* initial idea * update benchmark test to frame v2 * fix some errors * fixes for elec phrag * fix tests * update extrinsic time and docs * fix import * undo extra changes * helper function * wrong way * Update frame/benchmarking/src/utils.rs Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com> * doesnt need encode/decode * fix benchmark return Co-authored-by: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -474,7 +474,7 @@ pub mod pallet {
|
||||
#[pallet::weight(if *has_replacement {
|
||||
T::WeightInfo::remove_member_with_replacement()
|
||||
} else {
|
||||
T::BlockWeights::get().max_block
|
||||
T::WeightInfo::remove_member_without_replacement()
|
||||
})]
|
||||
pub fn remove_member(
|
||||
origin: OriginFor<T>,
|
||||
|
||||
Reference in New Issue
Block a user