Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Index deleted DAO proposals #182

Open
Tguntenaar opened this issue Dec 20, 2024 · 0 comments
Open

Index deleted DAO proposals #182

Tguntenaar opened this issue Dec 20, 2024 · 0 comments

Comments

@Tguntenaar
Copy link
Collaborator

Background

Currently we index the DAO proposals the same way as the 'other' proposals and rfps. We get the contract state on the blockheight of the receipt from the RPC for every transaction. A problem presented itself when indexing the sputnik contract in this way. When an DAO member votes to remove the proposal it gets deleted from contract and the RPC returns an contract panic ERROR_NO_PROPOSAL.

User Story

As a user I would like to view which proposals have been voted to be removed.

Acceptance Criteria

The number of indexed proposals should be the same as the number that gets returned by the get_last_proposal_id. Ensuring that even the deleted proposals are indexed.

Resources & Additional Notes

No response

Priority

🟢 P3 : Normal

@Tguntenaar Tguntenaar moved this from 🆕 Triage to 📋 Backlog in 🚀 DevHub Products Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant