Skip to content
Merged
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
24 changes: 24 additions & 0 deletions src/debug/getters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,30 @@
value:
- '0xf901a60182c70eb9010000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000002000000000000000000000008000000000000000000000000000000000040000000001000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000100000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000002000000000100000000000000000000000800000000000000000000000000000000000000000000000000000000000000000000020000000000000000f89df89b947753cfad258efbc52a9a1452e42ffbce9be486cbf863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa00000000000000000000000000828d0386c1122e565f07dd28c7d1340ed5b3315a000000000000000000000000021849e99c31e3113a489d7eb0fd4d8c0edbe47afa00000000000000000000000000000000000000000000000000000000029b92700'
- '0xf901a70183018e1cb9010000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000002000000000000000000000008000000000000000000000000000000000040000000001000000000000000000000000000000000000000000000000010000000000000000000000000000000008000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000200000002000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000020000000000000000f89df89b947753cfad258efbc52a9a1452e42ffbce9be486cbf863a0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa00000000000000000000000000828d0386c1122e565f07dd28c7d1340ed5b3315a000000000000000000000000069cda9d6cc6ce05982d0b4fdf9480f2991f39b5aa00000000000000000000000000000000000000000000000000000000029b92700'
- name: debug_getRawBlockAccessList
summary: Returns the RLP-encoded EIP-7928 block access list for a given block.
params:
- name: Block
required: true
schema:
$ref: '#/components/schemas/BlockNumberOrTag'
errors:
- code: 4444
message: Pruned history unavailable
- code: -32001
message: Resource not found
result:
name: Block access list RLP
schema:
$ref: '#/components/schemas/bytes'
examples:
- name: debug_getRawBlockAccessList example
params:
- name: Block
value: 'latest'
result:
name: Block access list RLP
value: '0xc0'
- name: debug_getBadBlocks
summary: Returns an array of recent bad blocks that the client has seen on the network.
params: []
Expand Down
4 changes: 2 additions & 2 deletions src/eth/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,8 @@
errors:
- code: 4444
message: Pruned history unavailable
- code: 4445
message: Block access list not available for pre-Amsterdam blocks
- code: -32001
message: Resource not found
examples:
- name: eth_getBlockAccessList example
params:
Expand Down
4 changes: 4 additions & 0 deletions src/schemas/base-types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ uint:
title: hex encoded unsigned integer
type: string
pattern: ^0x(0|[1-9a-f][0-9a-f]*)$
uint32:
title: hex encoded 32 bit unsigned integer
type: string
pattern: ^0x(0|[1-9a-f][0-9a-f]{0,7})$
uint64:
title: hex encoded 64 bit unsigned integer
type: string
Expand Down
8 changes: 4 additions & 4 deletions src/schemas/block-access-list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ StorageChange:
additionalProperties: false
properties:
index:
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint32'
value:
$ref: '#/components/schemas/hash32'
SlotChanges:
Expand All @@ -33,7 +33,7 @@ BalanceChange:
additionalProperties: false
properties:
index:
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint32'
value:
$ref: '#/components/schemas/uint256'
NonceChange:
Expand All @@ -45,7 +45,7 @@ NonceChange:
additionalProperties: false
properties:
index:
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint32'
value:
$ref: '#/components/schemas/uint64'
CodeChange:
Expand All @@ -57,7 +57,7 @@ CodeChange:
additionalProperties: false
properties:
index:
$ref: '#/components/schemas/uint64'
$ref: '#/components/schemas/uint32'
code:
$ref: '#/components/schemas/bytes'
AccountAccess:
Expand Down
3 changes: 3 additions & 0 deletions src/schemas/block.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Block:
requestsHash:
title: EIP-7685 requests hash
$ref: '#/components/schemas/hash32'
blockAccessListHash:
title: EIP-7928 block access list hash
$ref: '#/components/schemas/hash32'
BlockTag:
title: Block tag
type: string
Expand Down
Loading