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

Use single library for SSZ, bls-to-execution-change and presigned-exit-message #54

Merged
merged 7 commits into from
Aug 23, 2024

Conversation

mksh
Copy link
Contributor

@mksh mksh commented Aug 20, 2024

This is pre-requisite for #53

The command bls-to-execution-change was not working before, so this adds signature tests and verifies action works with real Holesky validator https://holesky.beaconcha.in/validator/a7c6468e36b0cc23580fd5c4e44b5505db677cfeb2692a5d7992bddac4706981f0bdaf568d565703d6e68e0211912349#deposits

A future pre-signed exit message command will use the same genesis validator root values, and reuse most of signing logic, so it is important to cleanup bls-to-execution-change before adding new functionality.

зображення

@mksh
Copy link
Contributor Author

mksh commented Aug 20, 2024

The most important part of cleanup is removing ssz-rs fork https://github.com/ChorusOne/ssz-rs and switching to use Lighthouse SSZ libraries everywhere.

@mksh mksh force-pushed the fixes-bls-to-execution-change branch from f2b0c6a to e4f1882 Compare August 20, 2024 22:47
@mksh mksh changed the title Make bls-to-execution-change command work Cleanup old ssz-rs fork and fix bls-to-execution-change Aug 20, 2024
@mksh mksh changed the title Cleanup old ssz-rs fork and fix bls-to-execution-change Use single library for SSZ and fix bls-to-execution-change cmd Aug 20, 2024
@mksh mksh marked this pull request as ready for review August 21, 2024 00:03
Copy link
Contributor

@jenpaff jenpaff 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 adding extensive tests

* Command to generate presigned exit message

* Docs for presigned-exit-message

* Code review feedback
@mksh mksh changed the title Use single library for SSZ and fix bls-to-execution-change cmd Use single library for SSZ, bls-to-execution-change and presigned-exit-message Aug 23, 2024
@mksh mksh force-pushed the fixes-bls-to-execution-change branch from b730a4c to a372991 Compare August 23, 2024 14:45
- Fix presigned-exit-message format & beacon node sending
- Rename Operator traits -> validator
- Rename operator module -> operations
@mksh mksh merged commit ae15e9b into main Aug 23, 2024
2 checks passed
@mksh mksh deleted the fixes-bls-to-execution-change branch August 23, 2024 21:20
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.

3 participants