Skip to content

[#20] Make it possible to manually add storage annotations

Ivan Gromakovskii requested to merge gromak/#20-storage-anns into master

Description

Problem: currently ContractRegistry can only print contracts without storage annotations. Ideally we want to generate annotations in Lorentz, but the proper solution for it will take some time to be merged and we need this feature already.

Solution: extend ContractInfo with storage annotations, consider them in runContractRegistry.

Related issue(s)

Relates to #20 (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 Ivan Gromakovskii

Merge request reports