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 PD Controller #2575

Merged
merged 11 commits into from
Apr 12, 2024
Merged

Refactor PD Controller #2575

merged 11 commits into from
Apr 12, 2024

Conversation

brentstone
Copy link
Collaborator

@brentstone brentstone commented Feb 9, 2024

Describe your changes

Closes #2553.

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

Based on #2559, which is based on v0.32.1

diff: https://github.com/anoma/namada/pull/2575/files/46c88c041fcd76aabad6c21d0ae6b9abe4854917..bb7176783090c18a77d167ce07a826960517ead0

Checklist before merging to draft

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

@brentstone brentstone force-pushed the brent/refactor-pd-controller branch from cb44f61 to 4fa7479 Compare February 11, 2024 21:30
@brentstone brentstone force-pushed the brent/refactor-pd-controller branch 3 times, most recently from 98e3638 to 55c132a Compare February 23, 2024 20:40
@brentstone brentstone marked this pull request as ready for review February 23, 2024 20:41
brentstone added a commit that referenced this pull request Feb 24, 2024
@brentstone brentstone force-pushed the brent/refactor-pd-controller branch from 55c132a to 6c04bd5 Compare February 24, 2024 02:01
Copy link

codecov bot commented Feb 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 53.51%. Comparing base (61a0759) to head (ad5e8ca).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2575      +/-   ##
==========================================
+ Coverage   53.44%   53.51%   +0.07%     
==========================================
  Files         310      310              
  Lines      101574   101648      +74     
==========================================
+ Hits        54288    54401     +113     
+ Misses      47286    47247      -39     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@tzemanovic tzemanovic marked this pull request as draft February 26, 2024 17:01
brentstone added a commit that referenced this pull request Feb 28, 2024
@brentstone brentstone force-pushed the brent/refactor-pd-controller branch 2 times, most recently from 6bfbb4d to 72e3002 Compare February 28, 2024 16:07
@brentstone brentstone marked this pull request as ready for review February 28, 2024 16:58
brentstone added a commit that referenced this pull request Mar 3, 2024
@brentstone brentstone force-pushed the brent/refactor-pd-controller branch from 72e3002 to 0c814ca Compare March 3, 2024 10:05
@brentstone brentstone mentioned this pull request Mar 8, 2024
10 tasks
tzemanovic pushed a commit that referenced this pull request Apr 2, 2024
@tzemanovic tzemanovic force-pushed the brent/refactor-pd-controller branch from 353adca to bb71767 Compare April 2, 2024 11:09
tzemanovic
tzemanovic previously approved these changes Apr 2, 2024
@brentstone brentstone force-pushed the brent/refactor-pd-controller branch from bb71767 to ad5e8ca Compare April 3, 2024 05:41
brentstone added a commit that referenced this pull request Apr 3, 2024
* brent/refactor-pd-controller:
  update tingz
  fix refactors
  wip: refactor
  changelog: add #2575
  remove old inflation code
  refactor tests
  replace shielded inflation
  replace pos inflation
  beginning boilerplate with computation
tzemanovic added a commit that referenced this pull request Apr 10, 2024
* origin/brent/refactor-pd-controller:
  update tingz
  fix refactors
  wip: refactor
  changelog: add #2575
  remove old inflation code
  refactor tests
  replace shielded inflation
  replace pos inflation
  beginning boilerplate with computation

# Conflicts:
#	crates/proof_of_stake/src/rewards.rs
@tzemanovic tzemanovic merged commit 90c30a7 into main Apr 12, 2024
18 of 19 checks passed
@tzemanovic tzemanovic deleted the brent/refactor-pd-controller branch April 12, 2024 10:22
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.

Cleanup / DRY PD controller
2 participants