You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an example, take debug_getBadBlocks (alphabetically, the first method in the spec)
- name: debug_getBadBlockssummary: Returns an array of recent bad blocks that the client has seen on the network.params: []result:
name: Blocksschema:
title: Bad block arraytype: arrayitems:
$ref: '#/components/schemas/BadBlock'
As an example, take
debug_getBadBlocks
(alphabetically, the first method in the spec)https://github.com/ethereum/execution-apis/blob/v1.0.0-beta.4/src/debug/getters.yaml#L82-L91
BadBlock
looks likehttps://github.com/ethereum/execution-apis/blob/v1.0.0-beta.4/src/schemas/block.yaml#L140-L146
But in
alloy
, we return aVec<Block>
:alloy/crates/provider/src/ext/debug.rs
Line 30 in b621af0
This is the wrong struct (there's no
BadBlock
struct anyway)The text was updated successfully, but these errors were encountered: