use-ink / ink-docs

Documentation portal for the ink! smart contract language.
https://use.ink
Creative Commons Zero v1.0 Universal
23 stars 70 forks source link

fix: Useless '--contract' argument removed #299

Closed ipapandinas closed 9 months ago

ipapandinas commented 9 months ago

The reference contract path is a mandatory input according to the implementation of the verify command:

https://github.com/paritytech/cargo-contract/blob/238d2205eeba2659ba7e1961931f9aafe51a527c/crates/cargo-contract/src/cmd/verify.rs#L43-L59

Then the --contract argument becomes useless.