Introduction

Hi, I'm cardene, a software engineer and technical writer focused on blockchain and AI.

I've also authored Japanese technical books on specification-driven development with LLMs and decentralized application (DApp) development.

I also build and publish a variety of tools, libraries, and open-source projects.

This article covers EIP2938, a proposal that extends transaction validation through account abstraction to allow arbitrary EVM bytecode execution, enabling smart contract wallets with multisignature and social recovery functionality, payment of transaction fees using tokens other than ETH, and more.

This article translates, summarizes, and supplements the following historical proposal.

Overview

Account abstraction (AA) is a proposal to substantially improve the way transactions and accounts are managed on the Ethereum network. Under this proposal, smart contracts can function as ordinary user accounts and directly manage transaction execution and fee payment.

Overview and motivation of account abstraction

In conventional Ethereum, transaction validity is strictly defined by an ECDSA signature, a simple nonce (a counter representing the number of transactions), and the account balance. Account abstraction adds the execution of arbitrary EVM (Ethereum Virtual Machine) bytecode as a condition for transaction validity. This enables more flexible transaction conditions and improves support for different kinds of applications and wallets.

For more on account abstraction, see the following article.

[ERC4337] Implementing Account Abstraction Without Protocol Changes

The PAYGAS proposal

A new EVM opcode, PAYGAS, is proposed to enable account abstraction. With this opcode, a contract can specify the gas price and gas limit it can afford to pay, thereby indicating that a transaction is valid. This is a crucial feature for allowing contracts to initiate and manage their own transactions.

The two layers of account abstraction

Account abstraction is implemented in two layers.

  • Single-tenant AA

    • Intended primarily for personal wallets and use cases involving a small number of participants.
    • The account is expected to be used by a particular user or a small group of users.
  • Multi-tenant AA

    • Designed to support applications with many participants, such as decentralized finance platforms including tornado.cash and Uniswap.
    • The goal is to process a variety of transactions and interactions efficiently through the same contract account.

Account abstraction is expected to substantially improve Ethereum's flexibility and extensibility, enabling new forms of digital identity and various kinds of financial transactions.

Motivation

The main motivation for advancing account abstraction is to address existing constraints that limit innovation on Ethereum. Particular areas of interest include smart contract wallets, privacy-preserving systems, improved gas efficiency for DeFi protocols, and the ability to use tokens other than ETH to pay transaction fees.

Main motivations and areas of innovation

Smart contract wallets using different signature verification schemes

Support wallets using advanced signature verification technologies other than the existing ECDSA scheme, including Schnorr, BLS, and post-quantum signature schemes.

Wallets supporting multisignature and social recovery

Support wallets using multiple signatures or recovery mechanisms based on social trust to reduce the risk of losing funds or having them stolen.

Privacy-preserving systems

Support systems enabling privacy-focused transactions, such as tornado.cash.

Improve DeFi gas efficiency by preventing transactions that do not satisfy higher-level conditions

Make gas usage more efficient by excluding transactions from the blockchain when they do not meet certain conditions, such as the existence of a matching order.

Paying transaction fees using tokens other than ETH

Enable fees to be paid by converting the token into ETH in real time within the transaction.

Scope of single-tenant and multi-tenant AA

Single-tenant AA is designed primarily to support cases 1 and 2: functionality used by individual users or a small group of users. Multi-tenant AA is designed to support cases 3 and 4: applications and platforms involving many participants.

Existing alternatives and their limitations

The Gas Station Network (GSN) and other application-specific alternatives partially address these use cases, but they are technically and economically inefficient and introduce risks and dependencies arising from the involvement of intermediaries.

These improvements through account abstraction aim to use Ethereum's underlying infrastructure more directly and provide a sustainable long-term solution.

Specification

Single-tenant

Constant definitions

First, a new transaction type and several constants needed for account abstraction are introduced.

Constant Value
AA_ENTRY_POINT 0xffffffffffffffffffffffffffffffffffffffff
AA_TX_TYPE 2
FORK_BLOCK TBD
AA_BASE_GAS_COST 15000
  • AA_ENTRY_POINT
    • Address representing the entry point from which AA transactions are called.
  • AA_TX_TYPE
    • Identifier of the new transaction type.
  • FORK_BLOCK
    • Block number at which the change becomes active, currently undetermined in the proposal.
  • AA_BASE_GAS_COST
    • Base gas cost of an AA transaction, reduced from the 21000 gas of an ordinary transaction.

New transaction type

A new transaction type is introduced based on EIP2718, identified as AA_TX_TYPE. The transaction payload is interpreted as an RLP (Recursive Length Prefix)-encoded array, [nonce, target, data]. This reduces the base gas cost by eliminating the need for the ECDSA signature and its verification required by conventional transactions.

RLP (Recursive Length Prefix) encoding is a data serialization format used by Ethereum, designed to efficiently encode transaction data, block headers, account states, and other data. RLP encodes data lengths and contents, preserving the structure of variable-length data in particular.

Basic RLP rules

RLP specifies rules for encoding individual bytes or byte arrays.

  • Single-byte data
    • If the byte value is between 0x00 and 0x7F (127), the byte itself is the RLP encoding result.
  • Strings (byte arrays)
    • A byte array with a length from 1 to 55 bytes is encoded by prefixing it with a byte equal to its length plus 0x80.
    • For example, the array [0x01, 0x02, 0x03] is encoded as 0x83 (0x80 + 3) followed by the original data 0x01, 0x02, 0x03.
  • Long strings
    • For a byte array longer than 55 bytes, the byte representation of the length precedes the data, prefixed with a byte equal to the length of that representation plus 0xB7.
    • For example, data of 256 bytes is encoded with the prefix 0xB9, 0x01, 0x00, using 0x0100 as the representation of the length and the 0xB7-based prefix.

RLP encoding example

Consider RLP encoding the following data structure.

plaintext
["cat", "dog"]

This is a list of strings. First encode each string individually, then encode the entire list.

  1. The string "cat" is the byte array [0x63, 0x61, 0x74].
    • Its length is 3, so prefix it with 0x83.
    • The encoded form is [0x83, 0x63, 0x61, 0x74].
  2. The string "dog" is the byte array [0x64, 0x6F, 0x67].
    • Its length is also 3, so prefix it with 0x83.
    • The encoded form is [0x83, 0x64, 0x6F, 0x67].
  3. When encoding the list of these two encoded strings, the original article calculates the total length as 6+6=12 and prefixes it with 0xC0 + 12 = 0xCC.
    • It consequently gives the complete encoding as [0xCC, 0x83, 0x63, 0x61, 0x74, 0x83, 0x64, 0x6F, 0x67].

RLP encoding is thus an effective method of efficiently serializing data while preserving its hierarchical structure.

Translation note: The list-length calculation in step 3 is retained above from the Japanese source. Each encoded string is actually four bytes long, so the payload length is eight bytes and the correct list prefix is 0xC8 rather than 0xCC.

Nonce processing

Nonces are processed in the same way as in existing transactions. The transaction's nonce must match the nonce of the target address; otherwise, the transaction is invalid. If the nonces match, the transaction proceeds, and the nonce is immediately incremented by one.

Gas limit

This transaction type does not specify a gas limit in the transaction itself. At the start of execution, the gas limit is set to the remaining gas in the block (block.gas_limit minus the gas already consumed). The gas limit can then be reduced during execution using the PAYGAS opcode.

With these changes supporting account abstraction, more flexible transaction processing and new kinds of smart contract applications become possible.

Transaction-wide global variables

As shown in the table below, new global variables are introduced, initialized according to logic specific to AA transactions.

Variable Type Initial Value
globals.transaction_fee_paid bool False if type(tx) == AA_TX_TYPE else True
globals.gas_price int 0 if type(tx) == AA_TX_TYPE else tx.gas_price
globals.gas_limit int 0 if type(tx) == AA_TX_TYPE else tx.gas_limit

These variables have different initial values depending on whether the transaction is an AA transaction. For AA transactions, fee payment, gas price, and gas limit are initially undefined (0 or False) and are subsequently established by the PAYGAS opcode.

NONCE (0x48) opcode

The NONCE opcode is a new opcode that pushes the nonce of the account being called onto the stack. Its gas cost is defined as G_base.

PAYGAS (0x49) opcode

The PAYGAS opcode sets the gas price and gas limit for the transaction and prepays the transaction fee based on those values. It pops two arguments from the stack (the version number at the top and a memory start position below it) and requires the version number to be 0 in the initial implementation. It then reads the gas price and gas limit from the specified memory location.

If the conditions are satisfied (sufficient account balance, fees not yet paid, and execution in the top-level AA frame), the fee is deducted based on the specified gas price and gas limit, and transaction execution proceeds. If the conditions are not met, an exception is raised. At the end of the transaction, globals.transaction_fee_paid must be True; otherwise, the transaction is invalid. PAYGAS also acts as an execution checkpoint: if the top-level execution frame reverts after calling PAYGAS, execution ends at that point.

This new design provides finer-grained control over transaction fee payments and gas management in the context of account abstraction, allowing more flexible smart contract implementations.

Replay protection

A replay attack occurs when a malicious third party retransmits valid data and potentially causes unauthorized effects. Two approaches are proposed to prevent this.

Requiring SET_INDESTRUCTIBLE

This approach requires contracts targeted by AA transactions to begin with the SET_INDESTRUCTIBLE opcode from EIP2937. Contracts with this opcode disable SELFDESTRUCT, preventing their destruction. An AA transaction targeting a contract that does not begin with this opcode is therefore invalid and cannot be included in a block.

AA_PREFIX must be modified to include the opcode.

Preserving the nonce during SELFDESTRUCT

The other option is to preserve the nonce when a contract calls SELFDESTRUCT rather than resetting it to zero. Even if the same address is reused, the nonce remains intact, preventing previous transactions from being executed again.

Other changes

CALLER (0x33)

If this opcode is called in the first frame of a call initiated by an AA transaction, it must return AA_ENTRY_POINT. This identifies the original entry point from which the AA transaction began.

ORIGIN (0x32)

If this opcode is called in any execution frame of an AA transaction, it must also return AA_ENTRY_POINT. This indicates that the transaction originated as an AA transaction.

GASPRICE (0x3A)

This opcode pushes the value of globals.gas_price onto the stack. For AA transactions, this value is set through the PAYGAS opcode, allowing the gas price to be defined dynamically. For non-AA transactions, its behavior remains unchanged. This is because globals.gas_price is initialized with the transaction's gas_price, and PAYGAS is not called to change it.

These measures are designed to ensure that transactions using account abstraction are processed more securely on the network. Preventing replay attacks is a particularly important part of improving security.

Transaction validation and rebroadcasting

The proposal describes strategies for mining and rebroadcasting transactions involving account abstraction (AA). These strategies concern how miners and validating nodes can efficiently determine whether a transaction will actually pay its fees, so as to avoid denial-of-service attacks.

When a miner or validating node receives an AA transaction, it attempts execution against the post-state of the current chain header to determine the transaction's validity. Execution terminates unsuccessfully if any of the following conditions applies.

  • The target code does not begin with AA_PREFIX.
  • Any of the following opcodes is executed.
    • Environment-related opcodes (BLOCKHASH, COINBASE, TIMESTAMP, NUMBER, DIFFICULTY, GASLIMIT).
    • BALANCE for any account (including the target itself).
    • External calls or creation that modify something other than the target (CALL, CALLCODE, STATICCALL, CREATE, CREATE2).
    • External state accesses that load code from an address other than the target (EXTCODESIZE, EXTCODEHASH, EXTCODECOPY, and CALLCODE and DELEGATECALL).
  • Execution exceeds the specified VERIFICATION_GAS_CAP or the available gas in the block.
  • Upon reaching PAYGAS, execution terminates with success or failure depending on whether the balance is sufficient (for example, balance >= gas_price * gas_limit).
Transaction mempool management

Nodes do not retain transactions in the mempool if their nonce is higher than the currently valid nonce. If a different transaction arrives for the same contract and nonce, it replaces the existing transaction if its gas price is sufficiently high; otherwise, it is discarded.

Processing a new block

When processing a new block, nodes identify accounts that were targets of AA transactions and discard all pending transactions targeting those accounts. Other transactions remain in the mempool.

Constant Value
VERIFICATION_GAS_MULTIPLIER 6
VERIFICATION_GAS_CAP VERIFICATION_GAS_MULTIPLIER * AA_BASE_GAS_COST = 90000
AA_PREFIX if(msg.sender != shr(-1, 12)) { LOG1(msg.sender, msg.value); return }; compilation to EVM TBD

This strategy aims to introduce AA transactions incrementally, enabling simple single-tenant use cases in the initial phase and more complex multi-tenant use cases later.

Single-tenant+

This section describes how single-tenant account abstraction implementations might evolve. That evolution includes introducing new EIPs (Ethereum Improvement Proposals) to relax particular restrictions and enable a broader range of use cases.

Introducing the Indestructible Contracts EIP

With the introduction of the Indestructible Contracts EIP, external code accesses, including DELEGATECALL (EXTCODESIZE, EXTCODEHASH, EXTCODECOPY, CALLCODE, DELEGATECALL), become permissible under certain conditions. Specifically, these operations are no longer prohibited when the first byte of the contract is the SET_INDESTRUCTIBLE opcode. Calls to destinations other than the target or precompiles that can change the called account (operations other than CALLCODE and DELEGATECALL) remain prohibited.

Adding the IS_STATIC EIP

Introducing the IS_STATIC EIP would allow prefixes to be added to the allowlist that permit static calls (calls that do not change state) but not calls that change state.

Expanding the permitted prefixes

Prefixes enabling other benign use cases, such as logging incoming payments, could also be added to the allowlist.

Permitting external calls to AA accounts

Introducing a new opcode, RESERVE_GAS, is proposed as a way to allow external calls to AA accounts. This opcode has simple behavior: it takes an argument N, immediately consumes N gas, and adds N gas to the refund pool. If a prefix reserving at least twice AA_BASE_GAS_COST is allowed, calling the account is guaranteed to consume at least AA_BASE_GAS_COST gas, because refunds are limited to a maximum of 50% of the gas consumed. The call invalidates transactions in the mempool targeting the account, while preserving the invariant.

Setting the RESERVE_GAS value

An account might choose a higher RESERVE_GAS value to safely support a higher VERIFICATION_GAS_CAP. The aim is to maintain a VERIFICATION_GAS_MULTIPLIER-to-1 ratio between the minimum gas cost of modifying an account (half its RESERVE_GAS) and the VERIFICATION_GAS_CAP permitted for that account. This also preserves the invariant discussed in the previous section concerning maximum gas consumption for revalidation.

These changes aim to substantially improve the flexibility of the AA framework and enable support for a wide range of applications.

Multi-tenant

In a multi-tenant account abstraction environment, the proposal considers adding support for managing multiple pending transactions per account in the mempool (the pool of unconfirmed transactions). A major challenge is that a single transaction could cause a state change that invalidates all the other transactions. If transactions are prioritized simply by gas price, another attack vector arises: a user willing to pay the highest gas price can issue many mutually exclusive versions of transactions, displacing other users' transactions from the mempool.

Overview of the strategy

The proposed strategy requires incoming transactions to include an EIP2930-style access list. The list identifies the storage slots read or modified by the transaction, and accesses outside the list are invalid. A transaction can enter the mempool only if its access list does not overlap with the access lists of other transactions in the mempool or if its gas price is higher.

For more on EIP2930, see the following article.

[EIP2930] Introducing a New Transaction Type with Access Lists

Proposed mempool improvements

Another way to view this approach is as having a mempool per storage slot instead of simply a mempool per account. A transaction may, however, belong to the mempools of multiple storage slots (with an optional limit, such as five storage slots, if necessary).

Challenges of multi-tenant AA

Multi-tenant AA will almost certainly need to allow miners to modify the nonces of incoming transactions and order them, making their final transaction hashes unpredictable at publication time. Clients will need work to address this issue explicitly.

Further research and development

Further research is required to refine these ideas, which is left for future work.

Such progress could significantly improve Ethereum's transaction processing and network efficiency, but it will require solving numerous technical challenges and coordinating changes. If the proposal is implemented, more complex and interactive data exchanges could become possible, further expanding Ethereum's use cases.

Additional notes

The central issue in account abstraction is that miners and network nodes need to verify that the transactions they include or rebroadcast will actually pay fees. With ordinary transactions, these checks are quick because a transaction with a valid signature and nonce, sufficient balance, and adequate gas price is guaranteed to pay fees if included.

Goals of account abstraction

The goal is to allow accounts to specify EVM code defining more flexible conditions for transaction validity. The EVM code must nevertheless be verifiable quickly and offer the same security as the existing model.

Transaction execution phases

In an ordinary transaction, the top-level call goes from tx.sender to tx.to, carrying tx.value. In an AA transaction, the top-level call goes from the entry point address (0xFFFF...FF) to tx.target.

Top-level code execution is expected to be divided into two phases: a short validation phase (before PAYGAS) and a longer execution phase (after PAYGAS). If execution raises an exception during validation, the transaction is deemed invalid, just as a transaction with an invalid signature is under the existing system. Even if an exception is raised after validation, the transaction pays fees, so miners can include it.

Transitioning between AA stages

Transitions between the different stages of AA are achieved entirely through changes to miner strategies. The first stage supports single-tenant AA, primarily targeting use cases that can be readily implemented when tx.target is a contract representing a user account (for example, a multisignature smart contract wallet). Later stages improve support for logs and libraries and progress toward multi-tenant AA. The goal is to support a broader range of cases, including those where tx.target represents an application processing calls from multiple users.

The role of nonces in single-tenant AA

In single-tenant AA, nonces continue to be strictly enforced. This ensures that single-target AA does not break the invariant that a transaction hash appears only once on the chain. Although allowing transactions to be included in arbitrary order has limited value in single-tenant AA, that value is not sufficient to justify breaking the invariant.

Nonces serve two purposes in AA accounts. They prevent replay attacks and are used to generate contract addresses when the CREATE opcode is executed. This means that a single transaction may increment the nonce by more than one. It is considered acceptable because other mechanisms introduced by AA already impair the ability to easily verify chains containing one or more transactions. However, AA contracts are strongly encouraged to use CREATE2.

Nonces in multi-tenant AA

In multi-tenant AA, nonces are expected to become malleable. Applications using this system must manage this change. In a multi-tenant environment, multiple transactions from different users or processes are processed concurrently, so maintaining strictly sequential nonces may be difficult or unnecessary.

Replay protection

Replay protection requires either mandating SET_INDESTRUCTIBLE or changing the behavior of SELFDESTRUCT. These must be implemented as consensus changes, not merely as part of AA_PREFIX, to preserve transaction hash uniqueness.

Restricting access to external data

With traditional transactions, executing a transaction that did not originate from account X cannot invalidate a transaction sent by X. The only state change that an external transaction can impose on X is increasing its balance, which cannot invalidate a transaction.

However, allowing AA contracts to access external data (other accounts or environmental variables such as GASPRICE and DIFFICULTY) before calling PAYGAS, during validation, breaks this invariant. For example, someone could submit thousands of AA transactions that make an external call and raise an exception when FOO.get_number() != 5. FOO.number might be set to 5 when those transactions are submitted, but a single transaction setting FOO.number to another value could invalidate all the thousands of dependent AA transactions. This presents a serious denial-of-service risk.

Contracts that are indestructible (whose first byte is the SET_INDESTRUCTIBLE opcode described in the proposal) are permitted as an exception. This is a safe exception because the data being read cannot change.

Prohibiting BALANCE reads

Prohibiting reads through BALANCE closes off an attack vector, albeit a relatively limited one. Otherwise, in the worst case an attacker could cause transaction reprocessing for a cost of only 6700 gas, rather than 15000 or 21000 gas.

Requiring AA transactions to call contracts with a particular prefix

The prelude (prefix) ensures that only AA transactions can call the contract. This is another measure taken to preserve the invariant described above. Without this check, a transaction originating outside AA account X could call X and force a storage modification, causing transactions targeting that account to be reprocessed at a cost of just 5000 gas.

Restrictions on external data access and specific contract call rules are therefore important for secure and correct transaction processing in AA environments.

Multi-tenant

This section discusses multi-tenant account abstraction in more detail, focusing on how to resolve the complexities arising when different users transact with the same account. It uses Tornado Cash and Uniswap as two example use cases.

Tornado Cash use case

Tornado Cash is a platform that enables privacy-focused ETH transfers. The proposal describes the following process.

  1. Deposit
    • The user deposits a standard amount of coins, for example 1ETH, into the TC (Tornado Cash) contract.
    • A deposit record containing a hash of a secret known to the user is added to the Merkle tree stored in the TC contract.
  2. Withdrawal
    • On withdrawal, the user generates and submits a ZK-SNARK proving that a hash of the secret they know appears in a leaf of the Merkle tree.
    • The TC contract verifies the ZK-SNARK and checks that the nullifier value derived from the secret has not been used.
    • The contract sends 1ETH to the address specified by the user and records the user's nullifier as used.

With AA, the user could submit an AA transaction targeting the TC contract directly without a relayer, verify the ZK-SNARK and check the nullifier in the validation step, and then call PAYGAS. In this proposed design, the withdrawing party could pay gas directly from the coins being withdrawn, eliminating the need for a relayer and avoiding an on-chain link to the deposit address.

Uniswap use case

A new version of Uniswap could allow transactions to target the Uniswap contract directly. Users would deposit tokens into Uniswap in advance, and Uniswap would store their balances and public keys capable of validating trades using those balances. Uniswap trades initiated through AA would only spend funds from these internal balances.

This would not benefit ordinary traders, but it could substantially benefit arbitrageurs. They could deposit coins into Uniswap and submit arbitrage transactions whenever market conditions change, with logic such as price limits enforced during validation. As a result, the arbitrage transaction would be included only if it executes first, allowing arbitrageurs to avoid paying gas for unsuccessful opportunities and reducing the number of junk transactions included on-chain.

This could substantially improve both effective blockchain scalability and market efficiency.

#Compatibility

This discussion of AA implementation mainly addresses backward compatibility, transaction immutability, and replay protection. These are important considerations when introducing AA into the Ethereum network.

Backward compatibility

This AA implementation preserves existing transaction types. The origin == caller check used to identify an EOA (Externally Owned Account) remains valid, but it cannot be extended to AA accounts. In an AA transaction, origin always equals AA_ENTRY_POINT (the AA entry point address).

Breaking transaction immutability

In single-tenant AA, poorly designed AA contracts can break transaction immutability (the property that a transaction cannot be modified in transit and remain valid). In other words, an AA transaction could be modified in transit and the modified version could still be valid. AA account contracts can be designed to prevent this, but it is the responsibility of the contract designer. Multi-tenant AA breaks transaction immutability more thoroughly, making transaction hashes unpredictable even for legitimate applications using its features (although the immutability of preexisting applications is not further broken).

Lack of replay protection

AA contracts do not have replay protection unless it is explicitly incorporated. It can be implemented using the CHAINID (0x46) opcode introduced by EIP1344. Replay attacks are a security risk involving the malicious retransmission of valid transaction data; replay protection prevents duplicate execution of transactions across different blockchain networks.

These considerations highlight that the introduction of AA aims to provide a more flexible and advanced transaction validation mechanism while maintaining compatibility with Ethereum's security model, but requires appropriate design and security measures.

Compatibility

Backward compatibility

This AA implementation preserves existing transaction types. The origin == caller check used to identify an EOA (Externally Owned Account) remains valid, but cannot be extended to AA accounts. In an AA transaction, origin always equals AA_ENTRY_POINT (the AA entry point address).

Breaking transaction immutability

In single-tenant AA, poorly designed AA contracts can break transaction immutability (the property that prevents transactions from being modified in transit while remaining valid). In other words, an AA transaction could be modified in transit and the modified version could still be valid. AA account contracts can be designed to prevent this, but it is the responsibility of the contract designer. Multi-tenant AA breaks transaction immutability more thoroughly, making transaction hashes unpredictable even for legitimate applications using multi-tenant AA features (although the immutability of preexisting applications is not further broken).

Lack of replay protection

AA contracts have no replay protection unless it is explicitly incorporated. It can be implemented using the CHAINID (0x46) opcode introduced by EIP1344. Replay attacks are a security risk in which valid transaction data is maliciously retransmitted; replay protection prevents duplicate execution of transactions across different blockchain networks.

For more on EIP1344, see the following article.

[EIP1344] Adding a New Opcode That Returns the Chain ID

These considerations emphasize that introducing AA aims to provide a more flexible and advanced transaction validation mechanism while maintaining compatibility with Ethereum's security model, but requires appropriate design and security measures.

Tests

The test code is available here.

Implementation

The implementation code is available here.

Security

Revalidation

When a transaction enters the mempool, clients can quickly determine whether it is valid. If the transaction is determined to be valid, only another transaction from the same account can invalidate it.

However, an attacker could publish a transaction invalidating existing transactions, forcing the network to perform more recomputation than the transaction itself requires. This EIP maintains the invariant that recomputation within a single block is limited to a theoretical maximum of six times the block gas limit. Although somewhat more costly than before, it is not excessively expensive.

Peer denial-of-service attacks

Defending against denial-of-service attacks is difficult. In particular, identifying Sybil identities (fake identities) in the peer list is difficult, and those peers might begin attacking at any time or be bribed to do so. This issue is not introduced by AA; existing clients can also be targeted by flooding them with transactions containing invalid signatures. However, because AA increases the verification work permitted, it is important to bound the amount of computation clients spend on invalid transactions. For this reason, miners should follow the recommended mining strategy.

References

Vitalik Buterin (@vbuterin), Ansgar Dietrichs (@adietrichs), Matt Garnett (@lightclient), Will Villanueva (@villanuevawill), Sam Wilson (@SamWilsn), "EIP-2938: Account Abstraction [DRAFT]," Ethereum Improvement Proposals, no. 2938, September 2020. [Online serial]. Available: https://eips.ethereum.org/EIPS/eip-2938.

Conclusion

This article covered EIP2938, a proposal that extends transaction validation through account abstraction to allow arbitrary EVM bytecode execution, enabling smart contract wallets with multisignature and social recovery functionality, payment of transaction fees in tokens other than ETH, and more. I hope it was useful.