-
Notifications
You must be signed in to change notification settings - Fork 121
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
Misc fixes to texts #1590
Misc fixes to texts #1590
Conversation
/// | ||
/// This only adds extra ink! linting checks. Basic clippy and ink! lints which we | ||
/// are deem important are run anyways. | ||
/// Basic clippy lints are deemed important and run anyways. |
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.
I would also skip the clippy lints by default, we can do that in a follow-up. Makes it way easier to understand what build --lint
does.
A third party won't be able to confirm that your uploaded contract Wasm blob \ | ||
matches a particular contract source code.\n\n\ | ||
You can use `cargo contract build --verifiable` to make the contract verifiable.\n\ | ||
See https://use.ink/basics/contract-verification for more info.", |
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.
I'm about to change ink-docs
so that this URI will work.
@@ -369,12 +371,13 @@ where | |||
|
|||
/// Prompt the user to confirm the upload of unverifiable code to the production chain. | |||
pub fn prompt_confirm_unverifiable_upload(chain: &str) -> Result<()> { | |||
println!( | |||
"{} (skip with --skip-validate)", |
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.
I'll create a patch release as a follow-up, --skip-validate
does not exist.
crates/cargo-contract/src/cmd/mod.rs
Outdated
@@ -148,6 +148,8 @@ pub struct CLIChainOpts { | |||
#[clap(name = "config", long, default_value = "Polkadot")] | |||
config: String, | |||
/// Name of a production chain to be communicated with. | |||
/// | |||
/// Available: AlephZero, Astar, Shiden, Krest. |
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.
Can we somehow leverage https://docs.rs/clap/latest/clap/trait.ValueEnum.html to show the options, so we don't have to update this comment? Chances are this comment will become out of date when chains added/removed.
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.
Thanks, that was a good hint. I updated the PR.
How the warning looks now: