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

Transition Tool Updates for EIPs 6110, 7002 and 7251 #982

Open
marioevz opened this issue Aug 5, 2024 · 0 comments
Open

Transition Tool Updates for EIPs 6110, 7002 and 7251 #982

marioevz opened this issue Aug 5, 2024 · 0 comments
Assignees
Labels
A-tool Area: tooling C-bug Category: this is a bug, deviation, or other problem.

Comments

@marioevz
Copy link
Member

marioevz commented Aug 5, 2024

What was wrong?

For Prague, there are three EIPs where there is extra header information that the tests need to verify during generation:

  • Deposit requests
  • Withdrawal requests
  • Consolidation requests

These need to be included in the result object from the transition tool back to EEST in the following format:

...
    "depositRequests": [
        {
            "pubkey": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "withdrawalCredentials": "0x0000000000000000000000000000000000000000000000000000000000000001",
            "amount": "0x773594000",
            "signature": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002",
            "index": "0x0"
        }
    ],
    "withdrawalRequests": [
        {
            "sourceAddress": "0x0000000000000000000000000000000000001000",
            "validatorPubkey": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001",
            "amount": "0x0"
        }
    ],
    "consolidationRequests": [
        {
            "sourceAddress": "0x0000000000000000000000000000000000001000",
            "sourcePubkey": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
            "targetPubkey": "0x000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001"
        }
    ],
...

How can it be fixed?

After block execution, and EELS t8n tool has processed all transactions, this information needs to be extracted from the logs and embedded in the result object.

@marioevz marioevz added A-tool Area: tooling C-bug Category: this is a bug, deviation, or other problem. labels Aug 5, 2024
@gurukamath gurukamath self-assigned this Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-tool Area: tooling C-bug Category: this is a bug, deviation, or other problem.
Projects
None yet
Development

No branches or pull requests

2 participants