Remove deprecated old weight items (#14706)

* remove old weights frame-support

* ".git/.scripts/commands/fmt/fmt.sh"

---------

Co-authored-by: command-bot <>
This commit is contained in:
Doordashcon
2023-08-09 10:41:11 +01:00
committed by GitHub
parent 25d306d66e
commit 9dd18bbd92
3 changed files with 1 additions and 75 deletions
@@ -123,9 +123,7 @@ pub fn expand_outer_dispatch(
}
}
}
// Deprecated, but will warn when used
#[allow(deprecated)]
impl #scrate::weights::GetDispatchInfo for RuntimeCall {}
impl #scrate::dispatch::GetCallMetadata for RuntimeCall {
fn get_call_metadata(&self) -> #scrate::dispatch::CallMetadata {
use #scrate::dispatch::GetCallName;
@@ -351,10 +351,6 @@ pub fn expand_call(def: &mut Def) -> proc_macro2::TokenStream {
}
}
// Deprecated, but will warn when used
#[allow(deprecated)]
impl<#type_impl_gen> #frame_support::weights::GetDispatchInfo for #call_ident<#type_use_gen> #where_clause {}
impl<#type_impl_gen> #frame_support::dispatch::GetCallName for #call_ident<#type_use_gen>
#where_clause
{