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

EIP7002 - WIP #13888

Closed
wants to merge 0 commits into from
Closed

EIP7002 - WIP #13888

wants to merge 0 commits into from

Conversation

james-prysm
Copy link
Contributor

@james-prysm james-prysm commented Apr 17, 2024

What type of PR is this?

Uncomment one line below and remove others.

Bug fix
Feature
Documentation
Other

What does this PR do? Why is it needed?

Which issues(s) does this PR fix?

Fixes #13849

PSM-262

Other notes for review

@james-prysm james-prysm added Blocked Blocked by research or external factors Electra electra hardfork labels Apr 17, 2024
@james-prysm james-prysm changed the title EIP7002 EIP7002 - WIP Apr 17, 2024
hasCorrectCredential := helpers.HasETH1WithdrawalCredential(validator)
isCorrectSourceAddress := bytes.Equal(validator.WithdrawalCredentials()[12:], withdrawalRequest.SourceAddress)
if !(hasCorrectCredential && isCorrectSourceAddress) {
return nil, errors.New("could not find correct withdrawal credential with source address")
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this should not return error caught by terence a few of these checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocked Blocked by research or external factors Electra electra hardfork
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pectra-devnet-0 tracker
1 participant