Skip to content

Commit 7105a08

Browse files
Redidacovefjl
authored andcommitted
lightclient suggestions applied
1 parent 8e34a59 commit 7105a08

File tree

2 files changed

+32
-36
lines changed

2 files changed

+32
-36
lines changed

src/schemas/receipt.yaml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -119,26 +119,4 @@ 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-
AuthorizationList:
123-
type: object
124-
title: Authorizations List
125-
126-
chainId:
127-
title: chainId
128-
description: Chain ID that this transaction is valid on.
129-
$ref: '#/components/schemas/uint'
130-
nonce:
131-
title: nonce
132-
$ref: '#/components/schemas/uint64'
133-
address:
134-
$ref: '#/components/schemas/address'
135-
yParity:
136-
title: yParity
137-
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.
138-
$ref: '#/components/schemas/uint'
139-
r:
140-
title: r
141-
$ref: '#/components/schemas/uint'
142-
s:
143-
title: s
144-
$ref: '#/components/schemas/uint'
122+

src/schemas/transaction.yaml

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
1-
Transaction7702Unsigned:
1+
Transaction7702Signed:
22
type: object
33
title: EIP-7702 transaction.
44
required:
55
- type
66
- nonce
7+
- to
78
- gas
89
- value
910
- input
10-
- maxFeePerGas
1111
- maxPriorityFeePerGas
12-
- gasPrice
13-
- chainId
12+
- maxFeePerGas
13+
- maxFeePerBlobGas
1414
- accessList
15+
- blobVersionedHashes
16+
- chainId
1517
- authorization list
1618
properties:
1719
type:
@@ -45,9 +47,9 @@ Transaction7702Unsigned:
4547
title: max fee per gas
4648
description: The maximum total fee per gas the sender is willing to pay (includes the network / base fee and miner / priority fee) in wei
4749
$ref: '#/components/schemas/uint'
48-
gasPrice:
49-
title: gas price
50-
description: The effective gas price paid by the sender in wei. For transactions not yet included in a block, this value should be set equal to the max fee per gas. This field is DEPRECATED, please transition to using effectiveGasPrice in the receipt object going forward.
50+
maxFeePerBlobGas:
51+
title: max fee per blob gas
52+
description: The maximum total fee per gas the sender is willing to pay for blob gas in wei
5153
$ref: '#/components/schemas/uint'
5254
accessList:
5355
title: accessList
@@ -57,12 +59,28 @@ Transaction7702Unsigned:
5759
title: chainId
5860
description: Chain ID that this transaction is valid on.
5961
$ref: '#/components/schemas/uint'
60-
authorization list:
61-
title: authorization list
62-
description: List of authorizations associated with the transaction.
63-
type: array
64-
items:
65-
$ref: '#/components/schemas/AuthorizationList'
62+
authorizationList:
63+
type: object
64+
title: Authorizations List
65+
chainId:
66+
title: chainId
67+
description: Chain ID that this transaction is valid on.
68+
$ref: '#/components/schemas/uint'
69+
nonce:
70+
title: nonce
71+
$ref: '#/components/schemas/uint64'
72+
address:
73+
$ref: '#/components/schemas/address'
74+
yParity:
75+
title: yParity
76+
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.
77+
$ref: '#/components/schemas/uint'
78+
r:
79+
title: r
80+
$ref: '#/components/schemas/uint'
81+
s:
82+
title: s
83+
$ref: '#/components/schemas/uint'
6684
Transaction4844Unsigned:
6785
type: object
6886
title: EIP-4844 transaction.

0 commit comments

Comments
 (0)