Skip to content

[#281] [#53] Add `getStorage` to morley-client and `checkStorage` to cleveland

Diogo Castro requested to merge diogo/#281-get-storage into master

Description

This MR adds the ability to check a contract's storage to the nettest eDSL.

Note: Storages with big_map cannot be retrieved, due to a limitation in the RPC's /storage endpoint, which returns the big_map's ID instead of its contents. To prevent misuse, we use the UnpackedValScope t constraint, which implies HasNoBigMap t.

Related issue(s)

Resolves #281 (closed)

Resolves part of #53 (closed)

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:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Diogo Castro

Merge request reports