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
- switch to tezos - the branch of this MR
- run
dune utop src/lib_scoru_wasmand then the following commands: open Tezos_scoru_wasm.Gather_floppies ;;let bs = Complete_kernel (`Hex "" |> Hex.to_bytes) ;;Data_encoding.Binary.to_string_exn origination_message_encoding bs |> Hex.of_string- copy output to clipboard
- switch to
tezt/tests/sc_rollup.ml - replace the string in
computatation_kernel ()with the clipboard contents - from terminal run
tail -f scoru-node-debug-log.txt - from different terminal run
./scoru-test compute - 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.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