-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Conversation
CodSpeed Performance ReportMerging #13522 will not alter performanceComparing Summary
|
hi @emhane please help me review this PR |
crates/engine/tree/src/tree/mod.rs
Outdated
@@ -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(); |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank, i just updated
Closes #13239