Skip to content
This repository was archived by the owner on Jan 12, 2026. It is now read-only.

chore: merge upstream op-rbuilder#41

Closed
danyalprout wants to merge 7 commits intomainfrom
merge-upstream-2
Closed

chore: merge upstream op-rbuilder#41
danyalprout wants to merge 7 commits intomainfrom
merge-upstream-2

Conversation

@danyalprout
Copy link
Collaborator

📝 Summary

Pull in the latest op-rbuilder changes.

💡 Motivation and Context

Pull in the latest changes before migrating to base/node-reth.

✅ I have completed the following steps:

  • Run make lint
  • Run make test
  • Added tests (if applicable)

0x00101010 and others added 7 commits December 4, 2025 18:37
* use rollup-boost-core crate

* use rollup-boost-types

* Update Cargo.toml

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* use op-alloy types, remove rollup-boost entirely

* cleanup

* cleanup

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix flashblocks timing and tests

* formatting
…ransactions (flashbots#347)

* feat(tests): add BuilderTxValidation utility for validating builder transactions

Adds `BuilderTxValidation` trait to test framework that provides:
- `find_builder_txs()`: Returns info about builder transactions in a block
- `has_builder_tx()`: Quick check if block contains builder transactions
- `assert_builder_tx_count()`: Assert expected number of builder transactions

Also adds `block_includes_builder_transaction` test demonstrating the utility.

Closes flashbots#88

* test: add BuilderTxValidation assertions to existing tests

Updates smoke, flashblocks, and revert tests to use the BuilderTxValidation
utility for validating builder transactions in blocks:

- smoke.rs: Added builder tx count assertions to chain_produces_blocks,
  chain_produces_big_tx_with_gas_limit, and chain_produces_big_tx_without_gas_limit
- flashblocks.rs: Added builder tx count assertions to smoke_dynamic_base,
  smoke_dynamic_unichain, smoke_classic_unichain, and smoke_classic_base
- revert.rs: Added builder tx validation to monitor_transaction_gc,
  disabled, and allow_reverted_transactions_without_bundle tests

* fix: move builder tx validation before transactions move

Fixes borrow of partially moved value error by calling
assert_builder_tx_count before block.transactions is moved.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants