mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-09 14:07:58 +00:00
Make New Storage Layer Truly Default (#11918)
* with storage layer truly default * fmt Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -163,19 +163,6 @@ pub fn expand_outer_dispatch(
|
||||
}
|
||||
}
|
||||
}
|
||||
impl #scrate::traits::DispatchableWithStorageLayer for Call {
|
||||
type Origin = Origin;
|
||||
fn dispatch_with_storage_layer(self, origin: Origin) -> #scrate::dispatch::DispatchResultWithPostInfo {
|
||||
#scrate::storage::with_storage_layer(|| {
|
||||
#scrate::dispatch::Dispatchable::dispatch(self, origin)
|
||||
})
|
||||
}
|
||||
fn dispatch_bypass_filter_with_storage_layer(self, origin: Origin) -> #scrate::dispatch::DispatchResultWithPostInfo {
|
||||
#scrate::storage::with_storage_layer(|| {
|
||||
#scrate::traits::UnfilteredDispatchable::dispatch_bypass_filter(self, origin)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
#(
|
||||
impl #scrate::traits::IsSubType<#scrate::dispatch::CallableCallFor<#pallet_names, #runtime>> for Call {
|
||||
|
||||
Reference in New Issue
Block a user