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

feat: validator's withdrawal proof #51

Merged
merged 15 commits into from
Feb 19, 2024
Merged

feat: validator's withdrawal proof #51

merged 15 commits into from
Feb 19, 2024

Conversation

madlabman
Copy link
Contributor

@madlabman madlabman commented Jan 5, 2024

We've tentatively decided to hardcode via deployment the deneb's generalized indices. The motivation is:

  • BeaconBlock has 5 fields and has no changes since phase0;
  • BeaconState has 28 fields, so there are 4 fields left before shifting of a tree;
  • ExecutionPayloadHeader has 17 fields since deneb, so there's a huge gap to the future;
  • Arrays length changes are not expected (BUT who knows).

src/CSModule.sol Outdated Show resolved Hide resolved
@madlabman madlabman force-pushed the withdrawal-proof branch 2 times, most recently from cfa0da1 to 16a03be Compare January 10, 2024 18:03
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSModule.sol Outdated Show resolved Hide resolved
src/CSModule.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/GIProvider.sol Outdated Show resolved Hide resolved
Base automatically changed from withdrawal-methods to main January 11, 2024 09:02
@madlabman madlabman force-pushed the withdrawal-proof branch 2 times, most recently from 3629fe1 to 7dd1094 Compare January 11, 2024 13:10
@madlabman madlabman force-pushed the withdrawal-proof branch 14 times, most recently from 59c595b to eceb82f Compare January 31, 2024 17:30
@lidofinance lidofinance deleted a comment from dgusakov Jan 31, 2024
@lidofinance lidofinance deleted a comment from vgorkavenko Jan 31, 2024
@lidofinance lidofinance deleted a comment from vgorkavenko Jan 31, 2024
@lidofinance lidofinance deleted a comment from vgorkavenko Jan 31, 2024
@lidofinance lidofinance deleted a comment from vgorkavenko Jan 31, 2024
@madlabman madlabman marked this pull request as ready for review February 1, 2024 10:12
@madlabman madlabman requested a review from a team as a code owner February 1, 2024 10:12
src/CSVerifier.sol Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/ForkSelector.sol Outdated Show resolved Hide resolved
src/ForkSelector.sol Outdated Show resolved Hide resolved
src/GIProvider.sol Outdated Show resolved Hide resolved
@madlabman madlabman requested a review from vgorkavenko February 7, 2024 14:29
vgorkavenko
vgorkavenko previously approved these changes Feb 7, 2024
@madlabman madlabman requested a review from dgusakov February 7, 2024 16:37
src/lib/SSZ.sol Outdated Show resolved Hide resolved
src/GIProvider.sol Outdated Show resolved Hide resolved
src/GIProvider.sol Outdated Show resolved Hide resolved
src/GIProvider.sol Outdated Show resolved Hide resolved
src/ForkSelector.sol Outdated Show resolved Hide resolved
src/lib/Types.sol Show resolved Hide resolved
src/interfaces/ICSVerifier.sol Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
src/CSVerifier.sol Outdated Show resolved Hide resolved
@madlabman madlabman merged commit ce26593 into main Feb 19, 2024
4 checks passed
@madlabman madlabman deleted the withdrawal-proof branch February 19, 2024 11:29
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.

4 participants