ethereum / ethereum/execution-apis

[Bug] Inconsistency in Deployed Page vs Code

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Io
Stars
1.1k
Forks
530
Avg merge
5d 8h
Merged PRs (30d)
9

Description

https://github.com/ethereum/execution-apis/blob/0c18fb04ddf78814c3d9f7c179f35434447f7332/src/schemas/block.yaml#L94-L103

This Block object says that it contains [TransactionInfo](https://github.com/ethereum/execution-apis/blob/0c18fb04ddf78814c3d9f7c179f35434447f7332/src/schemas/transaction.yaml#L329-L339) which contains fields like "from" and "hash" as **_required_**.

However, in the deployed api interface page: https://ethereum.github.io/execution-apis/api-documentation/, say under `eth_getBlockByNumber` the "FullTransactions" are of enum type "SignedTransaction" and do not contain the those fields.

Screenshot 2023-11-14 at 13 39 41

When testing the endpoint, say with:

sample request

```
curl -X POST $NODE_URL --data '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["0x119f996", true],"id":1}' | jq
```

sample response: http://jsonblob.com/1173956359015489536

We see that these fields are available.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.