Kroma
GithubCommunity
  • Introduction
    • Overview
    • KRO Tokenomics
      • Token Allocation
      • Token Distribution
      • Token Utilities
      • Airdrops
        • Initial Airdrop
    • Official Links
  • BUILDERS
    • Developers
      • Contract Deployment Tutorial
        • Using Foundry
        • Using Remix IDE
        • Using Hardhat
      • JSON-RPC API
      • Oracles
    • Node Operators
      • Kroma MPT Migration Guide
      • Running a Full Node
      • Running a Kroma v2 Validator Node
        • How to Migrate Your Validator to KRO-based Validator System
      • How to Sync Blocks Using a Snapshot
      • FAQ
      • [Deprecated] Running a Kroma v1 Validator Node
        • How to Check and Claim the Validator Reward
    • Network Information
    • Protocol Contracts
    • Testnet
      • Setup
      • Faucet
      • Bridge
      • Contract Addresses
  • USERS
    • Wallet Configuration
    • Bridge
    • Block Explorer
    • How to Swap legacy USDC to upgradable USDC
  • Governance
    • Kroma Security Council
  • Kroma Guardian House
    • Overview
    • Philosophy
    • KRO & KGH NFT Staking
      • Validator Boosting by KGH NFT
      • How to Get KRO
      • FAQ
    • KGH NFT Migration & KYC
      • KGH NFT Migration
      • How to Complete KYC with Argos
    • KGH NFT Sales (Ended)
      • KGH Utilities
      • Referral Program: Expand Your Impact
      • Estimated Reward Value
    • Notice
  • Resources
    • Security
    • Brand Kit
    • FAQs
    • Glossary
Powered by GitBook
On this page
  • Prerequisites
  • Step-by-step Guide
  • Notes

Was this helpful?

  1. BUILDERS
  2. Node Operators

How to Sync Blocks Using a Snapshot

PreviousHow to Migrate Your Validator to KRO-based Validator SystemNextFAQ

Last updated 10 months ago

Was this helpful?

To expedite the process of fully syncing the blocks of Kroma from the genesis block, the Kroma team uploads a snapshot of the latest finalized block every day at 00:00 UTC. Follow the guide below to sync your new kroma-geth and kroma-node clients.

Prerequisites

  • Ensure that your kroma-geth and kroma-node clients are fully set up and running.

Note: If you need guidance on how to run the nodes, please refer to this .

  • You must have the latest version of the to run the command. To update the kroma-up repository, run the following command in the directory you cloned the kroma-up git repository:

git pull origin main

Step-by-step Guide

  1. While your kroma-geth and kroma-node are up and running, execute the following command:

./sync_block.sh {network_name} // mainnet or sepolia
  1. Wait for the entire syncing process to complete. The duration may vary depending on your internet speed, but it might take up to 3 hours.

Notes

  • A new snapshot is uploaded daily at 00:00 UTC, allowing you to sync the latest finalized block efficiently.

  • Even after the ./sync_block.sh process is completed, please be aware that your kroma-geth client may still need to sync the blocks that were generated after the snapshot was taken. This process may take up to 3 hours, assuming normal internet speed.

link
kroma-up git repository