From dd9c262180b576484c768cef6784060843bec09e Mon Sep 17 00:00:00 2001 From: John Martin Date: Mon, 30 Sep 2024 15:58:28 -0700 Subject: [PATCH] Update fullnode-template.yaml to include archival fallback (#19630) ## Description template update --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API: --- crates/sui-config/data/fullnode-template.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/crates/sui-config/data/fullnode-template.yaml b/crates/sui-config/data/fullnode-template.yaml index f0816a26990d4..a3c580a86d5e5 100644 --- a/crates/sui-config/data/fullnode-template.yaml +++ b/crates/sui-config/data/fullnode-template.yaml @@ -19,3 +19,20 @@ authority-store-pruning-config: max-checkpoints-in-batch: 10 max-transactions-in-batch: 1000 pruning-run-delay-seconds: 60 + +state-archive-read-config: + - object-store-config: + object-store: "S3" + # Use mysten-testnet-archives for testnet + # Use mysten-mainnet-archives for mainnet + bucket: "mysten--archives" + # you can either provide your own aws credentials via "aws-secret-access-key" and + # "aws-access-key-id" or set no-sign-request: true + no-sign-request: true + aws-region: "us-west-2" + object-store-connection-limit: 20 + # How many objects to read ahead when catching up + concurrency: 5 + # Whether to prune local state based on latest checkpoint in archive. + # This should stay false for most use cases + use-for-pruning-watermark: false