-
|
Similar happens for message call too |
Beta Was this translation helpful? Give feedback.
Answered by
siladu
Aug 16, 2022
Replies: 1 comment
-
|
CREATE/CREATE2/CALL are contract -> contract operations, so it's natural to set them up as a new message frame as if they were getting called directly. External transactions that perform a "simple" contract creation don't spawn child frames, it just runs the init code as the contract code (likely calling PUSH to push the new contact code into memory), without utilizing the CREATE opcode. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
siladu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
CREATE/CREATE2/CALL are contract -> contract operations, so it's natural to set them up as a new message frame as if they were getting called directly.
External transactions that perform a "simple" contract creation don't spawn child frames, it just runs the init code as the contract code (likely calling PUSH to push the new contact code into memory), without utilizing the CREATE opcode.