Revision 57a976cd8658776595ba5d201f9b7a26cc35fad3 authored by Nicolas BACQUEY on 26 July 2022, 09:07:38 UTC, committed by Nicolas BACQUEY on 26 July 2022, 13:42:23 UTC
When parsing json schemas in `qcheck_rpc.ml` to generate random RPC inputs, we had two references that were ultimately circular: "tree_encoding" and "inode_tree". Parsing those references would cause stack overflows in `parse_input` and crash the test suite. This commit adds two special cases to `parse_input`, similar to those which are already there for references to "bignum" and "micheline.alpha.michelson_v1.expression". However, note that the two new generators are trivial: they always produce a `Null` json value. Those generators will need to be correctly implmented in a future commit.
1 parent 5c6a1cd
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.1 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.3 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.4 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 |
Computing file changes ...