Skip to content

Commit

Permalink
feat: switch sui to use formal snapshots (#1242)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenFluin authored Dec 2, 2024
1 parent 87f4cce commit 7a1a2c4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/content/docs/validator/external-chains/sui.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,14 @@ Edit the `fullnode.yaml` file to include peer nodes for state synchronization. A
</tab-item>
</tabs>
Download the snapshot from the latest epoch.
```bash
sui-tool download-formal-snapshot --latest --genesis /opt/sui/config/genesis.blob --network testnet --path /opt/sui/db/ --num-parallel-downloads 50 --no-sign-request
```

If you encounter any failures, try lowering the `num-parallel-downloads` value.

Don't forget also to set the value for `object-store-config.bucket` to the correct value as well in that file:
- `testnet`: `bucket: "mysten-testnet-archives"`
- `mainnet`: `bucket: "mysten-mainnet-archives"`
Expand Down

0 comments on commit 7a1a2c4

Please sign in to comment.