Skip to content

Conversation

@bomanaps
Copy link
Member

@bomanaps bomanaps commented Jan 2, 2026

closes #452

@g11tech g11tech changed the title Add comprehensive rebase tests for nodes weights and attestations add comprehensive rebase tests for nodes weights and attestations Jan 5, 2026
@bomanaps bomanaps requested a review from g11tech January 5, 2026 15:28

const mockImport = @import("./mock.zig");
pub const genMockChain = mockImport.genMockChain;
pub const MockChainData = mockImport.MockChainData;
Copy link
Member

Choose a reason for hiding this comment

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

why is this required here?

Copy link
Member Author

Choose a reason for hiding this comment

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

forkchoice.zig uses the type stf.MockChainData (line 1393), external modules need to access the type through stf.MockChainData, is there a better way you think I can handle this?

@bomanaps bomanaps requested a review from g11tech January 7, 2026 08:04
@g11tech g11tech merged commit 3909e06 into blockblaz:main Jan 7, 2026
12 checks passed
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.

Add comprehensive test coverage for ForkChoice rebase function with attestation tracking validation

2 participants