Skip to content

Proto: Make reveal hash size dynamic

Andrea Cerone requested to merge andrea@dac-protocol-reveal-hash-size-33 into master

Context

The reveal preimage should be back to 32 bytes. the reveal_preimage host functions should take the size of the hash in input

Fixes: #4202 (closed)

Manually testing the MR

WASM tests:

dune exec  src/lib_scoru_wasm/test/test_scoru_wasm.exe

E2E kernel tezt (on a stacked MR)

git checkout emturner@tx-tezt
make build-unreleased
dune exec tezt/tests/main.exe -- --file sc_rollup.ml kernel_e2e --reset-regressions --verbose

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 Andrea Cerone

Merge request reports

Loading