You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When creating a new contract using the create/create2 opcodes, we should check whether the code already exists in the cache and reuse the cached version - otherwise, we need to recompute the code jump destination filter each time which is slow.
While executing the code the first time, the cache should not be updated (peek) - only when the transaction is fully successful should the cache be updated to include the new code, to avoid contracts stuffing the cache with junk code.
The text was updated successfully, but these errors were encountered:
When creating a new contract using the
create
/create2
opcodes, we should check whether the code already exists in the cache and reuse the cached version - otherwise, we need to recompute the code jump destination filter each time which is slow.While executing the code the first time, the cache should not be updated (
peek
) - only when the transaction is fully successful should the cache be updated to include the new code, to avoid contracts stuffing the cache with junk code.The text was updated successfully, but these errors were encountered: