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
multiple blocks per layer #4825
Comments
it seems like a bug around mempool. i checked blocks in layer 36277. they have same rewards, but one block includes more transactions
|
In my database today I see three layers that still contain multiple blocks:
|
blocks are still in the database because we don't prune them. what i meant in my comment above is that if node somehow generated invalid block it will revert to the correct one. obviously needs to be fixed. |
closes: #4825 it was overlooked in initial development. the order is not guaranteed by sqlite despite primary key ordered by in the order that is expected by vm . so sqlite free to choose any order it "likes" for optimal reasons. generally the optimal should be iterating over (account, layer_update) tree, but on different environment it may not be true
they got invalidated by verifying tortoise in this case, but this clearly not expected behavior
The text was updated successfully, but these errors were encountered: