mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-17 17:11:02 +00:00
Relocate weight to paint + decouple from extensions (#4124)
* Fisr migrated version of weight to paint * Bump * Minor nits * Some review fixes. * Line width * Revert spec bump * Fix build * Update lock file * Update palette/executive/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com> * Update palette/membership/src/lib.rs Co-Authored-By: Bastian Köcher <bkchr@users.noreply.github.com>
This commit is contained in:
@@ -21,9 +21,9 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
|
||||
use rstd::prelude::*;
|
||||
use support::{decl_module, decl_event, Parameter};
|
||||
use support::{decl_module, decl_event, Parameter, weights::SimpleDispatchInfo};
|
||||
use system::ensure_root;
|
||||
use sr_primitives::{traits::Dispatchable, weights::SimpleDispatchInfo, DispatchError};
|
||||
use sr_primitives::{traits::Dispatchable, DispatchError};
|
||||
|
||||
/// Configuration trait.
|
||||
pub trait Trait: system::Trait {
|
||||
|
||||
Reference in New Issue
Block a user