Repository navigation
feat(chainspec): set Jade fork activation timestamps - #51
Conversation
Hoodi (chain 2910): 1774418400 (2026-03-25 06:00 UTC) Mainnet (chain 2818): 1775628000 (2026-04-08 06:00 UTC) Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughA new hardfork timestamp parameter "jadeTime" was added to two genesis configuration files (hoodi and mainnet) with distinct values, and corresponding test cases were added to verify the Jade hardfork activation boundaries for each network. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Code reviewNo issues found. Checked for bugs and CLAUDE.md compliance. 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
… restarts Extend PR 233's series-churn fix from State & History Growth to the rest of the morph-reth Grafana dashboard so long time ranges (30d/60d/90d) render accurately when pod restarts or redeploys change the instance label: - Snapshot pie charts and bar gauge (#3, #45, #47, #51, #104): switch to instant queries and aggregate with max by (service, ...) (two-level sum/max for DB Pages) so historical dead instances no longer duplicate slices. - Broken aggregations (#39 DB Average Commit Time, #41 DB Average Transaction Open Time, #120 CPU, #40/#62/#64 heatmaps): compute weighted averages via sum(rate(sum)) / sum(rate(count)) instead of summing/averaging per-series ratios, fix CPU from avg(rate(...[1m])) to sum(rate(...[$__rate_interval])), and use max for peak latency heatmaps. - Unaggregated rate/increase panels (17 panels, e.g. Block Import Rate, Engine Tree, Proof History, TxPool, P2P) and rate(sum)/rate(count) panels (9 panels): aggregate with sum by (service[, segment]) to eliminate multi-hour 50% dips and duplicate legends at restart boundaries. - Raw gauge sum-by-service panels (14 panels including Node Storage & Height, DB Growth, Static Files Growth, State Size, History Size, RPC Active Connections): replace raw sum by (service) with max by (service) or two-level sum by (service) (max by (service, table|segment)) to eliminate 2x spikes during restart overlap. - Remaining unaggregated gauge/summary/stat timeseries panels: wrap with max by (service, <legend labels>) (avg by (service) for avg_over_time) to preserve continuous single lines and clean legends across restarts. Verified all 258 PromQL expressions against live Prometheus 3.5.0 (0 errors) and compared before/after query outputs via Grafana 13.3.1 over a 30-day synthetic dataset with 5 instance restarts and rolling overlap.
Summary
1774418400(2026-03-25 06:00 UTC)1775628000(2026-04-08 06:00 UTC)Test plan
cargo test -p morph-chainspec— all 32 tests passed🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Tests