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

Verify storage iteration in CI #2688

Open
SupunS opened this issue Aug 2, 2023 · 2 comments
Open

Verify storage iteration in CI #2688

SupunS opened this issue Aug 2, 2023 · 2 comments
Labels

Comments

@SupunS
Copy link
Member

SupunS commented Aug 2, 2023

Issue to be solved

So the requirement was that, since we ran into issues multiple times with the storage iteration, It might be good to have a way to verify the iteration work seamlessly, by having a CI-alike thing that would iterate over the entire storage and make sure it works fine (and doesn't crash due to broken values)

There are two approaches:

  • Write something similar to the storage migration, which would load the values and pass it through the storage iteration function (by booting up a cadence interpreter/runtime)
    • Seems a lot of effort to implement this from scratch
  • Use the transaction simulator in the emulator

Suggested Solution

No response

@SupunS SupunS added the Chore label Aug 2, 2023
@j1010001
Copy link
Member

blocked by onflow/flow-emulator#433

@bluesign
Copy link
Contributor

flow-archive needs to be upgraded to newer flow-go ( and versioning part is a bit mess there I think v0.x.x ones are more recent than v1.x.x)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants