litentry / squid

Litentry's Squid is a multi chain data indexer for Substrate based networks
Apache License 2.0
4 stars 2 forks source link

Include missing statuses for democracy proposals and referendums #107

Open ishrak-imam opened 2 years ago

ishrak-imam commented 2 years ago

We need to filter the result by the following statuses:

### Democracy referendum - Passed - NotPassed - Canceled - Executed

As mentioned referenda indexing is in progress, above statuses are not in the scope of this ticket.

Democracy proposal

For more info: https://github.com/paritytech/substrate/blob/3080d3264c97cbe19843cfe708a7ac226309b7fa/frame/democracy/src/lib.rs#L496 https://polkadot.js.org/docs/substrate/events/#democracy

markdavison commented 2 years ago

The Referenda indexing is still a work in progress. Passed and NotPassed are already finished... but are in the referenda-indexing feature branch. Can we reduce this ticket to just 'ProposalCanceled' status please as the other status are not missing - they just have not been developed yet :)