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

Allow tributes for proposals in past rounds #147

Merged
merged 9 commits into from
Oct 15, 2024
Merged

Conversation

p-offtermatt
Copy link
Member

@p-offtermatt p-offtermatt commented Oct 15, 2024

When adding a tribute, the round id is now an input parameter, instead of computed from the current time.
This means that tribute can even be added for tributes in past rounds (before, the round id being automatically computed would cause the prop not to be queried from the store)

Copy link
Contributor

@dusan-maksimovic dusan-maksimovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Do you think it would be useful to add info to each Tribute that would say in which round the tribute was added? The motivation would be: if someone wants to mess around with tributes for some proposal, this way we could at least know if some tribute was added before or after the voting was finished. WDYT?

@p-offtermatt
Copy link
Member Author

Hm, it's not a bad idea. It might be even more helpful to keep an exact "creation time" timestamp though; that could help with showing graphs of how the tribute evolved over time, if we ever need that

@p-offtermatt
Copy link
Member Author

and of course of we already do that, we might as well keep the round the tributes were created in, too. I will add both

@p-offtermatt p-offtermatt merged commit 458140f into main Oct 15, 2024
5 checks passed
@p-offtermatt p-offtermatt deleted the ph/rev-sharing branch October 15, 2024 14:59
@p-offtermatt p-offtermatt linked an issue Oct 15, 2024 that may be closed by this pull request
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.

Revenue sharing
2 participants