Skip to content

Commit

Permalink
specs: Fix Span batch EIP-155 description
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed Dec 6, 2023
1 parent 53dcf4b commit 46ff55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/span-batches.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ not risking codebase with gnarly custom encoding/decoding implementations.

### Store `y_parity` and `protected_bit` instead of `v`

Only legacy type transactions can be optionally protected. If protected([EIP-155]), `v = 2 * ChainID + y_parity`.
Only legacy type transactions can be optionally protected. If protected([EIP-155]), `v = 2 * ChainID + 35 + y_parity`.
Else, `v = 27 + y_parity`. For other types of transactions, `v = y_parity`.
We store `y_parity`, which is single bit per L2 transaction.
We store `protected_bit`, which is single bit per L2 legacy type transactions to indicate that tx is protected.
Expand Down

0 comments on commit 46ff55c

Please sign in to comment.