mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 01:01:04 +00:00
Fix weight for inner call with new origin (#7196)
* fix weight for inner call with new origin * fix
This commit is contained in:
committed by
GitHub
parent
a56f90fa9a
commit
6182878933
@@ -237,8 +237,9 @@ decl_module! {
|
||||
/// # </weight>
|
||||
#[weight = (
|
||||
T::WeightInfo::as_multi_threshold_1(call.using_encoded(|c| c.len() as u32))
|
||||
.saturating_add(call.get_dispatch_info().weight
|
||||
),
|
||||
.saturating_add(call.get_dispatch_info().weight)
|
||||
// AccountData for inner call origin accountdata.
|
||||
.saturating_add(T::DbWeight::get().reads_writes(1, 1)),
|
||||
call.get_dispatch_info().class,
|
||||
)]
|
||||
fn as_multi_threshold_1(origin,
|
||||
|
||||
Reference in New Issue
Block a user