[go: up one dir, main page]

Draft: Do not merge: Demo

You need:

emturner@test-demo branch of trili/kernel
you can show the test_kernel/src/lib.rs, which has all the non-computation bits stripped out, so is very short
run ./scripts/demo-compile.sh - this should produce demo.wasm demo.hex demo.wat files in the repo root
cat demo.hex and copy output to clipboard
  1. switch to tezos - the branch of this MR
  2. run dune utop src/lib_scoru_wasm and then the following commands:
  3. open Tezos_scoru_wasm.Gather_floppies ;;
  4. let bs = Complete_kernel (`Hex "" |> Hex.to_bytes) ;;
  5. Data_encoding.Binary.to_string_exn origination_message_encoding bs |> Hex.of_string
  6. copy output to clipboard
  7. switch to tezt/tests/sc_rollup.ml
  8. replace the string in computatation_kernel () with the clipboard contents
  9. from terminal run tail -f scoru-node-debug-log.txt
  10. from different terminal run ./scoru-test compute
  11. You should now see the rollup originated with the demo kernel, and progress made in the logs

Context

Manually testing the MR

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

Merge request reports

Loading