Skip to content

Commit

Permalink
added authlist type and applied suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
Redidacove committed Sep 30, 2024
1 parent 132e169 commit 8d43c26
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions src/schemas/transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Transaction7702Signed:
- accessList
- blobVersionedHashes
- chainId
- authorization list
- authorizationlist
properties:
type:
title: type
Expand Down Expand Up @@ -60,15 +60,21 @@ Transaction7702Signed:
description: Chain ID that this transaction is valid on.
$ref: '#/components/schemas/uint'
authorizationList:
type: object
title: authorizationList
$ref: '#/components/schemas/AuthorizationList'
AuthorizationList:
title: Authorization List
description: List of authorizations for the transaction.
type: array
items:
title: Authorizations List
chainId:
title: chainId
description: Chain ID that this transaction is valid on.
description: Chain ID on which this transaction is valid.
$ref: '#/components/schemas/uint'
nonce:
title: nonce
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint'
address:
$ref: '#/components/schemas/address'
yParity:
Expand Down Expand Up @@ -405,6 +411,7 @@ TransactionLegacySigned:
$ref: '#/components/schemas/uint'
TransactionSigned:
oneOf:
- $ref: '#/components/schemas/Transaction7702Signed'
- $ref: '#/components/schemas/Transaction4844Signed'
- $ref: '#/components/schemas/Transaction1559Signed'
- $ref: '#/components/schemas/Transaction2930Signed'
Expand Down

0 comments on commit 8d43c26

Please sign in to comment.