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
Copy file name to clipboardexpand all lines: spec/eof.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -238,7 +238,7 @@ The following instructions are introduced in EOF code:
238
238
- caller's memory slice [`input_offset`:`input_size`] is used as calldata
239
239
- execute the container and deduct gas for execution. The 63/64th rule from EIP-150 applies.
240
240
- increment `sender` account's nonce
241
-
- calculate `new_address` as `keccak256(0xff || sender || salt)[12:]`
241
+
- calculate `new_address` as `keccak256(0xff || sender32 || salt)[12:]`, where `sender32` is the sender address left-padded to 32 bytes with zeros
242
242
- behavior on `accessed_addresses` and address colission is same as `CREATE2` (rules for `CREATE2` from [EIP-684](https://eips.ethereum.org/EIPS/eip-684) and [EIP-2929](https://eips.ethereum.org/EIPS/eip-2929) apply to `EOFCREATE`)
243
243
- an unsuccesful execution of initcode results in pushing `0` onto the stack
0 commit comments