Skip to content

[#346] Added `checkStorage'` to read storages with big_maps

Diogo Castro requested to merge diogo/#346-checkStorage-bigMaps into master

Description

Problem: In Morley.Nettest, the only way to check a contract's storage is to use checkStorage. However, this function can only retrieve storages if they don't contain big_maps (due to a limitation in the Tezos RPC).

Solution: In the future, we'll want to come up with a more permanent solution that works on both the emulator and a real network. But, for now, we added a checkStorage' function that works only on the emulator and is able to retrieve any storage.

Related issue(s)

Resolves part of #346 (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