We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f3703 commit c201867Copy full SHA for c201867
src/lib.rs
@@ -237,8 +237,9 @@ decl_module! {
237
/// # </weight>
238
#[weight = (
239
T::WeightInfo::as_multi_threshold_1(call.using_encoded(|c| c.len() as u32))
240
- .saturating_add(call.get_dispatch_info().weight
241
- ),
+ .saturating_add(call.get_dispatch_info().weight)
+ // AccountData for inner call origin accountdata.
242
+ .saturating_add(T::DbWeight::get().reads_writes(1, 1)),
243
call.get_dispatch_info().class,
244
)]
245
fn as_multi_threshold_1(origin,
0 commit comments