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
.dockerignore
## /!\ /!\ Update .gitignore accordingly /!\ /!\
.DS_Store
__pycache__
**/*.pyc
**/_build
_build_rust
_opam
_docker_build
_snoop
docs/api/tezos-client.html
docs/api/tezos-admin-client.html
tezos-node
tezos-tx-rollup-*
tezos-validator
tezos-protocol-compiler
tezos-client
tezos-admin-client
tezos-baker-*
tezos-endorser-*
tezos-accuser-*
tezos-proxy-server
tezos-signer
tezos-sc-rollup-node-*
tezos-sc-rollup-client-*
scripts/opam-test-all.sh.DONE
scripts/create_genesis/src
docs/introduction/readme.rst
docs/api/errors.rst
docs/0*/rpc.rst
docs/alpha/rpc.rst
docs/shell/rpc.rst
docs/shell/p2p_api.rst
src/bin_client/test/LOG.*
_coverage_output/*.coverage
_coverage_report
**/*.install
**/.merlin
**/*~
**/\#*\#
**/*.rej
**/*.orig
.idea
.vscode
# .venv directories are created by poetry if the option in-project is set to
# true.
**/.venv
**/.mypy_cache/
## Not in .gitignore
.git
.gitignore
.gitlab-ci.yml
Computing file changes ...