Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix eth_getStorageAt and uint256 definitions #509

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions src/eth/state.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
- name: Storage slot
required: true
schema:
$ref: '#/components/schemas/uint256'
$ref: '#/components/schemas/bytesMax32'
- name: Block
required: false
schema:
$ref: '#/components/schemas/BlockNumberOrTagOrHash'
result:
name: Value
schema:
$ref: '#/components/schemas/bytes'
$ref: '#/components/schemas/bytes32'
- name: eth_getTransactionCount
summary: Returns the number of transactions sent from an address.
params:
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/base-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ uint64:
uint256:
title: hex encoded 256 bit unsigned integer
type: string
pattern: ^0x([1-9a-f]+[0-9a-f]{0,31})|0$
pattern: ^0x([1-9a-f]+[0-9a-f]{0,63})|0$
hash32:
title: 32 byte hex value
type: string
Expand Down