Skip to content

Conversation

@LesnyRumcajs
Copy link
Member

@LesnyRumcajs LesnyRumcajs commented Sep 1, 2025

Summary of changes

Changes introduced in this pull request:

  • updated known blocks

Reference issue to close (if applicable)

Closes #6016

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Summary by CodeRabbit

  • Chores
    • Updated known checkpoints by adding calibnet epoch 2,937,600 and mainnet epoch 5,270,400.
    • Extends known blocks to cover newer chain heights; no removals or modifications to existing entries.
    • Improves sync reliability around these heights.
    • Purely additive data update.
    • Maintains backward compatibility with prior checkpoints.
    • Applicable to calibnet and mainnet networks.

@LesnyRumcajs LesnyRumcajs requested a review from a team as a code owner September 1, 2025 08:04
@LesnyRumcajs LesnyRumcajs requested review from akaladarshi and hanabi1224 and removed request for a team September 1, 2025 08:04
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 1, 2025

Walkthrough

Added two new checkpoint mappings in build/known_blocks.yaml: calibnet epoch 2937600 and mainnet epoch 5270400. No removals or modifications to existing entries.

Changes

Cohort / File(s) Summary
Calibnet checkpoints
build/known_blocks.yaml
Added epoch 2937600 → bafy2bzacebovgwd2risqmifcu2ry7f7ktppfuwfjjty56z7jraxvowjlh2ghq.
Mainnet checkpoints
build/known_blocks.yaml
Added epoch 5270400 → bafy2bzacecnpu6buis3xsy37cq3bvmd63nr4wuvhti46k3emeddzal5iw3gn2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Assessment against linked issues

Objective Addressed Explanation
Update checkpoints in build/known_blocks.yaml for calibnet and mainnet (#6016)

Possibly related issues

Possibly related PRs

Suggested reviewers

  • hanabi1224
  • akaladarshi
  • elmattic

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

💡 Knowledge Base configuration:

  • MCP integration is disabled by default for public repositories
  • Jira integration is disabled by default for public repositories
  • Linear integration is disabled by default for public repositories

You can enable these sources in your CodeRabbit configuration.

📥 Commits

Reviewing files that changed from the base of the PR and between 15cdbb3 and f3d4446.

📒 Files selected for processing (1)
  • build/known_blocks.yaml (2 hunks)
🧰 Additional context used
🧠 Learnings (1)
📓 Common learnings
Learnt from: LesnyRumcajs
PR: ChainSafe/forest#5907
File: src/rpc/methods/state.rs:523-570
Timestamp: 2025-08-06T15:44:33.467Z
Learning: LesnyRumcajs prefers to rely on BufWriter's Drop implementation for automatic flushing rather than explicit flush() calls in Forest codebase.
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (9)
  • GitHub Check: Build forest binaries on Linux AMD64
  • GitHub Check: cargo-publish-dry-run
  • GitHub Check: All lint checks
  • GitHub Check: tests-release
  • GitHub Check: Build MacOS
  • GitHub Check: Build Ubuntu
  • GitHub Check: tests
  • GitHub Check: Analyze (rust)
  • GitHub Check: Analyze (go)
🔇 Additional comments (2)
build/known_blocks.yaml (2)

45-45: Mainnet checkpoint added — placement matches monthly cadence.

Epoch 5,270,400 is correctly inserted above 5,184,000, preserving descending order and 86,400-epoch spacing.

Please also validate the new CID against tool output:

  • timeout 15s forest-tool archive checkpoints mainnet | head -n1
  • Ensure epoch=5,270,400 and the CID matches line 45.

10-10: Approved: top-of-list cadence verified for calibnet and mainnet

Cadence check passed for both networks; no further changes required.

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch update-checkpoints-09-01

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore or @coderabbit ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@LesnyRumcajs LesnyRumcajs added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit 903c521 Sep 1, 2025
45 checks passed
@LesnyRumcajs LesnyRumcajs deleted the update-checkpoints-09-01 branch September 1, 2025 10:02
@coderabbitai coderabbitai bot mentioned this pull request Oct 13, 2025
4 tasks
@coderabbitai coderabbitai bot mentioned this pull request Nov 4, 2025
4 tasks
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.

cron: update known_blocks.yaml

4 participants