Skip to content

Commit 91aa5a9

Browse files
Fix typo and add missing precompile descriptions to evm.md (#2636)
* fix typo in evm.md, SHA-257 -> SHA-256 * add descriptions for precompiles 5, 6, 7, 8, 9
1 parent 1f5b624 commit 91aa5a9

File tree

1 file changed

+6
-1
lines changed
  • kevm-pyk/src/kevm_pyk/kproj/evm-semantics

1 file changed

+6
-1
lines changed

kevm-pyk/src/kevm_pyk/kproj/evm-semantics/evm.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,9 +1818,14 @@ Precompiled Contracts
18181818
```
18191819

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

18251830
```k
18261831
syntax PrecompiledOp ::= "ECREC"

0 commit comments

Comments
 (0)