Skip to content

[TM-338] Add `fillUStore`

Konstantin Ivanov requested to merge martoon/tm338-ustore-filling-script into master

Description

Problem: our template for upgradeable contracts assumes the model when storage is initialized empty, and then migrated to V1.

Thus, rather than mkUStore, we often need a similar function which would create a migration script.

Solution: write this function.

Related issue(s)

https://issues.serokell.io/issue/TM-338

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:

Stylistic guide (mandatory)

Merge request reports