From 5f7217149df0326d32883cd4e490b54cf26cacbc Mon Sep 17 00:00:00 2001 From: "lightclient@protonmail.com" Date: Mon, 24 Jun 2024 11:17:10 -0600 Subject: [PATCH] 7702: update costs --- EIPS/eip-7702.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/EIPS/eip-7702.md b/EIPS/eip-7702.md index 11a795a05bd2b2..4214f228e55238 100644 --- a/EIPS/eip-7702.md +++ b/EIPS/eip-7702.md @@ -27,11 +27,11 @@ There is a lot of interest in adding short-term functionality improvements to EO ### Parameters -| Parameter | Value | -| -------------------- | ------ | -| `SET_CODE_TX_TYPE` | `0x04` | -| `MAGIC` | `0x05` | -| `PER_AUTH_BASE_COST` | `2500` | +| Parameter | Value | +| -------------------- | ------- | +| `SET_CODE_TX_TYPE` | `0x04` | +| `MAGIC` | `0x05` | +| `PER_AUTH_BASE_COST` | `10000` | ### Set Code Transaction @@ -75,9 +75,9 @@ In case a delegation designator points to another designator, creating a potenti #### Gas Costs -The intrinsic cost of the new transaction is inherited from [EIP-2930](./eip-2930.md), specifically `21000 + 16 * non-zero calldata bytes + 4 * zero calldata bytes + 1900 * access list storage key count + 2400 * access list address count`. Additionally, we add a cost of `PER_CONTRACT_CODE_BASE_COST * authorization list length`. +The intrinsic cost of the new transaction is inherited from [EIP-2930](./eip-2930.md), specifically `21000 + 16 * non-zero calldata bytes + 4 * zero calldata bytes + 1900 * access list storage key count + 2400 * access list address count`. Additionally, we add a cost of `PER_AUTH_BASE_COST * authorization list length`. -The transaction sender will pay for all authorization tuples, regardless of validity or duplication. +The transaction sender will pay for all authorization tuples, regardless of validity or duplication. An additional fee of `25000` gas is levied for every auth from an account that does not yet exist. #### Transaction Origination