-
Notifications
You must be signed in to change notification settings - Fork 146
Open
Labels
Description
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
- Functionality already exists, just need to re-use it
- However, currently doesn't work for testnet, due to some changes in the ledger. There is a PR open by Deniz to fix things: Rollback and Snapshot support for remote storage flow-emulator#433.
- Would have to wait for that
Suggested Solution
No response