Skip to content

Commit 743613c

Browse files
authored
Merge pull request #648 from ethereum/fix-eq-description
Update description of calldata in documentation
2 parents 1bd1ba4 + 4d5d239 commit 743613c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3030
- Better exponential simplification
3131
- Dumping of END states (.prop) files is now default for `--debug`
3232
- When cheatcode is missing, we produce a partial execution warning
33+
- Size of calldata can be up to 2**64, not 256. This is now reflected in the documentation
3334

3435
## Changed
3536
- Warnings now lead printing FAIL. This way, users don't accidentally think that

doc/src/equivalence.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ hevm equivalence \
4646
--code-a $(solc --bin-runtime "contract1.sol" | tail -n1) \
4747
--code-b $(solc --bin-runtime "contract2.sol" | tail -n1)
4848
```
49-
5049
If `--sig` is given, calldata is assumed to take the form of the function
51-
given. If left out, calldata is a fully abstract buffer of at most 256 bytes.
52-
50+
given. If `--calldata` is provided, a specific, concrete calldata is used. If
51+
neither is provided, a fully abstract calldata of at most `2**64` byte is
52+
assumed. Note that a `2**64` byte calldata would go over the gas limit, and
53+
hence should cover all meaningful cases.

0 commit comments

Comments
 (0)