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: generic data primitives block builder test framework #13522

Merged
merged 6 commits into from
Dec 27, 2024

Conversation

hoank101
Copy link
Contributor

Closes #13239

Copy link

codspeed-hq bot commented Dec 23, 2024

CodSpeed Performance Report

Merging #13522 will not alter performance

Comparing hoank101:feat/13239 (1705cee) with main (951e2fd)

Summary

✅ 77 untouched benchmarks

@hoank101
Copy link
Contributor Author

hi @emhane please help me review this PR

@@ -3417,7 +3420,8 @@ mod tests {
async fn test_tree_state_remove_before_finalized() {
let start_num_hash = BlockNumHash::default();
let mut tree_state = TreeState::new(start_num_hash);
let blocks: Vec<_> = TestBlockBuilder::default().get_executed_blocks(1..6).collect();
let blocks: Vec<_> =
TestBlockBuilder::<EthPrimitives>::default().get_executed_blocks(1..6).collect();
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'd like to introduce a TestBlockBuilder::eth function for this

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thank, i just updated

@hoank101 hoank101 requested a review from mattsse December 26, 2024 07:50
@mattsse mattsse added this pull request to the merge queue Dec 27, 2024
Merged via the queue into paradigmxyz:main with commit 0933e1b Dec 27, 2024
43 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.

Generic data primitives block builder test framework
2 participants