Skip to content

Commit

Permalink
Fix missing required fields in AccessListEntry
Browse files Browse the repository at this point in the history
According to https://eips.ethereum.org/EIPS/eip-2930
> For the transaction to be valid, accessList must be of type [[{20 bytes}, [{32 bytes}...]]...]
  • Loading branch information
pgherveou committed Jun 11, 2024
1 parent 590888b commit 0805683
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/schemas/transaction.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ AccessListEntry:
title: Access list entry
type: object
additionalProperties: false
required:
- address
- storageKeys
properties:
address:
$ref: '#/components/schemas/address'
Expand Down

0 comments on commit 0805683

Please sign in to comment.