Skip to content

Proto/Michelson: Remove legacy instructions

The deprecated instructions STEPS_TO_QUOTA, CREATE_ACCOUNT, and the deprecated variant of CREATE_CONTRACT have not been used before their deprecation in Babylon, as shown here:

So it is now safe to remove them.

This MR keeps the STEPS_TO_QUOTA and CREATE_ACCOUNT primitives and if the translator sees these instructions with their correct type it still emits the michelson_v1.deprecated_instruction error instead of a typechecking error.

This is related to https://gitlab.com/nomadic-labs/tezos/-/issues/93 but is less ambitious as it does not modify any already originated contract.

Suggested reviewers: @arvidnl @mbouaziz.

Edited by Mehdi Bouaziz

Merge request reports