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: LightClientSnapshot #74

Merged
merged 3 commits into from
Jul 3, 2024
Merged

Conversation

tchataigner
Copy link
Contributor

@tchataigner tchataigner commented Jun 28, 2024

This PR implement the LightClientSnapshot data structure in the light-client crate.

It depends on 3 main data structures implemented in core:

Closes #58

@tchataigner tchataigner changed the title Feature/light client snapshot feat: LightClientSnapshot Jun 28, 2024
@tchataigner tchataigner force-pushed the feature/light-client-snapshot branch 3 times, most recently from 71caec4 to e5349d6 Compare July 1, 2024 09:07
Signed-off-by: Thomas Chataigner <[email protected]>
@tchataigner tchataigner force-pushed the feature/light-client-snapshot branch from e5349d6 to fa39963 Compare July 1, 2024 09:11
wwared
wwared previously approved these changes Jul 1, 2024
Copy link
Contributor

@wwared wwared left a comment

Choose a reason for hiding this comment

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

Looks great! Tiny doc typos/suggestions in-line below (feel free to ignore and fix in future PRs)

ethereum/core/src/crypto/mod.rs Outdated Show resolved Hide resolved

/// `BeaconBlockHeader` represents the header of a beacon block.
///
/// From [the CL specifications](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#beaconblockheader).
Copy link
Contributor

Choose a reason for hiding this comment

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

tiny suggestion: It took me a second to realize "CL" means "consensus layer", we could get rid of this acronym

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Alright, let me rephrase !

ethereum/core/src/types/mod.rs Show resolved Hide resolved
@tchataigner tchataigner requested a review from wwared July 3, 2024 12:26
@tchataigner tchataigner merged commit 1e05ca6 into dev Jul 3, 2024
4 checks passed
@tchataigner tchataigner deleted the feature/light-client-snapshot branch July 3, 2024 12:56
tchataigner added a commit that referenced this pull request Jul 30, 2024
* feat: LightClientSnapshot (#58)

Signed-off-by: Thomas Chataigner <[email protected]>

* Update ethereum/core/src/crypto/mod.rs

Co-authored-by: wwared <[email protected]>

* docs: fix misleading acronym

---------

Signed-off-by: Thomas Chataigner <[email protected]>
Co-authored-by: wwared <[email protected]>
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.

Implement LightClientSnapshot
2 participants