Skip to content
This repository was archived by the owner on Mar 5, 2024. It is now read-only.

Conversation

@vihu
Copy link
Contributor

@vihu vihu commented Jul 11, 2022

Summary

Add support for rewards_v3 transaction.

Notes

  • rewards_v3 transaction only rewards for consensus, securities and the remaining rewards go to a single treasury
  • Ensures all reward related chain vars are gathered once, this significantly simplifies rewards txn
  • Adds a basic test and checks whether the rewards are in within some (10 ^ -10) threshold of acceptance
  • Metadata for rewards is still exported along with some other potentially useful functions (get_reward_vars/3 for example)

TODO

  • Check whether aux ledger still works

@Vagabond
Copy link
Contributor

Seems reasonable

vihu added 2 commits July 18, 2022 14:47
- Add structure for rewards_v3 transaction
- Switch proto
- Ensure all reward related vars are gathered once
- Cleanup dialyzer
@vihu vihu changed the title [DNM] Add support for rewards-v3 Add support for rewards-v3 Jul 18, 2022
@vihu vihu marked this pull request as ready for review July 18, 2022 20:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants