Skip to content

Commit d3b70ce

Browse files
Redidacovefjl
authored andcommitted
fixed issues and made it tuple
1 parent 7972d81 commit d3b70ce

File tree

1 file changed

+19
-11
lines changed

1 file changed

+19
-11
lines changed

src/schemas/transaction.yaml

Lines changed: 19 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Transaction7702Signed:
22
type: object
3-
title: EIP-7702 transaction.
3+
title: EIP-7702 transaction
44
required:
55
- type
66
- nonce
@@ -57,20 +57,21 @@ Transaction7702Signed:
5757
$ref: '#/components/schemas/AccessList'
5858
chainId:
5959
title: chainId
60-
description: Chain ID that this transaction is valid on.
60+
description: Chain ID that this transaction is valid on
6161
$ref: '#/components/schemas/uint'
6262
authorizationList:
63-
title: authorizationList
64-
$ref: '#/components/schemas/AuthorizationList'
63+
title: authorizationList
64+
$ref: '#/components/schemas/AuthorizationList'
6565
AuthorizationList:
6666
title: Authorization List
67-
description: List of authorizations for the transaction.
67+
description: List of authorizations for the transaction
6868
type: array
69-
items:
70-
title: Authorizations List
69+
items:
70+
type: object
71+
properties:
7172
chainId:
7273
title: chainId
73-
description: Chain ID on which this transaction is valid.
74+
description: Chain ID on which this transaction is valid
7475
$ref: '#/components/schemas/uint'
7576
nonce:
7677
title: nonce
@@ -79,14 +80,21 @@ AuthorizationList:
7980
$ref: '#/components/schemas/address'
8081
yParity:
8182
title: yParity
82-
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.
83+
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature
8384
$ref: '#/components/schemas/uint'
8485
r:
8586
title: r
8687
$ref: '#/components/schemas/uint'
8788
s:
8889
title: s
8990
$ref: '#/components/schemas/uint'
91+
required:
92+
- chainId
93+
- nonce
94+
- address
95+
- yParity
96+
- r
97+
- s
9098
Transaction4844Unsigned:
9199
type: object
92100
title: EIP-4844 transaction.
@@ -141,13 +149,13 @@ Transaction4844Unsigned:
141149
$ref: '#/components/schemas/AccessList'
142150
blobVersionedHashes:
143151
title: blobVersionedHashes
144-
description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs.
152+
description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs
145153
type: array
146154
items:
147155
$ref: '#/components/schemas/hash32'
148156
chainId:
149157
title: chainId
150-
description: Chain ID that this transaction is valid on.
158+
description: Chain ID that this transaction is valid on
151159
$ref: '#/components/schemas/uint'
152160
AccessListEntry:
153161
title: Access list entry

0 commit comments

Comments
 (0)