Skip to content

Add CI automation to verify storage iteration #2688

@SupunS

Description

@SupunS

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions