From 43fb1e0ca950c42a09efdf9a85d8acfe260efac1 Mon Sep 17 00:00:00 2001 From: pdobacz <5735525+pdobacz@users.noreply.github.com> Date: Tue, 18 Jun 2024 18:42:13 +0200 Subject: [PATCH] Update EIP-7698: Clarify relation to 3541 Merged by EIP-Bot. --- EIPS/eip-7698.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EIPS/eip-7698.md b/EIPS/eip-7698.md index f9cf467e3eba0..7dd9e85b65f21 100644 --- a/EIPS/eip-7698.md +++ b/EIPS/eip-7698.md @@ -49,7 +49,7 @@ In case a creation transaction (transaction with empty `to`) has `data` starting - concatenate data section with `(aux_data_offset, aux_data_offset + aux_data_size)` memory segment and update data size in the header, - let `deployed_code_size` be updated deploy container size, - if `deployed_code_size > MAX_CODE_SIZE` instruction exceptionally aborts, - - set `state[new_address].code` to the updated deploy container. + - set `state[new_address].code` to the updated deploy container (rules of [EIP-3541](./eip-3541.md), prohibiting deployment of `code` starting with `EF` from creation transactions, do not apply in this case). 7. Deduct `200 * deployed_code_size` gas. ## Rationale