Skip to content

v0.3.1

Latest

Choose a tag to compare

@10d9e 10d9e released this 02 Dec 14:00
· 22 commits to main since this release
fad0398

Release Notes - ZEVM v0.3.0

Release Date: December 2, 2025

Added

  • PrecompileId.Custom variant: Added support for custom precompile identifiers via PrecompileId.custom("id")
  • PrecompileId.name() method: Returns EIP-7910 standardized names for all precompiles (e.g., "SHA256", "BN254_ADD")
  • PrecompileId.precompile() method: Convenience method to get the appropriate precompile implementation for a given spec, handling spec-specific variants automatically

Fixed

  • ModExp Osaka gas calculation: Fixed gas calculation formula to use max(500, complexity * iteration_count) instead of 500 + complexity * iteration_count to match EIP-7883 specification
  • ModExp Osaka complexity calculation: Fixed to use max(base_len, mod_len) instead of max(base_len, exp_len, mod_len) for complexity calculation
  • EIP-7823 input size limit: Corrected ModExp input size limit from 32768 bytes to 1024 bytes per parameter as specified in EIP-7823

Changed

  • PrecompileId type: Changed from enum to union(enum) to support Custom variant while maintaining backward compatibility with all existing precompile IDs

What's Changed

  • chore: Release version 0.3.1 with new features and fixes by @10d9e in #5
  • formatting by @10d9e in #6

Full Changelog: v0.3.0...v0.3.1