You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fv/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,29 +13,29 @@ Follow the [Certora installation guide](https://docs.certora.com/en/latest/docs/
13
13
14
14
## Running the verification
15
15
16
-
The Formal Verification Tool proves specs for contracts, which are defined by the`./specs.json` file along with their pre-configured options.
16
+
The Formal Verification Tool proves specs for contracts, which are defined by per-spec`.conf` files located under `fv/specs/` along with their pre-configured options.
17
17
18
18
The verification script `./run.js` is used to submit verification jobs to the Certora Verification service.
19
19
20
20
You can run it from the root of the repository with the following command:
-`CONTRACT_NAME` matches the `contract` key in the `./spec.json` file and may be empty. It will run all matching contracts if not provided.
29
-
-`SPEC_NAME` refers to a `spec` key from the `./specs.json` file. It will run every spec if not provided.
30
-
-`OPTIONS` extend the [Certora Prover CLI options](https://docs.certora.com/en/latest/docs/prover/cli/options.html#certora-prover-cli-options) and will respect the preconfigured options in the `specs.json` file.
28
+
-`SPEC_NAME` is the base name of a configuration file in `fv/specs/` without extension. For example, `AccessControl` maps to `fv/specs/AccessControl.conf`.
29
+
-Alternatively, you may pass an explicit path to a `.conf` file under `fv/specs/`.
30
+
-Supported script options are `--all`, `--parallel/-p`, and `--verbose/-v`.
31
31
32
32
> **Note**
33
33
> A single spec may be configured to run for multiple contracts, whereas a single contract may run multiple specs.
34
34
35
35
Example usage:
36
36
37
37
```bash
38
-
node fv/run.js AccessControl # Run the AccessControl spec against every contract implementing it
38
+
node fv/run.js AccessControl # Run the AccessControl configuration (fv/specs/AccessControl.conf) using its harness and spec
0 commit comments