EIP 7823 and 7883 --- Osaka MODEXP changes
#823
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note
Implements EIP-7823 for Osaka MODEXP (1024-byte bound, new pricing, normalized byte sizes), adds Osaka blake2fmodexpdata and refactors HUB/MMU/OOB logic; updates constants and Makefile module wiring.
GAS_CONST_MODEXP_EIP_7823andEIP_7823_MODEXP_UPPER_BYTE_SIZE_BOUNDtoconstants/constants.lisp.bbs/ebs/mbswith in-bounds flags; use normalized sizes throughout extraction, offsets, and partial result copies; set result copy size to1024.__01__..__06__,generalities.lisp,justifying_hub_predictions.lisp); add automatic vanishing for inactive misc sub-perspectives (EXP/MMU/MXP/OOB/STP).NB_MICRO_ROWS_TOT_MODEXP_{ZERO,DATA}to64; updatemodexp_datato useEIP_7823_MODEXP_UPPER_BYTE_SIZE_BOUNDand revised preprocessing counts.blake2fmodexpdata/osaka(columns.lisp,constants.lispwithINDEX_MAX_MODEXP 63,constraints.lisp, WCP lookup) and wire via Makefile.modexp/xbs,modexp/lead,modexp/pricingwith bound checks and new outputs; rename comparison helper tocomparison-to-512in non-Osaka forks.BLAKE2f_MODEXP_DATA_{LONDON,OSAKA}and include inZKEVM_MODULES_*; wire Osaka modules (HUB_OSAKA,MMU_OSAKA,TRM_OSAKA, etc.).Written by Cursor Bugbot for commit 14de596. This will update automatically on new commits. Configure here.