mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 16:51:03 +00:00
Companion for substrate#12179 (#1593)
* remove funcs not included in ProposalProvider trait anymore
* update lockfile for {"polkadot", "substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
Generated
+248
-248
File diff suppressed because it is too large
Load Diff
@@ -134,12 +134,4 @@ where
|
|||||||
fn proposal_of(proposal_hash: HashOf<T>) -> Option<ProposalOf<T, I>> {
|
fn proposal_of(proposal_hash: HashOf<T>) -> Option<ProposalOf<T, I>> {
|
||||||
pallet_collective::Pallet::<T, I>::proposal_of(proposal_hash)
|
pallet_collective::Pallet::<T, I>::proposal_of(proposal_hash)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn proposals() -> Vec<HashOf<T>> {
|
|
||||||
pallet_collective::Pallet::<T, I>::proposals().into_inner()
|
|
||||||
}
|
|
||||||
|
|
||||||
fn proposals_count() -> u32 {
|
|
||||||
pallet_collective::Proposals::<T, I>::decode_len().unwrap_or(0) as u32
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user