Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Implement Reward Module endpoint #6689

Closed
mehmetegemen opened this issue Aug 25, 2021 · 0 comments · Fixed by #6751
Closed

Implement Reward Module endpoint #6689

mehmetegemen opened this issue Aug 25, 2021 · 0 comments · Fixed by #6751

Comments

@mehmetegemen
Copy link
Contributor

mehmetegemen commented Aug 25, 2021

Description

Implement getDefaultRewardAtHeight function as specified in https://research.lisk.com/t/define-state-transitions-of-reward-module/316#getdefaultrewardatheight-18 in endpoint.ts file and implement endpoint in reward module class.

Acceptance Criteria

  • getDefaultRewardAtHeight function is implemented and unit tested.

Additional Information

  • Reward brackets(milestones) are taken from moduleConfig.brackets
  • rewardOffset and rewardDistance are taken from the config parameter in the init method of the reward class

Related Issue

#6686

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants