Skip to content

Commit

Permalink
Companion for substrate#12179 (#1593)
Browse files Browse the repository at this point in the history
* remove funcs not included in ProposalProvider trait anymore

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: parity-processbot <>
  • Loading branch information
muharem authored Sep 5, 2022
1 parent c7b7012 commit 870b2bf
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions runtimes/collectives/collectives-polkadot/src/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

0 comments on commit 870b2bf

Please sign in to comment.