Skip to content

Commit

Permalink
refactor: use LegacyDec for reward tracking and selector commission r…
Browse files Browse the repository at this point in the history
…ates (#441)

* reporter module

* use legacy dec for tips and commision rates

* re-add max commision rate check

* chore: mv legacy_dec.go to types/legacy_dec.go

* minor refactor for clarity

* checkpoint to pull main

* use LgeacyDec for withdraws

* remove old BigUint to LegacyDec fcns

* linting

* add test

* linting

---------

Co-authored-by: akrem <[email protected]>
Co-authored-by: tkernell <[email protected]>
  • Loading branch information
3 people authored Nov 22, 2024
1 parent e6cff29 commit 49238bb
Show file tree
Hide file tree
Showing 36 changed files with 730 additions and 1,345 deletions.
529 changes: 28 additions & 501 deletions api/layer/reporter/oracle_reporter.pulsar.go

Large diffs are not rendered by default.

83 changes: 42 additions & 41 deletions api/layer/reporter/params.pulsar.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 49238bb

Please sign in to comment.