Skip to content

WASM/Debugger: support U16

Valentin Chaboche requested to merge vch9@wasm-debugger-u16 into master

Context

Adds a new binary integer representation: unsigned 16 bits integer. One could ask me to add the same for I16, U8, I8.

Manually testing the MR

Create a kernel that writes a u16 in the durable storage and do:

rlwrap ./octez-smart-rollup-wasm-debugger <kernel> --inputs <inputs>
> load inputs
...
> step inbox
...
> show key X as u16
42

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 Valentin Chaboche

Merge request reports