Skip to content

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Aug 21, 2025

Refactor to have a dynamic list of precompiles with some data and decoding functions.

Closes #11289.

For example, before:

├─ [3000] PRECOMPILES::ecrecover(0x92f43d8eb366388530b32d33c38016283ae5afdde3d519e88151b4ec86d6aa27, 27, 61338666317017115141987911171165186413379531469970292499717929358861286761030, 15249423654515047357429213923532324914321294959112720042411341249220520895962) [staticcall]
    │   └─ ← [Return] 0x00000000000000000000000036da43e1659ee3f43ec77911ca20e8c7871ff1ae

After:

├─ [3000] PRECOMPILES::ecrecover(0x92f43d8eb366388530b32d33c38016283ae5afdde3d519e88151b4ec86d6aa27, 27, 61338666317017115141987911171165186413379531469970292499717929358861286761030, 15249423654515047357429213923532324914321294959112720042411341249220520895962) [staticcall]
    │   └─ ← [Return] 0x36da43E1659EE3F43ec77911Ca20E8c7871ff1AE

onbjerg
onbjerg previously approved these changes Aug 21, 2025
@DaniPopes DaniPopes merged commit 386ec98 into master Aug 21, 2025
22 checks passed
@DaniPopes DaniPopes deleted the dani/precompiles-decoding branch August 21, 2025 11:21
@github-project-automation github-project-automation bot moved this to Done in Foundry Aug 21, 2025
@grandizzy grandizzy moved this from Done to Completed in Foundry Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Completed
Development

Successfully merging this pull request may close these issues.

2 participants