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

cmd/evm: add requests/deposits to evm tool #39

Merged
merged 3 commits into from
Apr 24, 2024

Conversation

marioevz
Copy link

Adds requests root calculation and returns the deposits in the evm t8n command.

Currently there seems to be a behavior that the trie root is calculated with each element as:

rlp(DEPOSIT_REQUEST_TYPE + rlp([pubkey, ...])

instead of:

DEPOSIT_REQUEST_TYPE + rlp([pubkey, ...]

but I'm not sure if this is because of the code I added to cmd/evm/internal/t8ntool/execution.go, or something in the Requests type methods.

@marioevz
Copy link
Author

@lightclient added in 5535dc0 the fix to the requests root calculation issue I mentioned over discord, but let me know if it looks ok.

Copy link
Owner

@lightclient lightclient left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for spotting that rlp error.

@lightclient lightclient merged commit 85352ff into lightclient:eip-6110 Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants