Proto,Tx_rollup: batch JSON encoding with hexadecimal
Context
No change in binary representation. This is needed because JSON strings can only contain unicode.
Otherwise the JSON encoded output will produce things like
{ "invalid_utf8_string" : [...] }
in place of the expected string.
Manually testing the MR
Run tezt test which checks that contents is a (valid JSON) string:
dune exec tezt/tests/main.exe -- tx_rollup batch encoding
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.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by Alain Mebsout