Skip to content

fix: macOS bitflags pin + engine amsterdam BAL fixtures#6

Open
edg-l wants to merge 2 commits into
mainfrom
fix/pin-bitflags-2.11
Open

fix: macOS bitflags pin + engine amsterdam BAL fixtures#6
edg-l wants to merge 2 commits into
mainfrom
fix/pin-bitflags-2.11

Conversation

@edg-l

@edg-l edg-l commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Two CI fixes for the externalized tooling.

1. Pin bitflags to 2.11.1 (macOS build)

The ef_tests blockchain suite fails to compile on macOS (Test - macos-15 in ethrex CI):

error: recursion limit reached while expanding `$crate::__bitflags_flag_name!`
  --> dispatch2-0.3.1/src/generated/mod.rs:1601
error: could not compile `dispatch2` (lib)

bitflags 2.12.0 deepened its macro expansion, pushing dispatch2 0.3.1's generated bitflags! blocks past the default recursion limit. dispatch2 is a macOS-only transitive dep and 0.3.1 is its latest release, so it can't be bumped. Pin bitflags back to 2.11.1 in Cargo.lock (lock-only; the ethrex workspace already builds dispatch2 0.3.1 fine on bitflags 2.11.1).

2. Point engine amsterdam fixtures at tests-bal@v7.2.0

Ports ethrex#6802. ef_tests/engine/.fixtures_url_amsterdam pinned snobal-devnet-6@v1.1.0, which predates the current BAL implementation, so make -C ef_tests/engine test failed ~8.5k fixtures. Point at tests-bal@v7.2.0 (same fixtures the Amsterdam hive jobs use); suite passes 83143/83143. Same tarball layout, no Makefile change.

Follow-up

After merge, bump TOOLING_REV in ethrex CI to the new tooling commit.

edg-l added 2 commits June 10, 2026 07:49
bitflags 2.12.0 breaks dispatch2 0.3.1 compilation on macOS with a
recursion-limit error in its bitflags! macro expansion. dispatch2 0.3.1
is the latest release, so pin bitflags to the last working version.
The Amsterdam overlay pinned snobal-devnet-6, which predates the current
BAL implementation, so the engine ef-test suite failed ~8.5k fixtures.
Point at tests-bal@v7.2.0 (what the Amsterdam hive jobs use); the suite
passes 83143/83143. Ports ethrex#6802 into the externalized tooling.
@edg-l edg-l changed the title fix: pin bitflags to 2.11.1 to fix macOS build fix: macOS bitflags pin + engine amsterdam BAL fixtures Jun 10, 2026
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.

1 participant