-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tracking] Hive engine-withdrawals
test suite
#1586
Comments
engine-withdrawals
engine-withdrawals
test suite
github-merge-queue bot
pushed a commit
that referenced
this issue
Jan 17, 2025
**Motivation** There are some hive tests under `ethereum/engine` simulation that are failing due to some mismatches between the implementation of some engine RPC endpoints and their specification. **Description** This PR modifies some engine RPC endpoints validations, to comply with [shangai](https://github.com/ethereum/execution-apis/blob/main/src/engine/shanghai.md) and [cancun](https://github.com/ethereum/execution-apis/blob/main/src/engine/cancun.md) official ethereum engine specification. Those endpoints are: * `engine_newPayloadV1`, `engine_newPayloadV2`, `engine_newPayloadV3` * `engine_forkChoiceUpdatedV1`, `engine_forkChoiceUpdatedV2`, `engine_forkChoiceUpdatedV3` * `engine_getPayloadV1`, `engine_getPayloadV2`, `engine_getPayloadV3` This PR fixes some of the failing tests mentioned on #1586. Those tests are: * Withdrawals Fork on Block 2 (Paris) (ethrex) * Withdrawals Fork on Block 3 (Paris) (ethrex) If you want, you can run only those tests by using the following command: ```bash make run-hive SIMULATION=ethereum/engine TEST_PATTERN="engine-withdrawals/(Withdrawals Fork on Block 2|Withdrawals Fork on Block 3)" ``` --------- Co-authored-by: Julian Ventura <julian.ventura@lambdaclass.com>
github-merge-queue bot
pushed a commit
that referenced
this issue
Feb 25, 2025
**Motivation** The hive tests from `engine-withdrawals` were failing with a panic because we were asuming only a single RLPRequest could be received but the test sent an array of requets **Description** Introduce a wrapper struct that contains a `Single` type for single `RPCRequest` and `Multiple` for an array of requests, so serde can deserialize into the correct one. If we have an array of request we execute them sequentially. Then return a json encoded array of responses. The function `rpc_response` was also changed to return `serde_json::Value` because it was returning an incorrect value when using it to create the array of responses. This PR fixes the following tests from `engine-withdrawals`: - "Withdrawals Fork on Block 1 - 1 Block Re-Org" - "Withdrawals Fork on Block 1 - 8 Block Re-Org NewPayload" - "Withdrawals Fork on Block 8 - 10 Block Re-Org NewPayload" - "Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org" - "Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org" Advances #1586
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently failing tests:
The text was updated successfully, but these errors were encountered: