From 5599c76d465d46dbb61a08a9f807504ca6c12b64 Mon Sep 17 00:00:00 2001 From: kdeme Date: Thu, 5 Dec 2019 10:07:07 +0100 Subject: [PATCH] Update README.md with const_preset option [skip ci] --- nfuzz/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nfuzz/README.md b/nfuzz/README.md index 8ca9e3a40..2fb39793d 100644 --- a/nfuzz/README.md +++ b/nfuzz/README.md @@ -19,6 +19,12 @@ make libnfuzz.a make libnfuzz.so ``` +Default, the library is build with the `minimal` config. To select a specific config you can instead run: +```bash +# build with mainnet config +make libnfuzz.a NIMFLAGS="-d:const_preset=mainnet" +``` + For the library to be useful for fuzzing with libFuzzer (e.g. for integration with [beacon-fuzz](https://github.com/sigp/beacon-fuzz)) we can pass additional Nim arguments, e.g.: