Skip to content

Commit

Permalink
♻️ Computers were a mistake
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
  • Loading branch information
pcaversaccio committed May 17, 2024
1 parent 8e9df0d commit 895a5a0
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test-contracts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,12 @@ jobs:

- name: Run Echidna ERC-20 property tests
run: |
echidna test/tokens/echidna/ERC20Properties.sol --contract CryticERC20ExternalHarness --config test/tokens/echidna/echidna-config.yaml --crytic-args --ignore-compile
echidna test/tokens/echidna/ERC20Properties.sol --contract CryticERC20ExternalHarness --config test/tokens/echidna/echidna-config.yaml
env:
FOUNDRY_PROFILE: echidna

- name: Run Echidna ERC-721 property tests
run: |
echidna test/tokens/echidna/ERC721Properties.sol --contract CryticERC721ExternalHarness --config test/tokens/echidna/echidna-config.yaml --crytic-args --ignore-compile
echidna test/tokens/echidna/ERC721Properties.sol --contract CryticERC721ExternalHarness --config test/tokens/echidna/echidna-config.yaml
env:
FOUNDRY_PROFILE: echidna
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ Furthermore, the [`echidna`](https://github.com/crytic/echidna)-based [property]

```console
# Run Echidna ERC-20 property tests.
~$ echidna test/tokens/echidna/ERC20Properties.sol --contract CryticERC20ExternalHarness --config test/tokens/echidna/echidna-config.yaml --crytic-args --ignore-compile
~$ FOUNDRY_PROFILE=echidna echidna test/tokens/echidna/ERC20Properties.sol --contract CryticERC20ExternalHarness --config test/tokens/echidna/echidna-config.yaml

# Run Echidna ERC-721 property tests.
~$ echidna test/tokens/echidna/ERC721Properties.sol --contract CryticERC721ExternalHarness --config test/tokens/echidna/echidna-config.yaml --crytic-args --ignore-compile
~$ FOUNDRY_PROFILE=echidna echidna test/tokens/echidna/ERC721Properties.sol --contract CryticERC721ExternalHarness --config test/tokens/echidna/echidna-config.yaml
```

> [!TIP]
Expand Down
1 change: 1 addition & 0 deletions test/tokens/echidna/echidna-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ filterFunctions: # Configure the list of methods to filter.
"VyperDeployer.deployContract(string,string,bytes,string,bool)",
]
filterBlacklist: true # Blacklist methods in `filterFunctions`.
cryticArgs: ["--ignore-compile"] # Disable compilation in `crytic-compile`.

0 comments on commit 895a5a0

Please sign in to comment.