https://gitlab.com/tezos/tezos
Revision 858fa7c013754178067444b88b46fbfe0dc6c518 authored by Thomas Letan on 01 August 2022, 11:17:06 UTC, committed by Thomas Letan on 03 August 2022, 12:29:38 UTC
Before to this patch, the dependency tree of lib_scoru_wasm is
straightforward.

    lib_webassembly         <- lib_scoru_wasm
    (provide lazy containers)  (provide tree encoding)

The caveat is that the encoding of the types introduced in
lib_webassembly are defined in lib_scoru_wasm… and therefore cannot be
easily tested in the official WASM test-suite (in a decode, eval,
encode loop).

This patch is the first step towards being able to test the tree
encoders developed for the PVM in the WASM test-suite.

We introduce two libraries,

  - 'lazy-containers' introduces laz maps, lazy vectors, and chunked
    byte vectors
  - 'tree-encoding' introduces the tree encoders (including for the
    lazy containers)

The rest of the code base is unchanged, in particular the tree
encoding are still defined in 'lib_scoru_wasm'.
1 parent 6ec6769
History
Tip revision: 858fa7c013754178067444b88b46fbfe0dc6c518 authored by Thomas Letan on 01 August 2022, 11:17:06 UTC
Tree_encoding: Reorganize the dependencie tree of 'lib_scoru_wasm'
Tip revision: 858fa7c
File Mode Size
.github
.gitlab
_coverage_output
devtools
docs
emacs
manifest
opam
script-inputs
scripts
src
tests_python
tezt
vendors
.dockerignore -rw-r--r-- 918 bytes
.gitattributes -rw-r--r-- 369 bytes
.gitignore -rw-r--r-- 1.0 KB
.gitlab-ci.yml -rw-r--r-- 3.2 KB
.npmrc -rw-r--r-- 125 bytes
.ocamlformat -rw-r--r-- 390 bytes
.pylintrc -rw-r--r-- 17.5 KB
CHANGES.rst -rw-r--r-- 1.6 KB
CODEOWNERS -rw-r--r-- 3.7 KB
Dockerfile -rw-r--r-- 4.6 KB
LICENSE -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 13.9 KB
README.md -rw-r--r-- 3.1 KB
build.Dockerfile -rw-r--r-- 1.1 KB
contributing.md -rw-r--r-- 2.2 KB
dune -rw-r--r-- 548 bytes
dune-project -rw-r--r-- 9.6 KB
dune-workspace -rw-r--r-- 510 bytes
package-lock.json -rw-r--r-- 871 bytes
package.json -rw-r--r-- 335 bytes
poetry.lock -rw-r--r-- 71.8 KB
pyproject.toml -rw-r--r-- 1.3 KB
rust-toolchain -rw-r--r-- 6 bytes

README.md

back to top