mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 11:38:01 +00:00
pallet-conviction-voting: make the pallet instantiable (#11088)
* pallet-conviction-voting: make the pallet instanceable Signed-off-by: koushiro <koushiro.cqx@gmail.com> * Add default type param for some type alias Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
@@ -17,14 +17,14 @@
|
||||
|
||||
//! The conviction datatype.
|
||||
|
||||
use crate::types::Delegations;
|
||||
use codec::{Decode, Encode, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_runtime::{
|
||||
traits::{Bounded, CheckedDiv, CheckedMul, Zero},
|
||||
RuntimeDebug,
|
||||
};
|
||||
use sp_std::{convert::TryFrom, result::Result};
|
||||
|
||||
use crate::types::Delegations;
|
||||
|
||||
/// A value denoting the strength of conviction of a vote.
|
||||
#[derive(
|
||||
|
||||
Reference in New Issue
Block a user