AIP-20: the JSON-RPC form of a type 0x50 transaction carries v, r, s and yParity as 0x0 (corrected in place, dated; erratum with the deployment date and the libraries measured)
This commit is contained in:
1 parent
86e2b34be1
commit
d233b877f5
1 file changed
+14
-1
+14
-1
@@ -159,7 +159,11 @@ The receipt uses the EIP-2718 envelope with type byte `0x50` and is otherwise a
|
|||||||
receipt. `eth_getTransactionByHash`, `eth_getTransactionByBlockNumberAndIndex` and the block
|
receipt. `eth_getTransactionByHash`, `eth_getTransactionByBlockNumberAndIndex` and the block
|
||||||
methods return `"type": "0x50"`, the fields `algId` (hex quantity), `pqPublicKey` and
|
methods return `"type": "0x50"`, the fields `algId` (hex quantity), `pqPublicKey` and
|
||||||
`pqSignature` (hex data), and `from` as the derived sender; the fields `v`, `r`, `s` and `yParity`
|
`pqSignature` (hex data), and `from` as the derived sender; the fields `v`, `r`, `s` and `yParity`
|
||||||
are absent. `eth_sendRawTransaction` accepts the envelope. `eth_signTransaction` and `eth_sign` do
|
are present with the value `0x0`. They carry no meaning (the type has no secp256k1 signature) and a
|
||||||
|
node ignores them on input. (Changed 2026-11-22, see Errata: until then the four fields were absent,
|
||||||
|
and a client library in wide use, ethers 6.16.0, could not read a block or a transaction of this
|
||||||
|
type. A node that does not yet run the change still leaves them out, so a reader must accept both
|
||||||
|
forms.) `eth_sendRawTransaction` accepts the envelope. `eth_signTransaction` and `eth_sign` do
|
||||||
not support the type: keys are held by the client library, never by the node.
|
not support the type: keys are held by the client library, never by the node.
|
||||||
|
|
||||||
### Networking
|
### Networking
|
||||||
@@ -380,6 +384,15 @@ type-0x50 transaction proposed by the Nethermind-derived validator on chain 2800
|
|||||||
validation is not penalised, and what is bounded is each transactions message (count and size). The second client
|
validation is not penalised, and what is bounded is each transactions message (count and size). The second client
|
||||||
disconnects a peer at the first transaction its validator refuses. Corrected in place, dated; the transaction format, the
|
disconnects a peer at the first transaction its validator refuses. Corrected in place, dated; the transaction format, the
|
||||||
signing hash and every vector are unchanged.
|
signing hash and every vector are unchanged.
|
||||||
|
- **2026-11-22, "Receipts and JSON-RPC".** The JSON form of a type-`0x50` transaction left out `v`, `r`, `s` and `yParity`.
|
||||||
|
Measured on that date on block 11,774,076 of chain 28001, which holds one such transaction: ethers 6.16.0 cannot read the
|
||||||
|
block with its transactions nor the transaction itself (it refuses a transaction object without `r`), while ethers 5.8.0,
|
||||||
|
viem 2.58.4 and web3.js 4.16.0 read both. With the four fields present and zero, all four libraries read both, with the
|
||||||
|
right sender and value. The form now carries them as `0x0`, in both clients, from the builds that include the change.
|
||||||
|
Nothing in the envelope, the signing hash, the transaction hash, the receipt or the vectors changes. Deployed on chain 2800
|
||||||
|
on 2026-11-24 in the primary client: `rpc.aere.network` and `rpc2.aere.network` serve the four fields from that date
|
||||||
|
(measured 2026-11-25 on block 19,900,028, read by ethers 6.16.0, ethers 5.8.0, viem 2.58.4, web3.js 4.16.0 and web3.py
|
||||||
|
7.16.0). The second client's build with the change is not deployed yet, so `client2.aere.network` still leaves them out.
|
||||||
|
|
||||||
## Post-Acceptance Outcome Record
|
## Post-Acceptance Outcome Record
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user