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

🧾 Fix past council Total Spent #4831

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from
Draft

Conversation

thesan
Copy link
Member

@thesan thesan commented Apr 11, 2024

Addresses #4823

This gets rid of the funding requests which didn't execute: rejected, slashed, failed execution, etc...

It also counts a funding requests expense in the spending of the council which approved it, regardless of when the proposal execute. If the funding requests constitutionality was to be raised, the last council would be attributed the spending. Similarly proposal which are still gracing are also included to the spending (if the proposal execution fail the spending of the council which approved it would decrease).

Here's the result: https://dao-git-fix-past-council-total-spent-joystream.vercel.app/#/council/past-councils
Screenshot from 2024-04-11 19-18-00

@dmtrjsg do you know who could double check this ?

@thesan thesan requested a review from dmtrjsg April 11, 2024 17:22
Copy link

vercel bot commented Apr 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dao ✅ Ready (Inspect) Visit Preview Apr 11, 2024 6:52pm
pioneer-2 ✅ Ready (Inspect) Visit Preview Apr 11, 2024 6:52pm
pioneer-2-storybook ✅ Ready (Inspect) Visit Preview Apr 11, 2024 6:52pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant