Skip to content

Conversation

@johnjmartin
Copy link
Contributor

Description

fullnodes shouldn't need this table to be populated prior during formal snapshot restore (fact check me @alex-mysten), we can make it opt-out in the event they're trying to download the snapshot as quickly as possible.

Test plan

How did you test the new or updated feature?


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):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@johnjmartin johnjmartin temporarily deployed to sui-typescript-aws-kms-test-env November 26, 2025 17:43 — with GitHub Actions Inactive
@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Nov 26, 2025 5:43pm
sui-kiosk Ignored Ignored Nov 26, 2025 5:43pm

max_retries: usize,

/// Backfill epoch transaction digests. Defaults to true.
/// Required for validators, optional for fullnodes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No way to check this programmatically?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternatively, could we just opt to not backfill on full nodes rather than making it a config flag?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. Today there isn't a way for sui-tool to know whether it's doing a snapshot restore for a fullnode or a validator. There's a limited set of information provided to the tool, none of which indicates fullnode vs validator

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I'm doing a refactor of the sui-tool configs for snapshot downloading, it could be a good idea to include a --validator flag (rather than this --backfill-txn-digests flag)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants