Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/schemas/receipt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,9 @@ ReceiptInfo:
title: blob gas price
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.
$ref: '#/components/schemas/uint'
authorizationStatus:
title: list of authorizations' status
description: Ordered list of authorizations' status. List contains either 1 (success) or 0 (failure) for each authorization in the transaction
type: array
items:
$ref: '#/components/schemas/uint'
Comment on lines +122 to +127
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what do you think about returning the list of addresses that were set on behalf of the delegation (null for failure maybe?)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to ensure we are on the same page, you are suggesting to return the list of signing accounts in the authorization list, and not the delegation right?

we are agreeable on the former, this would also work for us

2 changes: 1 addition & 1 deletion tests/eth_getTransactionReceipt/get-setcode-tx.io
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// gets the receipt for a EIP-7702 setcode transaction
>> {"jsonrpc":"2.0","id":1,"method":"eth_getTransactionReceipt","params":["0x16f6724ad864e7664c367893cae3e176d362bea3a47495cec3b246555a7228da"]}
<< {"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"}}
<< {"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": "["0x0","0x1"]","transactionIndex":"0x1","type":"0x4"}}
Loading