mirror of
https://github.com/status-im/EIPs.git
synced 2025-02-23 04:08:09 +00:00
Automatically merged updates to draft EIP(s) 2972 (#3029)
Hi, I'm a bot! This change was automatically merged because: - It only modifies existing Draft or Last Call EIP(s) - The PR was approved or written by at least one author of each modified EIP - The build is passing
This commit is contained in:
parent
70e1a8bedd
commit
ba3833de92
@ -60,7 +60,7 @@ By having the signature SSZ encoded up front, we can easily extract the signatur
|
||||
### TransactionType 0/1 0x65000000 element
|
||||
`0x00 || yParity || r || s || 0x65000000 || rlp(nonce, gasPrice, gasLimit, to, value, data)` is the same as `ssz(0, yParity, r, s, rlp(nonce, gasPrice, gasLimit, to, value, data))`, which may prove convenient for some clients. It costs us 4 extra bytes on the wire (mostly zeros), but the authors deem this a worthwhile trade to be SSZ encodable/decodable.
|
||||
### SSZ for receipt encoding
|
||||
There is a weak consensus that RLP is not a particularly encoding scheme for hashed data partially due to its inability to be streamed.
|
||||
There is a weak consensus that RLP is not a particularly good encoding scheme for hashed data partially due to its inability to be streamed.
|
||||
SSZ is almost certainly going to be included in Ethereum at some point in the future, so clients likely have access to an SSZ decoder.
|
||||
For this particular case, manual decoding without a full SSZ decoder isn't too complicated, though it does require doing a bit of "pointer math" since `logs` is an array of variable length items
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user