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

neo-express can return stale data from getaccountstate #21

Closed
devhawk opened this issue Nov 22, 2019 · 1 comment
Closed

neo-express can return stale data from getaccountstate #21

devhawk opened this issue Nov 22, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@devhawk
Copy link
Contributor

devhawk commented Nov 22, 2019

Neo's LevelDBStore returns a new DbCache instance on every call to GetAccounts. NeoExpress RocksDbStore and CheckpointStore always returns the same DbCache instance. This leads to stale data in the DbCache instance which leads to stale data returned from getaccountstate.

@devhawk devhawk added the bug Something isn't working label Nov 22, 2019
@devhawk devhawk self-assigned this Nov 22, 2019
devhawk pushed a commit that referenced this issue Nov 23, 2019
@devhawk
Copy link
Contributor Author

devhawk commented Nov 23, 2019

fix for this in devhawk/bug21 branch. More testing needed before merging into release/v0.9 branch and releasing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant