feat: update data column sidecars for gloas#8938
Conversation
Summary of ChangesHello @nflaig, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request integrates support for 'gloas' data column sidecars, a new format with a simplified structure, into the beacon node. The changes involve a significant refactoring effort to introduce a generic Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for the gloas fork by updating the handling of DataColumnSidecar. The changes are extensive, refactoring many parts of the codebase to accommodate the new sidecar structure alongside the existing fulu structure. Key changes include using a union type for DataColumnSidecar, adding type guards and helper functions to abstract fork-specific logic, and updating validation and processing flows. Additionally, this PR fixes a few bugs related to state management in BlockInputColumns. The code is well-structured and the changes are consistent across the affected files.
lodekeeper
left a comment
There was a problem hiding this comment.
Reviewed the Gloas data column sidecar changes. Overall the fork-agnostic abstraction pattern is solid — accessor helpers, type guards, and split validation functions are the right approach.
Two significant issues found (both around the Gloas gossip validation path), plus several suggestions for completeness.
packages/beacon-node/src/chain/seenCache/seenGossipBlockInput.ts
Outdated
Show resolved
Hide resolved
…cars # Conflicts: # packages/beacon-node/src/chain/seenCache/seenGossipBlockInput.ts # packages/beacon-node/src/network/processor/gossipHandlers.ts
Performance Report✔️ no performance regression detected Full benchmark results
|
No description provided.