-
Notifications
You must be signed in to change notification settings - Fork 11.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[snapshots] split db download and formal download snapshot commands #15494
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
3 Ignored Deployments
|
356de22
to
fdb6182
Compare
@johnjmartin is attempting to deploy a commit to the Sui Foundation Team on Vercel. A member of the Team first needs to authorize it. |
fdb6182
to
48b5aab
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't docs get deployed to sui.io immediately? If so, we probably need to gate these doc updates somehow so that they're not visible until the new commands rollout. Actually the right way for this to work is for us to have versioned docs cc @ronny-mysten
/// for protocol versions supporting `commit_root_state_digest`. For mainnet, this is | ||
/// epoch 20+, and for testnet this is epoch 12+ | ||
#[clap(long = "formal")] | ||
formal: bool, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it make sense to leave in formal
for now, with a // DEPRECATED
comment, and in the very beginning of the handler do something like
if formal {
println!("--formal flag is deprecated. Please instead use `sui-tool download-formal-snapshot`");
return Ok(());
}
Would avoid some questions and confusion from the community
True. Versioned docs are a future feature. For now, we can use Tabs and TabItems to provide instructions for each version of Sui. I can add to the PR if desired. |
48b5aab
to
dba868d
Compare
Description
Removes--skip-checkpoints
,--formal
,--verify
, and--genesis
, from thedownload-db-snapshot
commandAdds:
download-formal-snapshot
as a future replacement for the--formal
flag.Test Plan
Tested with both formal snapshot and db snapshot changes via: #15509
If your changes are not user-facing and do not break anything, you can skip the following section. Otherwise, please briefly describe what has changed under the Release Notes section.
Type of Change (Check all that apply)
Release notes
Breaking change for the
sui-tool
command. This breaks thesui-tool download-db-snapshot
intosui-tool download-db-snapshot
andsui-tool download-formal-snapshot
commands.