Skip to content

Derive `Show' instance for parameter of upgradeable contract and Void_

Ivan Gromakovskii requested to merge gromak/show-upg-param into master

Description

Problem: the standard Parameter of the standard upgradeable contract does not have Show instance which is sometimes useful (e. g. for debugging purposes). Also Void_ does not have it, but it seems useful as well.

Solution: derive instances in a stock way.

Related issue(s)

None

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it ← not really, but we trust stock deriving
    • 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 the changelog if my changes are externally visible

Stylistic guide (mandatory)

Merge request reports