Commit 65825bb
feat: adapt source and tests to reth 1.11.1 API changes
Port the source and test-utils changes required by the reth 1.11.1 /
Tsuki upgrade (mirrors scroll-tech/rollup-node scroll-tech#500):
- Migrate off the removed spawn / spawn_critical task helpers. pprof
stays critical via spawn_critical_task; db_maintenance and
scroll_network_manager use spawn_task to preserve their original
non-critical behavior (a plain rename to spawn_critical_task would
silently tear down the node if the network manager returns).
- Implement RpcHandleProvider::rpc_handle_mut on ScrollAddOnsHandle.
- Replace TaskManager with TaskExecutor in the node test harness, and
build it with TaskExecutor::test() (lightweight 2-thread pools) rather
than ::default(), which would allocate full CPU-sized pools per node
and blow up thread counts on high-core CI under --all-features. Move
the graceful-shutdown closure accordingly.
- Rename TransactionTestContext::transfer_tx_nonce_bytes to
transfer_tx_bytes_with_nonce.
- Update the sequencer setup() call sites to the new 2-tuple return.
- Regenerate anvil_state.json for the newer anvil serialization
(adds gas_refund_counter).
- Test stabilizers: bump txpool max_account_slots (with rationale),
tolerate already-known transactions, wait on block_sequenced instead
of a fixed sleep, raise integration timeouts to 120s, and run nextest
with --test-threads 4.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 287c17f commit 65825bb
2 files changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
284 | | - | |
| 284 | + | |
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
| |||
383 | 383 | | |
384 | 384 | | |
385 | 385 | | |
386 | | - | |
387 | | - | |
| 386 | + | |
388 | 387 | | |
389 | 388 | | |
390 | 389 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
| 172 | + | |
171 | 173 | | |
172 | 174 | | |
173 | 175 | | |
| |||
216 | 218 | | |
217 | 219 | | |
218 | 220 | | |
219 | | - | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
220 | 227 | | |
221 | 228 | | |
222 | 229 | | |
| |||
0 commit comments