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

Validate post-block state root #4

Open
perama-v opened this issue Jun 5, 2023 · 1 comment
Open

Validate post-block state root #4

perama-v opened this issue Jun 5, 2023 · 1 comment

Comments

@perama-v
Copy link
Owner

perama-v commented Jun 5, 2023

At present the state data (proof) is for the block prior to the current block. The block transactions are applied to this state. That
results in the state root in the current block.

The proof from the prior block can be updated by tracking the state changes after each transaction. After the last
transaction the state root can be checked to match that which is in the header.

@perama-v perama-v mentioned this issue Jun 5, 2023
@perama-v
Copy link
Owner Author

Related: #6

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

1 participant