Skip to content
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

Open
1 of 31 tasks
fkrause98 opened this issue Dec 30, 2024 · 0 comments
Open
1 of 31 tasks

[Tracking] Hive engine-withdrawals test suite #1586

fkrause98 opened this issue Dec 30, 2024 · 0 comments
Labels
ef-tests Hive tests, execution-spec-tests L1

Comments

@fkrause98
Copy link
Contributor

fkrause98 commented Dec 30, 2024

make run-hive SIMULATION=ethereum/engine TEST_PATTERN="engine-withdrawals"
cat $(ls -t hive/workspace/logs/*-*.json | head -n1) | jq '.testCases[] | select(.summaryResult.pass == false) | .name'

Currently failing tests:

  • Empty Withdrawals #1605
  • Corrupted Block Hash Payload (INVALID) #1608
  • Sync after 2 blocks - Withdrawals on Block 1 - Single Withdrawal Account - No Transactions
  • Sync after 2 blocks - Withdrawals on Block 1 - Single Withdrawal Account
  • Sync after 2 blocks - Withdrawals on Block 2 - Multiple Withdrawal Accounts - No Transactions
  • Sync after 2 blocks - Withdrawals on Block 2 - Multiple Withdrawal Accounts
  • Sync after 128 blocks - Withdrawals on Block 2 - Multiple Withdrawal Accounts
  • Withdrawals Fork on Block 1 - 1 Block Re-Org
  • Withdrawals Fork On Genesis
  • Withdrawals Fork on Block 1 - 8 Block Re-Org NewPayload
  • Withdrawals Fork on Block 1 - 8 Block Re-Org, Sync
  • Withdrawals Fork on Block 8 - 10 Block Re-Org NewPayload
  • Withdrawals Fork on Block 8 - 10 Block Re-Org Sync
  • Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org
  • Withdrawals Fork on Canonical Block 8 / Side Block 7 - 10 Block Re-Org Sync
  • Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org
  • Withdrawals Fork on Canonical Block 8 / Side Block 9 - 10 Block Re-Org Sync
  • GetPayloadBodiesByRange
  • Withdrawals Fork on Block 1
  • GetPayloadBodies After Sync
  • GetPayloadBodiesByRange (Sidechain)
  • GetPayloadBodiesByRange (Empty Transactions/Withdrawals)
  • GetPayloadBodiesByHash
  • GetPayloadBodiesByHash (Empty Transactions/Withdrawals)
  • GetPayloadBodies Parallel
  • Withdrawals Fork on Block 2
  • Withdrawals Fork on Block 3
  • Withdraw to a single account
  • Withdraw to two accounts
  • Withdraw many accounts
  • Withdraw zero amount
@fkrause98 fkrause98 changed the title [Tracking] Hive engine-withdrawals [Tracking] Hive engine-withdrawals test suite Dec 30, 2024
@mpaulucci mpaulucci pinned this issue Jan 2, 2025
@mpaulucci mpaulucci added L1 ef-tests Hive tests, execution-spec-tests labels Jan 9, 2025
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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ef-tests Hive tests, execution-spec-tests L1
Projects
Status: No status
Development

No branches or pull requests

2 participants