mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-07 19:31:07 +00:00
allow 'latest' metadata to be returned from the fallback code (#1127)
This commit is contained in:
1 parent
b763bf5f1d
commit
ab84228af4
2 files changed
+10
-10
No files matched your search
+4
-8
@@ -24,15 +24,11 @@ pub struct FileOrUrl {
|
||||
pub file: Option<PathBuf>,
|
||||
/// Specify the metadata version.
|
||||
///
|
||||
/// - unstable:
|
||||
/// - "latest": Use the latest stable version available.
|
||||
/// - "unstable": Use the unstable metadata, if present.
|
||||
/// - a number: Use a specific metadata version.
|
||||
///
|
||||
/// Use the latest unstable metadata of the node.
|
||||
///
|
||||
/// - number
|
||||
///
|
||||
/// Use this specific metadata version.
|
||||
///
|
||||
/// Defaults to 14.
|
||||
/// Defaults to asking for the latest stable metadata version.
|
||||
#[clap(long)]
|
||||
pub version: Option<MetadataVersion>,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user