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

Properly handle the block's beneficiary account #3

Closed
hai-rise opened this issue Apr 19, 2024 · 1 comment
Closed

Properly handle the block's beneficiary account #3

hai-rise opened this issue Apr 19, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hai-rise
Copy link
Contributor

The block's beneficiary account makes all transactions interdependent when paying gas. We should distinguish beneficiary reads from execution reads (like address and balance opcodes) so we can defer or atomically update the beneficiary balance. We may pass in a custom PostExecutionHandler::reward_beneficiary to solve this.

@hai-rise hai-rise added enhancement New feature or request V1 labels Apr 19, 2024
@hai-rise
Copy link
Contributor Author

Done for now in #18. May need to visit as we face bugs after adding more realistic tests & optimizing more stuff.

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

No branches or pull requests

1 participant