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:
Muharem Ismailov
2022-09-05 17:33:26 +02:00
committed by GitHub
parent d759e31d12
commit caaa2dc6f3
2 changed files with 248 additions and 256 deletions
+248 -248
View File
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>> {
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
}
}