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

PoS: purge validator sets for old epochs #1665

Merged
merged 6 commits into from
Jul 22, 2023

Conversation

karbyshev
Copy link
Contributor

@karbyshev karbyshev commented Jul 5, 2023

Closes #1129

@karbyshev karbyshev self-assigned this Jul 5, 2023
@karbyshev karbyshev changed the title Purge validator sets for old epochs WIP: Purge validator sets for old epochs Jul 5, 2023
@karbyshev karbyshev force-pushed the aleks/clear-out-validator-sets-for-old-epochs branch 4 times, most recently from 89ba523 to aa8da81 Compare July 6, 2023 20:48
@karbyshev karbyshev changed the title WIP: Purge validator sets for old epochs WIP: purge validator sets for old epochs Jul 6, 2023
@karbyshev karbyshev force-pushed the aleks/clear-out-validator-sets-for-old-epochs branch from aa8da81 to c67a7d3 Compare July 7, 2023 11:31
@karbyshev karbyshev changed the title WIP: purge validator sets for old epochs Purge validator sets for old epochs Jul 9, 2023
@karbyshev karbyshev changed the title Purge validator sets for old epochs PoS: purge validator sets for old epochs Jul 10, 2023
tzemanovic
tzemanovic previously approved these changes Jul 10, 2023
@karbyshev karbyshev force-pushed the aleks/clear-out-validator-sets-for-old-epochs branch from a06ba10 to 4fc8cf9 Compare July 10, 2023 14:14
@karbyshev karbyshev requested a review from tzemanovic July 10, 2023 14:17
tzemanovic
tzemanovic previously approved these changes Jul 10, 2023
brentstone
brentstone previously approved these changes Jul 10, 2023
Copy link
Collaborator

@brentstone brentstone left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks :)

@karbyshev karbyshev dismissed stale reviews from brentstone and tzemanovic via 4abcc9b July 10, 2023 18:23
@karbyshev karbyshev force-pushed the aleks/clear-out-validator-sets-for-old-epochs branch from 6085083 to 4abcc9b Compare July 10, 2023 18:23
@karbyshev
Copy link
Contributor Author

pls update wasm

@tzemanovic tzemanovic mentioned this pull request Jul 11, 2023
tzemanovic added a commit that referenced this pull request Jul 11, 2023
…1665)

* origin/aleks/clear-out-validator-sets-for-old-epochs:
  refactor: fix formatting
  add changelog
  refactor: simplify code
  refactor: introduce name for magic constant
  add test case
  feat: store total consensus stake; garbage collect validator sets
@tzemanovic tzemanovic mentioned this pull request Jul 11, 2023
@Fraccaman Fraccaman merged commit d8036f1 into main Jul 22, 2023
@Fraccaman Fraccaman deleted the aleks/clear-out-validator-sets-for-old-epochs branch July 22, 2023 11:41
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.

PoS: clear out validator sets for old epochs
4 participants