Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Produce Epoch Block #190

Open
DanMacDonald opened this issue Feb 5, 2025 · 0 comments
Open

Produce Epoch Block #190

DanMacDonald opened this issue Feb 5, 2025 · 0 comments
Assignees

Comments

@DanMacDonald
Copy link
Collaborator

DanMacDonald commented Feb 5, 2025

Depends on #183 (at least)

There are several account balance tasks that need to happen when an epoch ends. For this to happen reliably the node that produces the epoch block must also update the account balances in the IrysVM state so that the epoch block includes these balance updates.

Other nodes which receive the epoch block must process it and apply he same account balance changes, the state_root that gets included in the Irys epoch block should also include these account balance changes.

If #183 is implemented, it is sufficient to start making tests around these epoch rewards/refund/account balance adjustments.

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

No branches or pull requests

2 participants