Skip to content

Commit e0cc06c

Browse files
Update on-using-cheat-codes.md
1 parent 40216de commit e0cc06c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

program-analysis/echidna/advanced/on-using-cheat-codes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- [How and when to use cheat codes](#how-and-when-to-use-cheat-codes)
66
- [Introduction](#introduction)
77
- [Cheat codes available in Echidna](#cheat-codes-available-in-echidna)
8-
- [Advice on the use of cheat codes](#advice-on-the-use-of-cheat-codes)
8+
- [Risks of cheat codes](#risks-of-cheat-codes)
99

1010
## Introduction
1111

@@ -14,7 +14,7 @@ Cheat codes are special functions that allow to change the state of the EVM in w
1414

1515
## Cheat codes available in Echidna
1616

17-
Echidna supports all cheat codes that are available in [hevm](https://github.com/ethereum/hevm). These are documented here: https://hevm.dev/controlling-the-unit-testing-environment.html#cheat-codes.
17+
Echidna supports all cheat codes that are available in [hevm](https://github.com/ethereum/hevm). These are documented here: [https://hevm.dev/controlling-the-unit-testing-environment.html#cheat-codes](https://hevm.dev/ds-test-tutorial.html#supported-cheat-codes).
1818
If a new cheat code is added in the future, Echidna only needs to update the hevm version and everything should work out of the box.
1919

2020
As an example, the `prank` cheat code is able to set the `msg.sender` address in the context of the next external call:

0 commit comments

Comments
 (0)