ethereum / ethereum/execution-apis
[Bug] Inconsistency in Deployed Page vs Code
- 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.
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
Assessment
This issue has not been assessed yet.