chore: backport release/3.x changes to master (3.0.3 + 3.0.4)#1446
Conversation
… testnet borealis - mainnet Aurora activates 2026-06-23T12:00:00+00:00 (min commitment tx version 2) - mainnet Borealis activates 2026-06-30T12:00:00+00:00 - testnet Borealis activates 2026-06-10T12:00:00+00:00 - pin activation timestamps with regression tests on the presets
…th (#1445) The DataRequestTracker stamps per-peer timestamps from the non-monotonic wall clock (SystemTime) and computed elapsed times by unsigned subtraction. When a stored timestamp lands after the captured "now" — either a concurrent insert during DashMap iteration in cleanup, or a backward wall-clock step — the subtraction underflows. With overflow-checks = true in the release profile this is a hard panic, observed killing mainnet-node-1 on 2026-06-10 via POST /gossip/pull_data. Use saturating_sub at all four subtraction sites so an out-of-order timestamp reads as elapsed 0 ("just happened"), which is the safe and intended behavior at each call site. Adds regression tests that panic on the unfixed code.
Release version 3.0.4
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThis PR coordinates three independent updates: bumping the ChangesChain version, rate-limiting robustness, and hardfork activation configuration
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Summary
Cherry-picks the four commits on
release/3.xthat were missing frommaster(clean cherry-picks, no conflicts — backported files are byte-identical torelease/3.x):3d2aee118feat(consensus): set aurora/borealis mainnet activation times, enable testnet borealis137af7981release: bump irys-chain to 3.0.37a715ce3efix(p2p): prevent underflow panic in gossip rate limiter timestamp math (fix(p2p): prevent underflow panic in gossip rate limiter timestamp math #1445)9cf5826ffrelease: 3.0.4This brings master's
irys-chainversion from 3.0.2 to 3.0.4, matching the released line.Verification
cargo fmt --all— no changescargo clippy --workspace --tests --all-targets— cleangit diff origin/release/3.x HEAD -- <backported files>— empty🤖 Generated with Claude Code
Summary by CodeRabbit
Bug Fixes
Chores
Tests