Skip to main content

Sui Archive Data

A Sui archive is a history of all transaction data on Sui. In some cases, peer nodes might not catch up with all transactions and effects through synchronization if they lag behind the current epoch by more than the latest few epochs. In such cases, instead of relying on synchronization, peer nodes can fall back to downloading the relevant information from an archive.

info

Starting with the 1.51 release, the default archive bucket for Mainnet switches to a requester-pays model. See the following section for a configuration example.

Set up archival fallback​

To enable your node to fall back to an archive in case of lag, add the following to your fullnode.yaml file:

state-archive-read-config:
- ingestion-url: "https://s3.us-west-2.amazonaws.com/mysten-mainnet-checkpoints"
# How many objects to read ahead when catching up
concurrency: 5
remote-store-options:
- ["aws_access_key_id", <YOUR_AWS_ACCESS_KEY_ID|PATH_TO_AWS_ACCESS_KEY>]
- ["aws_secret_access_key", <AWS_SECRET_ACCESS_KEY|PATH_TO_AWS_SECRET_ACCESS_KEY>]