- https://github.com/ethereum/execution-apis/releases/tag/v1.0.0-beta.4
This was already partially applied, the following commits were missing:
- update the doc of eth_getBalance to put block as required parameters
- schemas/filter: fixup some bugs in null filter topics and address
- tests: regenerate tests with new rpctestgen chain
- tests: add forkenv.json for hive
- tests: add headfcu.json
- tests: add comments in tests
- Specify Client Versions on Engine API
- Add eth_blobBaseFee; add blobs to eth_feeHistory
- Added engine_getPayloadV4 and engine_newPayloadV4 for Prague
- Update receipt.yaml to title instead of name
- Move EIP-6110 to Prague
- Add EIP-7251 to Prague
- engine: rename for 7002 partial withdrawals and 7685 requests
The `writeValue` added for `BlockNumber` in #136 interferes with other
`uint64` because `BlockNumber` is not `distinct`. Marking it `distinct`
avoids polluting global serialization logic.
The test is already included in previous commit of
test_execution_api fix. I separate the commit to let
users of this library aware of this changes.
This changes is also needed in eth hive test of rpc compat simulator.
* Replace eth_getBlockReceipts return type with Opt[T] instead of Option[T]
reason:
Option[T] failed to compile when using nim v2
it is related to ref object. But also hard to reproduce outside
combination of nim-json-serialization + nim-json-rpc + something
* Add note about nim v2 regression
* Add test case of eth_getBlockReceipts usage
In #108 a regression got introduced, resulting in `fromBlock`, `toBlock`
and `blockHash` no longer being sent when a client calls `eth_getLogs`.
This may break the deposits import process in `nimbus-eth2`, resulting
in messages such as:
```
ERR 2024-02-06 19:52:34.474+01:00 The Eth1 chain is not synced ourDepositsCount=0 targetDepositsCount=403
```
Fixing the regression restores successful import messages:
```
INF 2024-02-06 22:12:14.863+01:00 Eth1 sync progress topics="elmon" blockNumber=1349452 depositsProcessed=3
```
`blobGasUsed` is listed before `excessBlobGas`. Adjusting the test to
use the same field order to make it easier to review (consistency).
No semantic changes.
* Fix problem with contract out of assets
* Add nully value json test
* Fix bug with passing null to a few functions
* Typesafe U256 parsing
* Update readme for the web3 to include runner info
* Cleanup commits
Strip out unused JSON
Update comment
Remove echo
Added DynamicBytes test
More correct naming
Remove one extra double check
* Add specific object tests
* Ensure we cover different status types
* Add header comments
* Cleanup
* Add more tests
* Cleanup
* Revert docs
* Nimpretty file
* Fix issue in base stew
* Add tests
* Sorting
* Work on tests
* Move items to the correct location
* Add TODO
* Add all test executables
* Work on generating tests
* Push latest execution API changes
* Work on eth_call test
* Fix source type
* Latest
* Add many more tests
* Add more tests
* Revert "from" to "source"
* Try fix types
* Split to types which fail and those which dont
* Cleanup
* Remove whispher types again
* re-remove whisper
* Add more eth_api signature
* Readding executions-apis submodule
* Disable test_execution_api
* Nitpick
* add handlers
* Add last line to handler
* Some handler pass
* Finally all tests pass
* Add the test to all_tests
* Consisten style
* Turn on submodule downloading in CI
* Temporary workaround of get eth_getBlockReceipts for nim 2.0
---------
Co-authored-by: jangko <jangko128@gmail.com>