Skip to content

set code size for precompile#45

Merged
open-junius merged 1 commit intomasterfrom
precompile-code-size
Jan 29, 2026
Merged

set code size for precompile#45
open-junius merged 1 commit intomasterfrom
precompile-code-size

Conversation

@open-junius
Copy link

EVM checks the code size if you call a contract, including the precompile.
It fails when you directly call precompile like IPrecompile.call().
In this PR, give a non zero code size for precompiles, then we can bypass the check.

@open-junius open-junius merged commit 843e423 into master Jan 29, 2026
4 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

Development

Successfully merging this pull request may close these issues.

2 participants