Skip to content

Commit

Permalink
fixed issues and made it tuple
Browse files Browse the repository at this point in the history
  • Loading branch information
Redidacove committed Sep 30, 2024
1 parent 8d43c26 commit eee7971
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions src/schemas/transaction.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Transaction7702Signed:
type: object
title: EIP-7702 transaction.
title: EIP-7702 transaction
required:
- type
- nonce
Expand Down Expand Up @@ -57,20 +57,21 @@ Transaction7702Signed:
$ref: '#/components/schemas/AccessList'
chainId:
title: chainId
description: Chain ID that this transaction is valid on.
description: Chain ID that this transaction is valid on
$ref: '#/components/schemas/uint'
authorizationList:
title: authorizationList
$ref: '#/components/schemas/AuthorizationList'
title: authorizationList
$ref: '#/components/schemas/AuthorizationList'
AuthorizationList:
title: Authorization List
description: List of authorizations for the transaction.
description: List of authorizations for the transaction
type: array
items:
title: Authorizations List
items:
type: object
properties:
chainId:
title: chainId
description: Chain ID on which this transaction is valid.
description: Chain ID on which this transaction is valid
$ref: '#/components/schemas/uint'
nonce:
title: nonce
Expand All @@ -79,14 +80,21 @@ AuthorizationList:
$ref: '#/components/schemas/address'
yParity:
title: yParity
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature.
description: The parity (0 for even, 1 for odd) of the y-value of the secp256k1 signature
$ref: '#/components/schemas/uint'
r:
title: r
$ref: '#/components/schemas/uint'
s:
title: s
$ref: '#/components/schemas/uint'
required:
- chainId
- nonce
- address
- yParity
- r
- s
Transaction4844Unsigned:
type: object
title: EIP-4844 transaction.
Expand Down Expand Up @@ -140,13 +148,13 @@ Transaction4844Unsigned:
$ref: '#/components/schemas/AccessList'
blobVersionedHashes:
title: blobVersionedHashes
description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs.
description: List of versioned blob hashes associated with the transaction's EIP-4844 data blobs
type: array
items:
$ref: '#/components/schemas/hash32'
chainId:
title: chainId
description: Chain ID that this transaction is valid on.
description: Chain ID that this transaction is valid on
$ref: '#/components/schemas/uint'
AccessListEntry:
title: Access list entry
Expand Down

0 comments on commit eee7971

Please sign in to comment.