Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/eth/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
- name: Storage slot
required: true
schema:
# this used to require strict uint256, but usage of leading zero is commonplace,
# so we can't disallow it.
$ref: '#/components/schemas/bytesMax32'
# usage of leading zero is commonplace, so we allow it.
$ref: '#/components/schemas/uint256'
- name: Block
required: true
schema:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ StorageProof:
properties:
key:
title: key
$ref: '#/components/schemas/bytesMax32'
$ref: '#/components/schemas/uint256'
value:
title: value
$ref: '#/components/schemas/uint256'
Expand Down
Loading