-
Notifications
You must be signed in to change notification settings - Fork 137
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
Loading values from a migrated emulator state fails #3143
Comments
Is there any kind of error that is reported? |
The two errors that I ran into so far was:
|
It seems the registers are somehow messed up |
It's weird that this happens, given that the we have a test case in flow-go that works |
Maybe this is caused by the gap that #3141 fills? |
Values in the storage seems to be correct: onflow/flow-emulator#584 (PR is failing CI due to unrelated changes, but the updated test |
Maybe the way the register keys are created/encoded got changed in the emulator latest version, or something like that? 🤔 |
So it turns out to be the snapshot was taken before shutting down the emulator, which may have left the store with some unwritten data. |
What are the steps for creating a valid snapshot? We'll have to document this and provide it to developers |
Issue to be solved
Loading already stored values from a migrated emulator state fails for certain values. e.g: Dictionary values.
This could be either:
Needs to investigate further.
Suggested Solution
No response
The text was updated successfully, but these errors were encountered: