mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 05:59:49 +00:00
MEL: Origin, Referenda, ConvictionVoting (#11631)
* Referenda & CV pallets ready * Fix build * Add mel_bound for Voting and Casting types * Add mel_bound on Tally * Add mel_bound on another Tally * Add mel_bound for pallet_collective::RawOrigin Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
1 parent
849a6c35fd
commit
c47431118b
22 files changed
+106
-39
No files matched your search
@@ -23,7 +23,7 @@
|
||||
pub mod genesismap;
|
||||
pub mod system;
|
||||
|
||||
use codec::{Decode, Encode, Error, Input};
|
||||
use codec::{Decode, Encode, Error, Input, MaxEncodedLen};
|
||||
use scale_info::TypeInfo;
|
||||
use sp_std::{marker::PhantomData, prelude::*};
|
||||
|
||||
@@ -439,7 +439,7 @@ impl GetRuntimeBlockType for Runtime {
|
||||
type RuntimeBlock = Block;
|
||||
}
|
||||
|
||||
#[derive(Clone, RuntimeDebug, Encode, Decode, PartialEq, Eq, TypeInfo)]
|
||||
#[derive(Clone, RuntimeDebug, Encode, Decode, PartialEq, Eq, TypeInfo, MaxEncodedLen)]
|
||||
pub struct Origin;
|
||||
|
||||
impl From<frame_system::Origin<Runtime>> for Origin {
|
||||
|
||||
Reference in new issue
Block a user