Skip to content

Commit 0a764bb

Browse files
authored
Merge pull request #175 from ChmielewskiKamil/patch-1
docs: fix minor typos
2 parents 2a91e6c + 9588605 commit 0a764bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

program-analysis/echidna/common-testing-approaches.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This is caused by the existence of multiple accounts interacting with one or man
55
While a fuzzer can simulate the Ethereum Virtual Machine and can potentially use any account with any feature (e.g. a an unlimited amount of ETH),
66
we take care to avoid breaking some important underlying assumptions of transactions that are impossible in Ethereum (e.g. for instance using msg.sender as the zero address).
77
That is why it is important to have a clear view of the system to test, and how transactions are going to be simulated. There are a few classifications for the testing approach.
8-
We will start by two them, internal or external:
8+
We will start with two of them, internal and external:
99

1010
**Table of contents:**
1111
- [Common testing approaches](#common-testing-approaches)
@@ -47,7 +47,7 @@ Since `ExternalTest` defines no additional methods, running Echidna directly on
4747
In this case, there are several alternatives:
4848

4949
**Contract wrapper**: define specific operations to "wrap" the system to test. For every operation that we want Echidna to execute in the system to test,
50-
we add one or more functions that performs external to it.
50+
we add one or more functions that performs external call to it.
5151

5252
```solidity
5353
contract ExternalTest {

program-analysis/echidna/property-creation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ contract Test {
4141
token.mint(address(this), ...);
4242
}
4343
44-
function getShares_never_reverts(uint256 val) public {
44+
function getShares_never_reverts() public {
4545
(bool b,) = c.call(abi.encodeWithSignature("getShares(address)", address(this)));
4646
assert(b);
4747
}

0 commit comments

Comments
 (0)