Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

FM-363: Block sync test #459

Merged
merged 4 commits into from
Dec 8, 2023
Merged

FM-363: Block sync test #459

merged 4 commits into from
Dec 8, 2023

Conversation

aakoshh
Copy link
Contributor

@aakoshh aakoshh commented Dec 7, 2023

Part of consensus-shipyard/ipc#178

This PR sets up a full node to follow the default one, and asserts that blocks are being synced starting from genesis. It doesn't use state sync yet.

The fact that this works despite the test configuring FM_DB_HIST_SIZE=100 is because the retain_height is still set to 0, until snapshots are implemented. That would be the next step, to sync from a snapshot, which will require further configuration.

@aakoshh aakoshh force-pushed the fm-363-state-sync-test branch from 267a323 to 1f158ac Compare December 7, 2023 17:35
@aakoshh aakoshh merged commit 0b885c0 into main Dec 8, 2023
5 checks passed
@aakoshh aakoshh deleted the fm-363-state-sync-test branch December 8, 2023 10:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant