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

Ethereum Virtual Machine (EVM) - primitives #328

Open
4 of 16 tasks
mratsim opened this issue Dec 29, 2023 · 1 comment
Open
4 of 16 tasks

Ethereum Virtual Machine (EVM) - primitives #328

mratsim opened this issue Dec 29, 2023 · 1 comment
Labels
enhancement :shipit: New feature or request good first issue 🔧 Good for newcomers

Comments

@mratsim
Copy link
Owner

mratsim commented Dec 29, 2023

Here are opcodes implementations that Constantine can provide (BigInt or cryptography related, stateless)
See: https://ethereum.org/en/developers/docs/evm/opcodes/

  • Opcodes
    • Arithmetic: ADD, MUL, SUB, DIV, MOD
    • Signed arithmetic: SDIV, SMOD, SIGNEXTEND
    • Modular arithmetic: ADDMOD, MULMOD
    • Transcendental arithmetic: EXP
    • Comparison: LT, GT, SLT, SGT, EQ, ISZERO
    • Bitwise: AND, OR, XOR, SHL, SHR, SAR, NOT
    • Indexing: BYTE
    • Cryptography: KECCAK256 (also called SHA3)
  • Precompiles
    • ECRECOVER
    • SHA256
    • RIPEMD-160
    • MODEXP
    • ECADD
    • ECMUL
    • ECPAIRING
    • Blake2
@mratsim mratsim added enhancement :shipit: New feature or request good first issue 🔧 Good for newcomers labels Dec 29, 2023
@mratsim
Copy link
Owner Author

mratsim commented Apr 20, 2024

EIP-4844 added a precompile on the execution client side for verifying KZG commitments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement :shipit: New feature or request good first issue 🔧 Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant