Skip to content

Conversation

@cakevm
Copy link
Owner

@cakevm cakevm commented Nov 30, 2025

  • Add support to pass builtin functions to __VERBATIM.
    • __VERBATIM can now wrap builtins that generate PUSH + value, stripping the PUSH opcode.
    • Supported: __FUNC_SIG, __EVENT_HASH, __BYTES, __ERROR, __RIGHTPAD, __LEFTPAD.
    • Example: __VERBATIM(__FUNC_SIG("withdraw(uint256)")) emits raw 4-byte selector without PUSH4.

@cakevm cakevm merged commit 62941ec into main Nov 30, 2025
12 checks passed
@cakevm cakevm deleted the verbatim-builtin branch November 30, 2025 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants