Skip to content

Commit 495d9a3

Browse files
committed
Fix relative links
1 parent dc19e5d commit 495d9a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

program-analysis/echidna/advanced/using-all-contracts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This is where `allContracts` testing is useful: It allows Echidna to call functi
3333

3434
## Run Echidna
3535

36-
We will use a simple example to show how `allContracts` works. We will be using two contracts, `Flag` and `EchidnaTest`, both available in [allContracts.sol](https://github.com/crytic/building-secure-contracts/blob/master/program-analysis/echidna/example/allContracts.sol).
36+
We will use a simple example to show how `allContracts` works. We will be using two contracts, `Flag` and `EchidnaTest`, both available in [allContracts.sol](../example/allContracts.sol).
3737

3838
The `Flag` contract contains a boolean flag that is only set if `flip()` is called, and a getter function that returns the value of the flag. For now, ignore `test_fail()`, we will talk about this function later.
3939

@@ -71,7 +71,7 @@ contract EchidnaTest {
7171
}
7272
```
7373

74-
In a non `allContracts` fuzzing campaign, Echidna is not able to break the invariant, because it only interacts with `EchidnaTest` functions. However, if we use the following configuration file, enabling `allContracts` testing, the invariant is broken. You can access [allContracts.yaml here](https://github.com/crytic/building-secure-contracts/blob/master/program-analysis/echidna/example/allContracts.yaml).
74+
In a non `allContracts` fuzzing campaign, Echidna is not able to break the invariant, because it only interacts with `EchidnaTest` functions. However, if we use the following configuration file, enabling `allContracts` testing, the invariant is broken. You can access [allContracts.yaml here](../example/allContracts.yaml).
7575

7676
```yaml
7777
testMode: assertion

0 commit comments

Comments
 (0)