Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/cvl/expr.md
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ function hashingScheme3CVL(HashingExample.SignedMessage s) returns bytes32 {
The scheme implemented in `hashingScheme4` is not supported at the moment, as it combines a `bytes` type with primitives.
The `keccak256` built-in function supports two kinds of inputs:
- a single `bytes` parameter
- a list of primitive (e.g., `uint256`, `uint8`, `addresss`) parameters
- a list of primitive (e.g., `uint256`, `uint8`, `address`) parameters

```{note}
`keccak256` is currently ***unsupported*** in quantified expressions.
Expand Down Expand Up @@ -745,7 +745,7 @@ contract ECExample {

The following CVL function is equivalent to the `wrap_ecrecover` function in the Solidity snippet:
```cvl
function wrap_ecrecoverCVL(bytes32 digest, uint8 v, bytes32 r, bytes32 s) returns address {
function wrap_ecrecoverCVL(bytes32 digest, uint8 v, bytes32 r, bytes32 s) returns (address) {
return ecrecover(digest,v,r,s);
}
```