Skip to content

[TM-279] Deprecate instructions which shouldn't be used in 005

Ivan Gromakovskii requested to merge gromak/tm279-deprecate into master

Description

See https://blog.nomadic-labs.com/michelson-updates-in-005.html.

  • STEPS_TO_QUOTA is deprecated.
  • CREATE_ACCOUNT disappears.
  • CREATE_CONTRACT changes type.

We want to prevent new code from using these instructions.

Solution: add warnings when these instructions are used.

Code in morley is not touched, because usages of these instructions there are fine, we are forced to use it when we process a contract supplied by a user which contains one of these instructions.

Also slightly updated the description of ceNow field.

Apart from that I've updated our branching policy according to what we've decided internally.

Related issue(s)

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

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