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

Add reward property in the chain state #5091

Closed
shuse2 opened this issue Apr 2, 2020 · 0 comments · Fixed by #5092
Closed

Add reward property in the chain state #5091

shuse2 opened this issue Apr 2, 2020 · 0 comments · Fixed by #5092

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Apr 2, 2020

Description

Add a reward of last block without deduction by BFT or DPoS violation in the chain state.

{
  chain: {
    lastBlockHeader: BlockHeader,
    lastReward: bigint,
  },
}

Motivation

In order to reward the sender of PoM transaction, the reward information is required.

Acceptance Criteria

  • Reward is added in the property of chain state
  • Updated transaction package type of state store
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.

1 participant