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

Update initialize user accounts for block generators / Fees in sidechains #8141

Closed
Tracked by #7210
shuse2 opened this issue Feb 13, 2023 · 0 comments · Fixed by #8166
Closed
Tracked by #7210

Update initialize user accounts for block generators / Fees in sidechains #8141

shuse2 opened this issue Feb 13, 2023 · 0 comments · Fixed by #8166
Assignees
Milestone

Comments

@shuse2
Copy link
Collaborator

shuse2 commented Feb 13, 2023

Description

Update user account initializaiton and fee handling according to the LIP PR.

  • Add REWARD_REDUCTION_NO_ACCOUNT for dynamic reward and reward module and check if block generator does not exist, it should return zero reward with event
  • Add maxBlockHeightZeroFeePerByte in the config default to 0, and during the fee verification allow to have zero fee below this height
  • Add user account check in fee module afterCommandExecute and if not, burn or transfer whole fee

Acceptance Criteria

All tests are updated according to the change

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