Skip to content

Commit d0e4ea8

Browse files
committed
add authorization status to EIP7702 authorizations in receipt
1 parent 4008859 commit d0e4ea8

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/schemas/receipt.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,3 +119,9 @@ ReceiptInfo:
119119
title: blob gas price
120120
description: The actual value per gas deducted from the sender's account for blob gas. Only specified for blob transactions as defined by EIP-4844.
121121
$ref: '#/components/schemas/uint'
122+
authorizationStatus:
123+
title: list of authorizations' status
124+
description: Ordered list of authorizations' status. List contains either 1 (success) or 0 (failure) for each authorization in the transaction
125+
type: array
126+
items:
127+
$ref: '#/components/schemas/uint'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// gets the receipt for a EIP-7702 setcode transaction
22
>> {"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x16f6724ad864e7664c367893cae3e176d362bea3a47495cec3b246555a7228da"]}
3-
<< {"jsonrpc":"2.0","id":1,"result":{"blockHash":"0xaf51811799f22260e5b4e1f95504dae760505f102dcb2e9ca7d897d8a40124a1","blockNumber":"0x2d","contractAddress":null,"cumulativeGasUsed":"0x17231","effectiveGasPrice":"0x5763d65","from":"0x7435ed30a8b4aeb0877cef0c6e8cffe834eb865f","gasUsed":"0x8fc0","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x0000000000000000000000000000000000000000","transactionHash":"0x16f6724ad864e7664c367893cae3e176d362bea3a47495cec3b246555a7228da","transactionIndex":"0x1","type":"0x4"}}
3+
<< {"jsonrpc":"2.0","id":1,"result":{"blockHash":"0xaf51811799f22260e5b4e1f95504dae760505f102dcb2e9ca7d897d8a40124a1","blockNumber":"0x2d","contractAddress":null,"cumulativeGasUsed":"0x17231","effectiveGasPrice":"0x5763d65","from":"0x7435ed30a8b4aeb0877cef0c6e8cffe834eb865f","gasUsed":"0x8fc0","logs":[],"logsBloom":"0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000","status":"0x1","to":"0x0000000000000000000000000000000000000000","transactionHash":"0x16f6724ad864e7664c367893cae3e176d362bea3a47495cec3b246555a7228da","authorizationStatus": "[0,1]","transactionIndex":"0x1","type":"0x4"}}

0 commit comments

Comments
 (0)