Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typo and add missing precompile descriptions to evm.md #2636

Merged
merged 2 commits into from
Oct 7, 2024
Merged
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
7 changes: 6 additions & 1 deletion kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md
Original file line number Diff line number Diff line change
Expand Up @@ -1818,9 +1818,14 @@ Precompiled Contracts
```

- `ECREC` performs ECDSA public key recovery.
- `SHA256` performs the SHA2-257 hash function.
- `SHA256` performs the SHA2-256 hash function.
- `RIP160` performs the RIPEMD-160 hash function.
- `ID` is the identity function (copies input to output).
- `MODEXP` performs arbitrary-precision modular exponentiation.
- `ECADD` performs point addition on the elliptic curve alt_bn128.
- `ECMUL` performs scalar multiplication on the elliptic curve alt_bn128.
- `ECPAIRING` performs an optimal ate pairing check on the elliptic curve alt_bn128.
- `BLAKE2F` performs the compression function F used in the BLAKE2 hashing algorithm.

```k
syntax PrecompiledOp ::= "ECREC"
Expand Down
Loading