Repository navigation
chore(deps): align Anchor with Lighthouse v8.4.0-rc.1 and libp2p 0.58 - #1368
Conversation
|
Queue requested — the merge queue status continues in this comment ↓. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## unstable #1368 +/- ##
============================================
- Coverage 81.21% 80.52% -0.70%
============================================
Files 180 180
Lines 41834 42373 +539
============================================
+ Hits 33976 34119 +143
- Misses 7858 8254 +396
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
818e49d to
b3a187a
Compare
⏳ Waiting for queue conditionsQueue rule
Queue rule
|
☑️ This pull request is already mergedDetailsIts changes are already in its base branch. To merge other changes, open a new pull request with them. |
|
Verified on Anchor With one Anchor operator stopped, the other three published aggregates at slots 134 and 135. The same operator rejoined with its original identity and contributed to the slot-139 commit. Its retry of an already-submitted proposer preference timed out. The standalone config-crate test also needs the network crate’s ENR features on this revision. Combined-commit CI |
Problem, Evidence, and Context
Anchor is pinned to Lighthouse v8.3.2 and a libp2p 0.57 fork. On clean
unstableat573088fb, Rust 1.100.1 rejects theNetworkBehaviourderive under CI’s warning flags. The macro emits calls that forward or wrap uninhabited handler events. This blocks #1364 before its registration tests can run. Original failureChange Overview
v8.4.0-rc.1(a7de6b0a), and align the root SSZ patch with it. Lighthouse release9eb8691c). Its derive 0.37.0 scopes the lint allowance to generated code. Lighthouse’s libp2p upgradeRisks, Trade-offs, and Mitigations
The RC schedules Gloas at epoch 143616 for built-in Hoodi. This upgrade brings in that schedule and changes the code used for peer handling and database access. Anchor’s configured gossip control-message budget remains 128 KiB. Upstream also caps each inbound control-message type at 500 entries per RPC. Existing network, database migration, and Gloas Go fixture tests cover the affected paths. Hoodi config
Validation
On clean
unstable(573088fb),RUSTFLAGS='-D warnings -C debuginfo=0' cargo +1.100.1 check --locked -p networkexited 101 at the derive. The identical command passed on7a3c9700.On Rust 1.100.1,
make lintpassed withRUSTFLAGS='-D warnings -C debuginfo=0'andCARGO_INCREMENTAL=1. Lockfile freshness, vendoring andmake audit-CIalso passed. The same audit policy reported 36 findings on the baseline. Ubuntu lint and auditUbuntu passed all 1,028 tests in each of
make nextest-debug,make nextest-releaseandmake coverage. Debug and release used the same warning flags as lint. Coverage usedRUSTFLAGS='-D warnings'and uploaded the LCOV report. The tests include the built-in network epochs, database migrations, networking, and the Gloas Go fixture. Debug · Release · CoverageRUSTFLAGS='-D warnings -C debuginfo=0' cargo +1.92.0 check --locked --workspacepassed locally. The Rust 1.92.0 workspace check also passed on Ubuntu. MSRVThe hosted local testnet passed its Assertoor checks on the final head. Local testnet
Rollback
Revert the dependency and MSRV update together. A rollback across Hoodi activation needs review against the active network fork schedule.