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

Refactor PoS crate #2253

Merged
merged 7 commits into from
Dec 29, 2023
Merged

Refactor PoS crate #2253

merged 7 commits into from
Dec 29, 2023

Conversation

brentstone
Copy link
Collaborator

@brentstone brentstone commented Dec 7, 2023

Describe your changes

The goal is primarily to refactor the crate into smaller files.

Old PR: #1928

TODO ideas

  • maybe refactor out pos_queries and just use existing PoS storage API? --> Could be more of a hassle for not much gain though

Indicate on which release or other PRs this topic is based on

v0.28.1

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@brentstone brentstone force-pushed the brent+tomas/pos-crate-refactor branch 2 times, most recently from b888ba1 to 1297b81 Compare December 7, 2023 21:43
@brentstone brentstone mentioned this pull request Dec 8, 2023
@brentstone brentstone force-pushed the brent+tomas/pos-crate-refactor branch from 8607922 to 04f6705 Compare December 8, 2023 21:04
@brentstone brentstone marked this pull request as ready for review December 8, 2023 22:55
@brentstone brentstone requested a review from tzemanovic December 9, 2023 01:33
@tzemanovic tzemanovic mentioned this pull request Dec 12, 2023
2 tasks
@brentstone brentstone force-pushed the brent+tomas/pos-crate-refactor branch from 3bbad24 to ccc7f45 Compare December 15, 2023 19:30
brentstone added a commit that referenced this pull request Dec 19, 2023
* brent+tomas/pos-crate-refactor:
  changelog: add #2253
  proof_of_stake: re-order and make some fns private
  proof_of_stake: move mod files with other sub-modules
  compactify code that modifies validator sets
  resolve clippy
  refactor pos/tests
  refactor pos lib code
brentstone added a commit that referenced this pull request Dec 19, 2023
* brent+tomas/pos-crate-refactor:
  changelog: add #2253
  proof_of_stake: re-order and make some fns private
  proof_of_stake: move mod files with other sub-modules
  compactify code that modifies validator sets
  resolve clippy
  refactor pos/tests
  refactor pos lib code
@tzemanovic tzemanovic added the modularization Part of Namada's modularization effort label Dec 21, 2023
brentstone added a commit that referenced this pull request Dec 29, 2023
* origin/brent+tomas/pos-crate-refactor:
  changelog: add #2253
  proof_of_stake: re-order and make some fns private
  proof_of_stake: move mod files with other sub-modules
  compactify code that modifies validator sets
  resolve clippy
  refactor pos/tests
  refactor pos lib code
@brentstone brentstone merged commit 42ccc50 into main Dec 29, 2023
13 of 14 checks passed
@brentstone brentstone deleted the brent+tomas/pos-crate-refactor branch December 29, 2023 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modularization Part of Namada's modularization effort PoS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants