-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
Recent change in behavior for in-memory database: possible regression? #20106
Comments
Interesting!
This behaviour changed in 223b950 . It's not about Memorydb, but about how the state accumulates writes. In the example, the trie lookup for |
So, what seems to happen is that the If I add a commit to
I am not sure why the changes @karalabe did caused this behaviour to change. |
@holiman Thank you very much for looking into this so quickly! Yeah, when looking at the commit history those changes seemed like the most likely candidates for causing this change. It's weird that the test passes after adding the second commit. I thought that maybe I'm using the API in the wrong way, but it seems like you agree that the old behavior makes more sense. It would be great to know if there's a chance to reinstate the old behavior. I'm trying to update our Harvey fuzzer to work with the latest Istanbul changes and I'm wondering if I should look into other workarounds. |
We'll get the issue fixed soon. |
@karalabe Great! Thanks a lot for letting me know! |
I observed a recent change in behavior for the in-memory database. For commit
63b1802
the following piece of code produces a different outcome than in older versions (e.g.,396f1dd8
):This looks like a possible regression.
System information
OS & Version: Windows
Commit hash : 63b1802
Expected behaviour
The code should probably print the following:
Actual behaviour
The code prints the following:
Steps to reproduce the behaviour
Run the piece of code above.
The text was updated successfully, but these errors were encountered: