Skip to content

Conversation

ferranbt
Copy link
Contributor

📝 Summary

This PR adds a unit test to validate that building blocks without transactions works.

pub async fn build_new_block_with_txs_timestamp(
&self,
txs: Vec<Bytes>,
no_tx_pool: Option<bool>,
Copy link
Collaborator

Choose a reason for hiding this comment

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

why an option? can just set true for build_new_block_with_no_tx_pool and false everywhere else

@ferranbt ferranbt merged commit 990ba53 into main Jul 15, 2025
2 checks passed
@ferranbt ferranbt deleted the test-no-tx-pool branch July 15, 2025 08:43
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.

2 participants