feat(infra): Implement intelligent snapshots natively #194
Labels
feature
Request for new feature or enhancement
infrastructure
CI/CD, deployment and infrastructure changes
research
Research and exploration required before implementation
Is there an existing issue?
Motivation
Currently, in Deoxys, the only way to synchronize the state is through the feeder gateway starting from block 0. This process can take several days, with or without rate limits, which can be a significant blocker for some developers. Therefore, we want to provide official pre-synced state snapshots that can be easily integrated at the node's startup.
Request
The purpose of this issue is to implement an intelligent snapshot system to enable faster synchronization by importing official pre-synced states. We would like to have a command
--snap <block_number>
that fetches the snapshot at the closest available height to the specified block number, downloads it to the user's defined--base-path
, and decompresses it correctly with the corresponding logs.Solution
To achieve this, we propose the following steps:
--snap <block_number>
that identifies the closest available snapshot to the specified block number.--base-path
.Are you willing to help with this request?
Yes!
The text was updated successfully, but these errors were encountered: