[go: up one dir, main page]

MIR: Use the contract in the rollup

Context

Depends on !10087 (closed).

Parse and run the fibonacci Michelson code in the rollup logic.

Note that this does not really run the Michelson contract, only a sequence of instructions (so e.g. we form the input stack manually rather than automatically passing Pair parameter storage value). This is so because we do not yet support pairs, but I hope it is ok for this stage.

Manually testing the MR

Follow the manual testing instructions in the root README.md.

Inserting X in the debugger-inputs.json file, running make debug-kernel-simple and eventually passing show key /storage command, you should get fib(X) in output (in hex form).

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by Konstantin Ivanov

Merge request reports

Loading