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

feat(nns): Added Neuron::voting_power_refreshed_timestamp_seconds field. #2268

Merged
merged 12 commits into from
Oct 30, 2024

Conversation

daniel-wong-dfinity-org
Copy link
Contributor

@daniel-wong-dfinity-org daniel-wong-dfinity-org commented Oct 25, 2024

When creating a new neuron, this field gets set to the same value as created_timestamp_seconds.

For existing neurons, they will be treated as though the value in this field is 1 second after midnight 2024-11-05 UTC (until they refresh).

Background

This is part of the "periodic confirmation" feature that was recently approved in proposal 132411.

Future Work

The value in this field will get updated to the current time whenever the user performs "relevant" operations.

References

Closes https://dfinity.atlassian.net/browse/NNS1-3404.

Next PR 👉

@daniel-wong-dfinity-org daniel-wong-dfinity-org changed the title Added following_refreshed_timestamp_seconds field. feat(nns): Added following_refreshed_timestamp_seconds field. Oct 25, 2024
@github-actions github-actions bot added the feat label Oct 25, 2024
@daniel-wong-dfinity-org daniel-wong-dfinity-org changed the title feat(nns): Added following_refreshed_timestamp_seconds field. feat(nns): Added Neuron::following_refreshed_timestamp_seconds field. Oct 25, 2024
@daniel-wong-dfinity-org daniel-wong-dfinity-org marked this pull request as ready for review October 28, 2024 18:37
@daniel-wong-dfinity-org daniel-wong-dfinity-org requested a review from a team as a code owner October 28, 2024 18:37
@daniel-wong-dfinity-org daniel-wong-dfinity-org changed the title feat(nns): Added Neuron::following_refreshed_timestamp_seconds field. feat(nns): Added Neuron::voting_power_refreshed_timestamp_seconds field. Oct 30, 2024
@daniel-wong-dfinity-org daniel-wong-dfinity-org added this pull request to the merge queue Oct 30, 2024
Merged via the queue into master with commit de1e62b Oct 30, 2024
26 checks passed
@daniel-wong-dfinity-org daniel-wong-dfinity-org deleted the following_refreshed-daniel-wong branch October 30, 2024 18:40
github-merge-queue bot pushed a commit that referenced this pull request Oct 31, 2024
This occurs when a neuron is modified in the following ways:

1. vote (directly, not indirectly)
2. change follow

# Background

This is part of the "periodic confirmation" feature that was recently
approved in proposal [132411][prop].

[prop]: https://dashboard.internetcomputer.org/proposal/132411

# Future Work

This will be used to reduce the voting power in ballots when a neuron
has not refreshed for a long time.

# References

Closes https://dfinity.atlassian.net/browse/NNS1-3405.

[👈 Previous PR][prev] | [Next PR 👉][next]

[prev]: #2268
[next]: #2338
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants