Skip to content

Commit

Permalink
Fix 1559 tx type: 2 instead of 3 (#354)
Browse files Browse the repository at this point in the history
See class Transaction1559Envelope in

https://eips.ethereum.org/EIPS/eip-1559#specification
  • Loading branch information
NiloCK authored Aug 26, 2024
1 parent 6b2f168 commit 4de79f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/protocol/deposits.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ This is unconditional, and does not revert on deposit failure.
Then, the execution environment for a deposited transaction is initialized based on the
transaction's attributes, in exactly the same manner as it would be for an EIP-155 transaction.

The deposit transaction is processed exactly like a type-3 (EIP-1559) transaction, with the exception of:
The deposit transaction is processed exactly like a type-2 (EIP-1559) transaction, with the exception of:

- No fee fields are verified: the deposit does not have any, as it pays for gas on L1.
- No `nonce` field is verified: the deposit does not have any, it's uniquely identified by its `sourceHash`.
Expand Down

0 comments on commit 4de79f9

Please sign in to comment.