Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Rethink fraction implementations of Staking #2558

@kianenigma

Description

@kianenigma
  • Once Make perthings operate in type operator #2501 is merged Per-things are safer to use and can replace the manual ACCURACY * thing / thing.

  • If possible, extend this approach to PerU128 as well (or eliminate it overall if possible)

  • piggy-back: double check the stake-loss-due-to-rounding-regain loop.

Metadata

Metadata

Assignees

Labels

I7-refactorCode needs refactoring.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions