Skip to content

Add precompile forwarder, ECDSA recover lib, bytecode mutator starter - #674

Merged
mijinummi merged 1 commit into
MDTechLabs:mainfrom
michaelsimeon001:feat/issues-661-667-668
Jul 28, 2026
Merged

Add precompile forwarder, ECDSA recover lib, bytecode mutator starter#674
mijinummi merged 1 commit into
MDTechLabs:mainfrom
michaelsimeon001:feat/issues-661-667-668

Conversation

@michaelsimeon001

Copy link
Copy Markdown

Adds small, focused starter implementations for three assigned issues (only 3 open issues were assigned to this account, not 4):

  • PrecompileForwarder: Yul staticcall wrappers for the ecrecover (0x01) and sha256 (0x02) precompiles with zero extra memory copies. modexp/bn256Pairing forwarding is a natural follow-up.
  • YulECDSARecover: ECDSA recovery with the standard secp256k1n/2 malleability check, unpacking r/s/v directly from calldata.
  • mutate_bytecode: a dependency-free starter bytecode mutation engine (single-byte flips via a seeded xorshift RNG) as a first building block toward the full gas-spike fuzzer.

These are intentionally small starter implementations; the remaining precompiles, a gas_runner harness, and dedicated test suites can follow in subsequent PRs.

Closes #667
Closes #661
Closes #668

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@michaelsimeon001 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@mijinummi
mijinummi merged commit 198859a into MDTechLabs:main Jul 28, 2026
3 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants