-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Can state roots really be updated? #2374
Comments
There is also a problem on questions №3 and №4 intersection. |
In current StateService design, old state root will be ignored and won't be updated. |
If that's the case, then I don't see any value in versioning. We just have some "stateroot" messages floating around for current blocks and version number means nothing to the message receiver. Which also destroys one of state root use cases, that is checking that the node has correct state at particular block, the node can only check the latest state, but it won't be able to detect which block went wrong if it synchronizes from the genesis. But if SV-signed state roots aren't supposed to be updated, then this issue is irrelevant. |
State roots signed by state validators are supposed to be updatable, they have versioning built-in for that, so the presumption is that we can change the version of state root and sign a new one if need be. But this raises some questions answers to which are not obvious from the current implementation:
VerificationContext
s and without flooding the network withVote
messages (and we need to considerRelayCache
size limitations too), is it really feasible?Related: #2373, #1526.
The text was updated successfully, but these errors were encountered: