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
tezos-codec.opam
# This file was automatically generated, do not edit.
# Edit file manifest/main.ml instead.
opam-version: "2.0"
maintainer: "contact@tezos.com"
authors: ["Tezos devteam"]
homepage: "https://www.tezos.com/"
bug-reports: "https://gitlab.com/tezos/tezos/issues"
dev-repo: "git+https://gitlab.com/tezos/tezos.git"
license: "MIT"
depends: [
"dune" { >= "3.0" }
"data-encoding" { >= "0.6" & < "0.7" }
"tezos-base"
"tezos-client-base-unix"
"tezos-client-base"
"tezos-clic"
"tezos-stdlib-unix"
"tezos-event-logging"
"tezos-signer-services"
]
depopts: [
"tezos-client-005-PsBabyM1"
"tezos-client-006-PsCARTHA"
"tezos-client-007-PsDELPH1"
"tezos-client-008-PtEdo2Zk"
"tezos-client-009-PsFLoren"
"tezos-client-010-PtGRANAD"
"tezos-client-011-PtHangz2"
"tezos-client-012-Psithaca"
"tezos-client-013-PtJakart"
"tezos-client-014-PtKathma"
"tezos-client-alpha"
]
build: [
["rm" "-r" "vendors"]
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
synopsis: "Tezos: `tezos-codec` binary to encode and decode values"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...