hiero-ledger / hiero-ledger/hiero-consensus-node

Refactor all Stake period changes to follow same pattern

Open
#22,751 0 comments 0 reactions 1 assignee Claimed by @Neeharika-Sompalli View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

Refactor all Stake period changes to follow same pattern. Currently `nodeRewards` and `node fee distributions` happen without any user transactions getting triggered. But `NodeStakeUpdates` happen only with user transactions when consensus time is advanced. Consolidate all the stake period updates to one single place.

- [x] #22771
- [ ] #22777
- [ ] Update the `EndofStakingPeriodUpdater` changes to be done in `handleRound`
- [ ] Remove the node tracking per save point stack and use the node fees in state

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.