From 19b6dcb5da16e18874dcf2cf6ee69e85821fd068 Mon Sep 17 00:00:00 2001 From: liamaharon Date: Mon, 30 Oct 2023 11:42:43 +0000 Subject: [PATCH] deploy: c1bbbd7994308ced43ceb5583c4ae8cb1c3765af --- .../clap_builder/derive/trait.Args.js | 2 +- .../derive/trait.CommandFactory.js | 2 +- .../derive/trait.FromArgMatches.js | 2 +- .../clap_builder/derive/trait.Parser.js | 2 +- implementors/core/clone/trait.Clone.js | 2 +- implementors/core/convert/trait.TryFrom.js | 3 ++ implementors/core/fmt/trait.Debug.js | 2 +- search-index.js | 2 +- .../commands/on_runtime_upgrade.rs.html | 10 ++++-- src/try_runtime_core/lib.rs.html | 36 ++++++++++--------- try_runtime/index.html | 2 +- .../commands/on_runtime_upgrade/fn.run.html | 2 +- .../commands/on_runtime_upgrade/index.html | 2 +- try_runtime_core/index.html | 2 +- .../inherent_provider/enum.Chain.html | 2 +- try_runtime_core/struct.RefTimeInfo.html | 9 ++--- 16 files changed, 47 insertions(+), 35 deletions(-) create mode 100644 implementors/core/convert/trait.TryFrom.js diff --git a/implementors/clap_builder/derive/trait.Args.js b/implementors/clap_builder/derive/trait.Args.js index c04243ae33e..1c80e029988 100644 --- a/implementors/clap_builder/derive/trait.Args.js +++ b/implementors/clap_builder/derive/trait.Args.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl Args for Command"],["impl Args for Command"],["impl Args for Command"],["impl Args for Command"],["impl Args for TryRuntime"],["impl Args for SharedParams"],["impl Args for Command"],["impl Args for Command"],["impl Args for LiveState"]] +"try_runtime_core":[["impl Args for SharedParams"],["impl Args for Command"],["impl Args for TryRuntime"],["impl Args for Command"],["impl Args for Command"],["impl Args for Command"],["impl Args for Command"],["impl Args for LiveState"],["impl Args for Command"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.CommandFactory.js b/implementors/clap_builder/derive/trait.CommandFactory.js index fde695667ef..5b840d408ab 100644 --- a/implementors/clap_builder/derive/trait.CommandFactory.js +++ b/implementors/clap_builder/derive/trait.CommandFactory.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl CommandFactory for Command"],["impl CommandFactory for Command"],["impl CommandFactory for TryRuntime"],["impl CommandFactory for Chain"],["impl CommandFactory for Command"],["impl CommandFactory for SharedParams"],["impl CommandFactory for Command"],["impl CommandFactory for Command"],["impl CommandFactory for Command"]] +"try_runtime_core":[["impl CommandFactory for Command"],["impl CommandFactory for Command"],["impl CommandFactory for TryRuntime"],["impl CommandFactory for Command"],["impl CommandFactory for SharedParams"],["impl CommandFactory for Command"],["impl CommandFactory for Command"],["impl CommandFactory for Chain"],["impl CommandFactory for Command"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.FromArgMatches.js b/implementors/clap_builder/derive/trait.FromArgMatches.js index 97d9dd37ac4..26e604ff26c 100644 --- a/implementors/clap_builder/derive/trait.FromArgMatches.js +++ b/implementors/clap_builder/derive/trait.FromArgMatches.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl FromArgMatches for Action"],["impl FromArgMatches for Command"],["impl FromArgMatches for SharedParams"],["impl FromArgMatches for Command"],["impl FromArgMatches for Command"],["impl FromArgMatches for Chain"],["impl FromArgMatches for State"],["impl FromArgMatches for Command"],["impl FromArgMatches for TryRuntime"],["impl FromArgMatches for LiveState"],["impl FromArgMatches for Command"],["impl FromArgMatches for Command"]] +"try_runtime_core":[["impl FromArgMatches for Command"],["impl FromArgMatches for Command"],["impl FromArgMatches for LiveState"],["impl FromArgMatches for Action"],["impl FromArgMatches for State"],["impl FromArgMatches for TryRuntime"],["impl FromArgMatches for Command"],["impl FromArgMatches for Command"],["impl FromArgMatches for SharedParams"],["impl FromArgMatches for Chain"],["impl FromArgMatches for Command"],["impl FromArgMatches for Command"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/clap_builder/derive/trait.Parser.js b/implementors/clap_builder/derive/trait.Parser.js index 8a1ff64c5a4..025e2823ead 100644 --- a/implementors/clap_builder/derive/trait.Parser.js +++ b/implementors/clap_builder/derive/trait.Parser.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl Parser for Chain"],["impl Parser for SharedParams"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for TryRuntime"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for Command"]] +"try_runtime_core":[["impl Parser for Command"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for TryRuntime"],["impl Parser for Chain"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for Command"],["impl Parser for SharedParams"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/clone/trait.Clone.js b/implementors/core/clone/trait.Clone.js index 1e834a5ecd3..cf56beee601 100644 --- a/implementors/core/clone/trait.Clone.js +++ b/implementors/core/clone/trait.Clone.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl Clone for Command"],["impl Clone for Runtime"],["impl Clone for Command"],["impl Clone for Chain"],["impl Clone for ChainIter"],["impl Clone for Command"],["impl Clone for Action"],["impl Clone for Command"],["impl Clone for State"],["impl Clone for Command"],["impl Clone for TryRuntime"],["impl Clone for LiveState"],["impl Clone for Command"],["impl Clone for SharedParams"]] +"try_runtime_core":[["impl Clone for Command"],["impl Clone for Command"],["impl Clone for Runtime"],["impl Clone for Chain"],["impl Clone for Command"],["impl Clone for ChainIter"],["impl Clone for State"],["impl Clone for Command"],["impl Clone for Action"],["impl Clone for LiveState"],["impl Clone for Command"],["impl Clone for SharedParams"],["impl Clone for TryRuntime"],["impl Clone for Command"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/convert/trait.TryFrom.js b/implementors/core/convert/trait.TryFrom.js new file mode 100644 index 00000000000..299db7ae950 --- /dev/null +++ b/implementors/core/convert/trait.TryFrom.js @@ -0,0 +1,3 @@ +(function() {var implementors = { +"try_runtime_core":[["impl TryFrom<Vec<u8, Global>> for RefTimeInfo"]] +};if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/implementors/core/fmt/trait.Debug.js b/implementors/core/fmt/trait.Debug.js index e7c21a44cfe..38025ac1b7d 100644 --- a/implementors/core/fmt/trait.Debug.js +++ b/implementors/core/fmt/trait.Debug.js @@ -1,3 +1,3 @@ (function() {var implementors = { -"try_runtime_core":[["impl Debug for TryRuntime"],["impl Debug for Command"],["impl Debug for LiveState"],["impl Debug for SharedParams"],["impl Debug for Chain"],["impl Debug for Command"],["impl Debug for State"],["impl Debug for Runtime"],["impl Debug for Command"],["impl Debug for ChainIter"],["impl Debug for Action"],["impl Debug for Command"],["impl Debug for Command"],["impl Debug for Command"]] +"try_runtime_core":[["impl Debug for Command"],["impl Debug for Action"],["impl Debug for Command"],["impl Debug for LiveState"],["impl Debug for Command"],["impl Debug for Runtime"],["impl Debug for Chain"],["impl Debug for Command"],["impl Debug for Command"],["impl Debug for Command"],["impl Debug for SharedParams"],["impl Debug for State"],["impl Debug for TryRuntime"],["impl Debug for ChainIter"]] };if (window.register_implementors) {window.register_implementors(implementors);} else {window.pending_implementors = implementors;}})() \ No newline at end of file diff --git a/search-index.js b/search-index.js index 6bb253e52f2..238aa8488ca 100644 --- a/search-index.js +++ b/search-index.js @@ -1,6 +1,6 @@ var searchIndex = JSON.parse('{\ "try_runtime":{"doc":"Try-runtime","t":"FF","n":["init_env","main"],"q":[[0,"try_runtime"]],"d":["",""],"i":[0,0],"f":[[[]],[[]]],"c":[],"p":[]},\ -"try_runtime_core":{"doc":"","t":"DLLALLLLLLLLALLLLLLLMAALLLLLLMLENNNNNNDLLMLLLLLLLLLLLLLLALLLLLLAALLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAALLMLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLMLLLLLLLLLLLLLLFMLLLLLLLLLLDLLLMLLLLLLLLLLLLLLLLLLLLLLLLLFMLLLMLLLLLLLDLLLMLLMLLLLLLLLLLLLLLLLLLLLLLLMFMMLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLLLLMFMLLLMLLLLLLMLDLLLLLLLLLLLLLLLLLLLLLMLLLLLLLFMLLLLLLLLLLDLLLLLMLLLLLLLLLLLLLLLLLLLLLLLMFMLLLLLLLLLLNEDQINNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNEDLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLMMNDNELLMLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLMLLMM","n":["RefTimeInfo","borrow","borrow_mut","commands","deref","deref_mut","drop","from","from_mut","from_mut","from_ref","from_ref","inherent_provider","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","max","shared_parameters","state","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","used","vzip","Action","CreateSnapshot","ExecuteBlock","FastForward","FollowChain","OffchainWorker","OnRuntimeUpgrade","TryRuntime","__clone_box","__clone_box","action","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","create_snapshot","deref","deref","deref_mut","deref_mut","drop","drop","execute_block","fast_forward","fmt","fmt","follow_chain","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","group_id","has_subcommand","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","offchain_worker","on_runtime_upgrade","run","run","shared","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","snapshot_path","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","block_ws_uri","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","state","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","block_ws_uri","borrow","borrow_mut","chain","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","n_blocks","run","run_migrations","state","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","keep_connection","run","state_root_check","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","uri","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","header_ws_uri","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","state","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","checks","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","no_weight_warnings","run","state","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","AlephZero","Chain","ChainIter","Err","InherentProvider","Kusama","Polkadot","Rococo","SubstrateKitchenSink","SubstrateNodeTemplate","Westend","__clone_box","__clone_box","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_str","get_inherent_providers_and_pre_digest","get_inherent_providers_and_pre_digest","has_subcommand","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_iter","into_mut","into_mut","into_ref","into_ref","iter","len","len","next","next_back","nth","par_bridge","progress_with","size_hint","to_owned","to_owned","to_string","try_collect","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","Existing","Path","Runtime","SharedParams","__clone_box","__clone_box","augment_args","augment_args_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","deref","deref","deref_mut","deref_mut","drop","drop","export_proof","fmt","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_str","group_id","heap_pages","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","overwrite_state_version","runtime","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","wasm_method","wasmtime_instantiation_strategy","Live","LiveState","Snap","State","__clone_box","__clone_box","at","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","child_tree","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","group_id","has_subcommand","hashed_prefixes","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","pallet","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","uri","vzip","vzip","path","snapshot_path"],"q":[[0,"try_runtime_core"],[31,"try_runtime_core::commands"],[123,"try_runtime_core::commands::create_snapshot"],[165,"try_runtime_core::commands::execute_block"],[208,"try_runtime_core::commands::fast_forward"],[254,"try_runtime_core::commands::follow_chain"],[298,"try_runtime_core::commands::offchain_worker"],[340,"try_runtime_core::commands::on_runtime_upgrade"],[383,"try_runtime_core::inherent_provider"],[477,"try_runtime_core::shared_parameters"],[555,"try_runtime_core::state"],[636,"try_runtime_core::state::State"]],"d":["","","","","","","","Returns the argument unchanged.","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","TODO: Docs","","Calls U::from(self).","","","","","","","","","","","","","","","","","Possible actions of try-runtime.","Create snapshot files.","Executes the given block against some state.","Executes a runtime upgrade (optional), then mines a number …","Follow the given chain’s finalized blocks and apply all …","Executes the offchain worker hooks of a given block …","Execute the migrations of the given runtime","Ready to use, vanilla command combining common actions.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Configurations for run.","","","","","","","","","","","","","","Returns the argument unchanged.","The source of the snapshot. Must be a remote node.","","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","Runs the create_snapshot command.","The snapshot path to write to.","","","","","","","","","","","Configurations for run.","","","","The ws uri from which to fetch the block.","","","","","","","","","","","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","","The state type to use.","","","","Which try-state targets to execute when running this …","","","","","","","","Configuration for run.","","","","The ws uri from which to fetch the block.","","","Chain","","","","","","","","","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","Calls U::from(self).","","","","","","How many empty blocks should be processed.","","Whether to run pending migrations before fast-forwarding.","The state type to use.","","","","Which try-state targets to execute when running this …","","","","","","","","Configurations for run.","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","Calls U::from(self).","","","","","","If present, a single connection to a node will be kept and …","","If set, then the state root check is enabled.","","","","Which try-state targets to execute when running this …","","","","","","","The url to connect to.","","Configuration for run.","","","","","","","","","","","","","","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","The ws uri from which to fetch the header.","","Calls U::from(self).","","","","","","","The state type to use.","","","","","","","","","","","Configuration for run.","","","","","","Select which optional checks to perform. Selects all when …","","","","","","","","","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","Whether to assume that the runtime is a relay chain …","","The state type to use.","","","","","","","","","","","","Chains that have InherentProvider implemented.","An iterator over the variants of Chain","","Trait for providing the inherent data and digest items for …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Use the code of the remote node, or the snapshot.","Use the given path to the wasm binary file.","","Shared parameters of the try-runtime commands","","","","","","","","","","","","","","","","","","","","","Path to a file to export the storage proof into (as a …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","The number of 64KB pages to allocate for Wasm execution. …","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Overwrite the state_version.","The runtime to use.","","","","","","","","","","","","","","","","","","","Type of wasm execution used.","The WASM instantiation method to use.","Use a live chain as the source of runtime state.","A Live variant for State","Use a state snapshot as the source of runtime state.","The source of runtime state to use.","","","The block hash at which to fetch the state.","","","","","","","","","Fetch the child-keys as well.","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","","Get a mutable reference to the inner from the outer.","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","Storage entry key prefixes to scrape and inject into the …","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","A pallet to scrape. Can be provided multiple times. If …","","","","","","","","","","","","","","","","","","","The url to connect to.","","","","DEPRECATED: use --path instead."],"i":[0,40,40,0,40,40,40,40,40,40,40,40,0,40,40,40,40,40,40,40,40,0,0,40,40,40,40,40,40,40,40,0,13,13,13,13,13,13,0,12,13,12,12,12,13,13,12,13,12,13,12,13,12,13,12,12,0,12,13,12,13,12,13,0,0,12,13,0,12,13,12,13,12,13,12,12,13,13,12,12,13,13,12,13,12,13,12,13,12,13,12,13,12,13,12,13,12,13,0,0,12,13,12,12,13,12,13,12,13,12,13,12,13,12,13,12,13,12,13,12,13,12,13,0,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,0,23,23,23,23,23,23,23,23,23,23,23,0,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,0,24,24,24,24,24,24,24,24,24,24,24,24,0,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,0,25,25,25,25,25,25,25,25,25,25,25,25,25,0,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,0,26,26,26,26,26,26,26,26,26,26,26,26,26,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,27,27,27,27,27,27,27,27,27,27,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,28,28,28,28,28,28,28,28,28,28,28,29,0,0,41,0,29,29,29,29,29,29,29,30,29,29,29,30,29,30,29,30,29,30,29,29,29,30,29,30,29,30,29,29,30,29,30,29,29,29,29,30,30,29,29,30,30,29,41,29,29,29,30,29,30,29,30,29,30,29,30,30,29,30,29,30,29,30,30,30,30,30,30,30,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,30,29,29,29,30,37,37,0,0,22,37,22,22,22,37,22,37,22,37,22,37,22,22,22,37,22,37,22,37,22,22,37,22,37,22,22,22,22,37,37,22,22,37,37,37,22,22,22,37,22,37,22,37,22,37,22,37,22,37,22,37,22,22,22,37,22,37,22,37,22,37,22,37,22,37,22,37,22,22,22,37,22,22,39,0,39,0,38,39,38,38,38,39,39,38,39,38,39,38,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,38,39,39,38,38,39,39,38,39,38,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,39,38,38,39,42,42],"f":[0,[[]],[[]],0,[1],[1],[1],[[]],[[]],[[]],[[]],[[]],0,[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,0,0,[[],7],[[],7],[[],8],[[],9],[[]],[[]],0,[[]],0,0,0,0,0,0,0,0,[10],[10],0,[11,11],[11,11],[11,11],[11,11],[[]],[[]],[[]],[[]],[12,12],[13,13],[[]],[[]],[[],11],[[],11],0,[1],[1],[1],[1],[1],[1],0,0,[[12,14],15],[[13,14],15],0,[[]],[[]],[16,[[7,[12,17]]]],[16,[[7,[13,17]]]],[16,[[7,[12,17]]]],[16,[[7,[13,17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[9,20],[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,0,[12,21],[[13,22],21],0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],8],[[],8],[[],9],[[],9],[[]],[[]],[[]],[[]],[[12,16],[[7,[17]]]],[[13,16],[[7,[17]]]],[[12,16],[[7,[17]]]],[[13,16],[[7,[17]]]],[[]],[[]],0,[10],[11,11],[11,11],[[]],[[]],[23,23],[[]],[[],11],[[],11],[1],[1],[1],[[23,14],15],[[]],0,[16,[[7,[23,17]]]],[16,[[7,[23,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[22,23],21],0,[[]],[[],7],[[],7],[[],8],[[],9],[[]],[[]],[[23,16],[[7,[17]]]],[[23,16],[[7,[17]]]],[[]],0,[10],[11,11],[11,11],0,[[]],[[]],[24,24],[[]],[[],11],[[],11],[1],[1],[1],[[24,14],15],[[]],[16,[[7,[24,17]]]],[16,[[7,[24,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[22,24],21],0,[[]],[[],7],[[],7],0,[[],8],[[],9],[[]],[[]],[[24,16],[[7,[17]]]],[[24,16],[[7,[17]]]],[[]],0,[10],[11,11],[11,11],0,[[]],[[]],0,[25,25],[[]],[[],11],[[],11],[1],[1],[1],[[25,14],15],[[]],[16,[[7,[25,17]]]],[16,[[7,[25,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[22,25],21],0,0,[[]],[[],7],[[],7],0,[[],8],[[],9],[[]],[[]],[[25,16],[[7,[17]]]],[[25,16],[[7,[17]]]],[[]],0,[10],[11,11],[11,11],[[]],[[]],[26,26],[[]],[[],11],[[],11],[1],[1],[1],[[26,14],15],[[]],[16,[[7,[26,17]]]],[16,[[7,[26,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[22,26],21],0,[[]],[[],7],[[],7],0,[[],8],[[],9],[[]],[[]],[[26,16],[[7,[17]]]],[[26,16],[[7,[17]]]],0,[[]],0,[10],[11,11],[11,11],[[]],[[]],[27,27],[[]],[[],11],[[],11],[1],[1],[1],[[27,14],15],[[]],[16,[[7,[27,17]]]],[16,[[7,[27,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],0,[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[22,27],21],0,[[]],[[],7],[[],7],[[],8],[[],9],[[]],[[]],[[27,16],[[7,[17]]]],[[27,16],[[7,[17]]]],[[]],0,[10],[11,11],[11,11],[[]],[[]],0,[28,28],[[]],[[],11],[[],11],[1],[1],[1],[[28,14],15],[[]],[16,[[7,[28,17]]]],[16,[[7,[28,17]]]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[22,28],21],0,[[]],[[],7],[[],7],[[],8],[[],9],[[]],[[]],[[28,16],[[7,[17]]]],[[28,16],[[7,[17]]]],[[]],0,0,0,0,0,0,0,0,0,0,0,[10],[10],[11,11],[11,11],[[]],[[]],[[]],[[]],[29,29],[30,30],[[]],[[]],[[],11],[[],11],[1],[1],[1],[1],[1],[1],[[29,14],[[7,[31]]]],[[29,14],15],[[30,14],15],[[]],[[]],[16,[[7,[29,17]]]],[16,[[7,[29,17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,[[7,[29]]]],[19,7],[[29,19],7],[9,20],[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],[[]],[[],30],[30,1],[[],1],[30,19],[30,19],[[30,1],19],[[],32],[33,34],[30],[[]],[[]],[[],35],[[],[[7,[36]]]],[[],7],[[],7],[[],7],[[],7],[[],8],[[],8],[[],9],[[],9],[[]],[[]],[[]],[[]],[[29,16],[[7,[17]]]],[[29,16],[[7,[17]]]],[[]],[[]],0,0,0,0,[10],[10],[11,11],[11,11],[[]],[[]],[[]],[[]],[22,22],[37,37],[[]],[[]],[[],11],[[],11],[1],[1],[1],[1],[1],[1],0,[[22,14],15],[[37,14],15],[[]],[[]],[16,[[7,[22,17]]]],[16,[[7,[22,17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[9,[[7,[37]]]],[[],[[19,[18]]]],0,[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],8],[[],8],[[],9],[[],9],[[]],[[]],[[]],[[]],[[22,16],[[7,[17]]]],[[22,16],[[7,[17]]]],[[]],[[]],0,0,0,0,0,0,[10],[10],0,[11,11],[11,11],[11,11],[11,11],[[]],[[]],[[]],[[]],0,[38,38],[39,39],[[]],[[]],[1],[1],[1],[1],[1],[1],[[38,14],15],[[39,14],15],[[]],[[]],[16,[[7,[38,17]]]],[16,[[7,[39,17]]]],[16,[[7,[38,17]]]],[16,[[7,[39,17]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[19,[18]]]],[9,20],0,[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[],7],[[],7],[[],7],[[],7],[[],8],[[],8],[[],9],[[],9],[[]],[[]],[[]],[[]],[[38,16],[[7,[17]]]],[[39,16],[[7,[17]]]],[[38,16],[[7,[17]]]],[[39,16],[[7,[17]]]],0,[[]],[[]],0,0],"c":[],"p":[[15,"usize"],[3,"Global"],[3,"Box"],[8,"Any"],[3,"Arc"],[3,"Rc"],[4,"Result"],[3,"TypeId"],[15,"str"],[3,"Private"],[3,"Command"],[3,"TryRuntime"],[4,"Action"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[6,"Error"],[3,"Id"],[4,"Option"],[15,"bool"],[6,"Result"],[3,"SharedParams"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[4,"Chain"],[3,"ChainIter"],[3,"Error"],[3,"IterBridge"],[3,"ProgressBar"],[3,"ProgressBarIter"],[3,"String"],[3,"BoundedVec"],[4,"Runtime"],[3,"LiveState"],[4,"State"],[3,"RefTimeInfo"],[8,"InherentProvider"],[13,"Snap"]]}\ +"try_runtime_core":{"doc":"","t":"DLLALLLLLLLLALLLLLLLMAALLLLLLLMLENNNNNNDLLMLLLLLLLLLLLLLLALLLLLLAALLALLLLLLLLLLLLLLLLLLLLLLLLLLLLLLAALLMLLLLLLLLLLLLLLLLLLLLDLLLLLLLLLLLLLLMLLLLLLLLLLLLLLFMLLLLLLLLLLDLLLMLLLLLLLLLLLLLLLLLLLLLLLLLFMLLLMLLLLLLLDLLLMLLMLLLLLLLLLLLLLLLLLLLLLLLMFMMLLLMLLLLLLLDLLLLLLLLLLLLLLLLLLLLLLLLLLLLMFMLLLMLLLLLLMLDLLLLLLLLLLLLLLLLLLLLLMLLLLLLLFMLLLLLLLLLLDLLLLLMLLLLLLLLLLLLLLLLLLLLLLLMFMLLLLLLLLLLNEDQINNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLKLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLNNEDLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMMLLLLLLLLLLLLLLLLLLMMNDNELLMLLLLLLLLMLLLLLLLLLLLLLLLLLLLLLLLLLLLLMLLLLLLLLLLLLLLMLLLLLLLLLLLLLLLLLLMLLMM","n":["RefTimeInfo","borrow","borrow_mut","commands","deref","deref_mut","drop","from","from_mut","from_mut","from_ref","from_ref","inherent_provider","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","max","shared_parameters","state","try_from","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","used","vzip","Action","CreateSnapshot","ExecuteBlock","FastForward","FollowChain","OffchainWorker","OnRuntimeUpgrade","TryRuntime","__clone_box","__clone_box","action","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","create_snapshot","deref","deref","deref_mut","deref_mut","drop","drop","execute_block","fast_forward","fmt","fmt","follow_chain","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","group_id","has_subcommand","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","offchain_worker","on_runtime_upgrade","run","run","shared","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","vzip","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","snapshot_path","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","block_ws_uri","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","state","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","block_ws_uri","borrow","borrow_mut","chain","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","n_blocks","run","run_migrations","state","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","keep_connection","run","state_root_check","to_owned","try_from","try_into","try_state","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","uri","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","header_ws_uri","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","run","state","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","Command","__clone_box","augment_args","augment_args_for_update","borrow","borrow_mut","checks","clone","clone_into","command","command_for_update","deref","deref_mut","drop","fmt","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_ref","from_ref","group_id","init","into","into_any","into_any_arc","into_any_rc","into_mut","into_ref","no_weight_warnings","run","state","to_owned","try_from","try_into","type_id","type_name","unchecked_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","AlephZero","Chain","ChainIter","Err","InherentProvider","Kusama","Polkadot","Rococo","SubstrateKitchenSink","SubstrateNodeTemplate","Westend","__clone_box","__clone_box","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_str","get_inherent_providers_and_pre_digest","get_inherent_providers_and_pre_digest","has_subcommand","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_iter","into_mut","into_mut","into_ref","into_ref","iter","len","len","next","next_back","nth","par_bridge","progress_with","size_hint","to_owned","to_owned","to_string","try_collect","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","Existing","Path","Runtime","SharedParams","__clone_box","__clone_box","augment_args","augment_args_for_update","borrow","borrow","borrow_mut","borrow_mut","clone","clone","clone_into","clone_into","command","command_for_update","deref","deref","deref_mut","deref_mut","drop","drop","export_proof","fmt","fmt","from","from","from_arg_matches","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","from_str","group_id","heap_pages","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","overwrite_state_version","runtime","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches_mut","vzip","vzip","wasm_method","wasmtime_instantiation_strategy","Live","LiveState","Snap","State","__clone_box","__clone_box","at","augment_args","augment_args_for_update","augment_subcommands","augment_subcommands_for_update","borrow","borrow","borrow_mut","borrow_mut","child_tree","clone","clone","clone_into","clone_into","deref","deref","deref_mut","deref_mut","drop","drop","fmt","fmt","from","from","from_arg_matches","from_arg_matches","from_arg_matches_mut","from_arg_matches_mut","from_mut","from_mut","from_mut","from_mut","from_ref","from_ref","from_ref","from_ref","group_id","has_subcommand","hashed_prefixes","init","init","into","into","into_any","into_any","into_any_arc","into_any_arc","into_any_rc","into_any_rc","into_mut","into_mut","into_ref","into_ref","pallet","to_owned","to_owned","try_from","try_from","try_into","try_into","type_id","type_id","type_name","type_name","unchecked_into","unchecked_into","unique_saturated_into","unique_saturated_into","update_from_arg_matches","update_from_arg_matches","update_from_arg_matches_mut","update_from_arg_matches_mut","uri","vzip","vzip","path","snapshot_path"],"q":[[0,"try_runtime_core"],[32,"try_runtime_core::commands"],[124,"try_runtime_core::commands::create_snapshot"],[166,"try_runtime_core::commands::execute_block"],[209,"try_runtime_core::commands::fast_forward"],[255,"try_runtime_core::commands::follow_chain"],[299,"try_runtime_core::commands::offchain_worker"],[341,"try_runtime_core::commands::on_runtime_upgrade"],[384,"try_runtime_core::inherent_provider"],[478,"try_runtime_core::shared_parameters"],[556,"try_runtime_core::state"],[637,"try_runtime_core::state::State"]],"d":["","","","","","","","Returns the argument unchanged.","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","TODO: Docs","","Calls U::from(self).","","","","","","","","","try_from Vec encoded as (Weight, Weight) tuple","","","","","","","","","Possible actions of try-runtime.","Create snapshot files.","Executes the given block against some state.","Executes a runtime upgrade (optional), then mines a number …","Follow the given chain’s finalized blocks and apply all …","Executes the offchain worker hooks of a given block …","Execute the migrations of the given runtime","Ready to use, vanilla command combining common actions.","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Configurations for run.","","","","","","","","","","","","","","Returns the argument unchanged.","The source of the snapshot. Must be a remote node.","","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","","Calls U::from(self).","","","","","","Runs the create_snapshot command.","The snapshot path to write to.","","","","","","","","","","","Configurations for run.","","","","The ws uri from which to fetch the block.","","","","","","","","","","","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","","The state type to use.","","","","Which try-state targets to execute when running this …","","","","","","","","Configuration for run.","","","","The ws uri from which to fetch the block.","","","Chain","","","","","","","","","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","How many empty blocks should be processed.","","Whether to run pending migrations before fast-forwarding.","The state type to use.","","","","Which try-state targets to execute when running this …","","","","","","","","Configurations for run.","","","","","","","","","","","","","","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","","Calls U::from(self).","","","","","","If present, a single connection to a node will be kept and …","","If set, then the state root check is enabled.","","","","Which try-state targets to execute when running this …","","","","","","","The url to connect to.","","Configuration for run.","","","","","","","","","","","","","","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","The ws uri from which to fetch the header.","","Calls U::from(self).","","","","","","","The state type to use.","","","","","","","","","","","Configuration for run.","","","","","","Select which optional checks to perform. Selects all when …","","","","","","","","","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","Calls U::from(self).","","","","","","Whether to assume that the runtime is a relay chain …","","The state type to use.","","","","","","","","","","","","Chains that have InherentProvider implemented.","An iterator over the variants of Chain","","Trait for providing the inherent data and digest items for …","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","Get a mutable reference to the inner from the outer.","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","","Get a reference to the inner from the outer.","","","","","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Use the code of the remote node, or the snapshot.","Use the given path to the wasm binary file.","","Shared parameters of the try-runtime commands","","","","","","","","","","","","","","","","","","","","","Path to a file to export the storage proof into (as a …","","","Returns the argument unchanged.","Returns the argument unchanged.","","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","The number of 64KB pages to allocate for Wasm execution. …","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","Overwrite the state_version.","The runtime to use.","","","","","","","","","","","","","","","","","","","Type of wasm execution used.","The WASM instantiation method to use.","Use a live chain as the source of runtime state.","A Live variant for State","Use a state snapshot as the source of runtime state.","The source of runtime state to use.","","","The block hash at which to fetch the state.","","","","","","","","","Fetch the child-keys as well.","","","","","","","","","","","","","Returns the argument unchanged.","Returns the argument unchanged.","","","","","Get a mutable reference to the inner from the outer.","","","Get a mutable reference to the inner from the outer.","Get a reference to the inner from the outer.","","Get a reference to the inner from the outer.","","","","Storage entry key prefixes to scrape and inject into the …","","","Calls U::from(self).","Calls U::from(self).","","","","","","","","","","","A pallet to scrape. Can be provided multiple times. If …","","","","","","","","","","","","","","","","","","","The url to connect to.","","","","DEPRECATED: use --path instead."],"i":[0,9,9,0,9,9,9,9,9,9,9,9,0,9,9,9,9,9,9,9,9,0,0,9,9,9,9,9,9,9,9,9,0,16,16,16,16,16,16,0,15,16,15,15,15,16,16,15,16,15,16,15,16,15,16,15,15,0,15,16,15,16,15,16,0,0,15,16,0,15,16,15,16,15,16,15,15,16,16,15,15,16,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,0,0,15,16,15,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,15,16,0,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,0,26,26,26,26,26,26,26,26,26,26,26,0,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,0,27,27,27,27,27,27,27,27,27,27,27,27,0,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,0,28,28,28,28,28,28,28,28,28,28,28,28,28,0,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,0,29,29,29,29,29,29,29,29,29,29,29,29,29,0,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,30,0,30,30,30,30,30,30,30,30,30,30,30,0,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,31,0,31,31,31,31,31,31,31,31,31,31,31,32,0,0,43,0,32,32,32,32,32,32,32,33,32,32,32,33,32,33,32,33,32,33,32,32,32,33,32,33,32,33,32,32,33,32,33,32,32,32,32,33,33,32,32,33,33,32,43,32,32,32,33,32,33,32,33,32,33,32,33,33,32,33,32,33,32,33,33,33,33,33,33,33,33,32,33,32,33,32,33,32,33,32,33,32,33,32,33,32,33,32,32,32,33,40,40,0,0,25,40,25,25,25,40,25,40,25,40,25,40,25,25,25,40,25,40,25,40,25,25,40,25,40,25,25,25,25,40,40,25,25,40,40,40,25,25,25,40,25,40,25,40,25,40,25,40,25,40,25,40,25,25,25,40,25,40,25,40,25,40,25,40,25,40,25,40,25,25,25,40,25,25,42,0,42,0,41,42,41,41,41,42,42,41,42,41,42,41,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,41,42,42,41,41,42,42,41,42,41,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,42,41,41,42,44,44],"f":[0,[[]],[[]],0,[1],[1],[1],[[]],[[]],[[]],[[]],[[]],0,[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,0,0,[[[8,[7]]],[[10,[9]]]],[[],10],[[],10],[[],11],[[],12],[[]],[[]],0,[[]],0,0,0,0,0,0,0,0,[13],[13],0,[14,14],[14,14],[14,14],[14,14],[[]],[[]],[[]],[[]],[15,15],[16,16],[[]],[[]],[[],14],[[],14],0,[1],[1],[1],[1],[1],[1],0,0,[[15,17],18],[[16,17],18],0,[[]],[[]],[19,[[10,[15,20]]]],[19,[[10,[16,20]]]],[19,[[10,[15,20]]]],[19,[[10,[16,20]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[12,23],[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,0,[15,24],[[16,25],24],0,[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],12],[[],12],[[]],[[]],[[]],[[]],[[15,19],[[10,[20]]]],[[16,19],[[10,[20]]]],[[15,19],[[10,[20]]]],[[16,19],[[10,[20]]]],[[]],[[]],0,[13],[14,14],[14,14],[[]],[[]],[26,26],[[]],[[],14],[[],14],[1],[1],[1],[[26,17],18],[[]],0,[19,[[10,[26,20]]]],[19,[[10,[26,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[25,26],24],0,[[]],[[],10],[[],10],[[],11],[[],12],[[]],[[]],[[26,19],[[10,[20]]]],[[26,19],[[10,[20]]]],[[]],0,[13],[14,14],[14,14],0,[[]],[[]],[27,27],[[]],[[],14],[[],14],[1],[1],[1],[[27,17],18],[[]],[19,[[10,[27,20]]]],[19,[[10,[27,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[25,27],24],0,[[]],[[],10],[[],10],0,[[],11],[[],12],[[]],[[]],[[27,19],[[10,[20]]]],[[27,19],[[10,[20]]]],[[]],0,[13],[14,14],[14,14],0,[[]],[[]],0,[28,28],[[]],[[],14],[[],14],[1],[1],[1],[[28,17],18],[[]],[19,[[10,[28,20]]]],[19,[[10,[28,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[25,28],24],0,0,[[]],[[],10],[[],10],0,[[],11],[[],12],[[]],[[]],[[28,19],[[10,[20]]]],[[28,19],[[10,[20]]]],[[]],0,[13],[14,14],[14,14],[[]],[[]],[29,29],[[]],[[],14],[[],14],[1],[1],[1],[[29,17],18],[[]],[19,[[10,[29,20]]]],[19,[[10,[29,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[25,29],24],0,[[]],[[],10],[[],10],0,[[],11],[[],12],[[]],[[]],[[29,19],[[10,[20]]]],[[29,19],[[10,[20]]]],0,[[]],0,[13],[14,14],[14,14],[[]],[[]],[30,30],[[]],[[],14],[[],14],[1],[1],[1],[[30,17],18],[[]],[19,[[10,[30,20]]]],[19,[[10,[30,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],0,[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[25,30],24],0,[[]],[[],10],[[],10],[[],11],[[],12],[[]],[[]],[[30,19],[[10,[20]]]],[[30,19],[[10,[20]]]],[[]],0,[13],[14,14],[14,14],[[]],[[]],0,[31,31],[[]],[[],14],[[],14],[1],[1],[1],[[31,17],18],[[]],[19,[[10,[31,20]]]],[19,[[10,[31,20]]]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[[],1],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],0,[[25,31],24],0,[[]],[[],10],[[],10],[[],11],[[],12],[[]],[[]],[[31,19],[[10,[20]]]],[[31,19],[[10,[20]]]],[[]],0,0,0,0,0,0,0,0,0,0,0,[13],[13],[14,14],[14,14],[[]],[[]],[[]],[[]],[32,32],[33,33],[[]],[[]],[[],14],[[],14],[1],[1],[1],[1],[1],[1],[[32,17],18],[[32,17],[[10,[34]]]],[[33,17],18],[[]],[[]],[19,[[10,[32,20]]]],[19,[[10,[32,20]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[12,[[10,[32]]]],[22,10],[[32,22],10],[12,23],[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],[[]],[[],33],[33,1],[[],1],[33,22],[33,22],[[33,1],22],[[],35],[36,37],[33],[[]],[[]],[[],38],[[],[[10,[39]]]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],12],[[],12],[[]],[[]],[[]],[[]],[[32,19],[[10,[20]]]],[[32,19],[[10,[20]]]],[[]],[[]],0,0,0,0,[13],[13],[14,14],[14,14],[[]],[[]],[[]],[[]],[25,25],[40,40],[[]],[[]],[[],14],[[],14],[1],[1],[1],[1],[1],[1],0,[[25,17],18],[[40,17],18],[[]],[[]],[19,[[10,[25,20]]]],[19,[[10,[25,20]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[12,[[10,[40]]]],[[],[[22,[21]]]],0,[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,0,[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],12],[[],12],[[]],[[]],[[]],[[]],[[25,19],[[10,[20]]]],[[25,19],[[10,[20]]]],[[]],[[]],0,0,0,0,0,0,[13],[13],0,[14,14],[14,14],[14,14],[14,14],[[]],[[]],[[]],[[]],0,[41,41],[42,42],[[]],[[]],[1],[1],[1],[1],[1],[1],[[41,17],18],[[42,17],18],[[]],[[]],[19,[[10,[41,20]]]],[19,[[10,[42,20]]]],[19,[[10,[41,20]]]],[19,[[10,[42,20]]]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[]],[[],[[22,[21]]]],[12,23],0,[[],1],[[],1],[[]],[[]],[[[3,[2]]],[[3,[4,2]]]],[[[3,[2]]],[[3,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[5,[2]]],[[5,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[[6,[2]]],[[6,[4,2]]]],[[]],[[]],[[]],[[]],0,[[]],[[]],[[],10],[[],10],[[],10],[[],10],[[],11],[[],11],[[],12],[[],12],[[]],[[]],[[]],[[]],[[41,19],[[10,[20]]]],[[42,19],[[10,[20]]]],[[41,19],[[10,[20]]]],[[42,19],[[10,[20]]]],0,[[]],[[]],0,0],"c":[],"p":[[15,"usize"],[3,"Global"],[3,"Box"],[8,"Any"],[3,"Arc"],[3,"Rc"],[15,"u8"],[3,"Vec"],[3,"RefTimeInfo"],[4,"Result"],[3,"TypeId"],[15,"str"],[3,"Private"],[3,"Command"],[3,"TryRuntime"],[4,"Action"],[3,"Formatter"],[6,"Result"],[3,"ArgMatches"],[6,"Error"],[3,"Id"],[4,"Option"],[15,"bool"],[6,"Result"],[3,"SharedParams"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[3,"Command"],[4,"Chain"],[3,"ChainIter"],[3,"Error"],[3,"IterBridge"],[3,"ProgressBar"],[3,"ProgressBarIter"],[3,"String"],[3,"BoundedVec"],[4,"Runtime"],[3,"LiveState"],[4,"State"],[8,"InherentProvider"],[13,"Snap"]]}\ }'); if (typeof window !== 'undefined' && window.initSearch) {window.initSearch(searchIndex)}; if (typeof exports !== 'undefined') {exports.searchIndex = searchIndex}; diff --git a/src/try_runtime_core/commands/on_runtime_upgrade.rs.html b/src/try_runtime_core/commands/on_runtime_upgrade.rs.html index c2a60ced483..575ffa81425 100644 --- a/src/try_runtime_core/commands/on_runtime_upgrade.rs.html +++ b/src/try_runtime_core/commands/on_runtime_upgrade.rs.html @@ -247,6 +247,9 @@ 247 248 249 +250 +251 +252
// This file is part of try-runtime-cli.
 
 // Copyright (C) Parity Technologies (UK) Ltd.
@@ -341,7 +344,7 @@
         "🔬 Running TryRuntime_on_runtime_upgrade with checks: {:?}",
         command.checks
     );
-    let (_, proof, ref_time_results) = state_machine_call_with_proof::<Block, HostFns>(
+    let (_, proof, encoded_result) = state_machine_call_with_proof::<Block, HostFns>(
         &ext,
         &executor,
         "TryRuntime_on_runtime_upgrade",
@@ -350,6 +353,8 @@
         shared.export_proof.clone(),
     )?;
 
+    let ref_time_results = encoded_result.try_into()?;
+
     // If the above call ran with checks then we need to run the call again without checks to
     // measure PoV correctly.
     // Otherwise, storage lookups from try-runtime logic like pre/post hooks are included in the PoV
@@ -360,7 +365,7 @@
             log::info!(
                 "🔬 TryRuntime_on_runtime_upgrade succeeded! Running it again without checks for weight measurements."
             );
-            let (_, proof, ref_time_results) = state_machine_call_with_proof::<Block, HostFns>(
+            let (_, proof, encoded_result) = state_machine_call_with_proof::<Block, HostFns>(
                 &ext,
                 &executor,
                 "TryRuntime_on_runtime_upgrade",
@@ -368,6 +373,7 @@
                 Default::default(), // we don't really need any extensions here.
                 shared.export_proof,
             )?;
+            let ref_time_results = encoded_result.try_into()?;
             (proof, ref_time_results)
         }
     };
diff --git a/src/try_runtime_core/lib.rs.html b/src/try_runtime_core/lib.rs.html
index a171ecbd92f..cc2e0d46724 100644
--- a/src/try_runtime_core/lib.rs.html
+++ b/src/try_runtime_core/lib.rs.html
@@ -249,6 +249,7 @@
 249
 250
 251
+252
 
// This file is part of try-runtime-cli.
 
 // Copyright (C) Parity Technologies (UK) Ltd.
@@ -381,6 +382,22 @@
     pub max: Duration,
 }
 
+impl TryFrom<Vec<u8>> for RefTimeInfo {
+    type Error = String;
+
+    /// try_from Vec encoded as (Weight, Weight) tuple
+    fn try_from(value: Vec<u8>) -> Result<Self, Self::Error> {
+        let (weight_used, weight_max) = <(Weight, Weight)>::decode_all(&mut &*value)
+            .map_err(|e| format!("failed to decode weight: {:?}", e))?;
+
+        Ok(RefTimeInfo {
+            // 1000 picoseconds == 1 nanosecond
+            used: Duration::from_nanos(weight_used.ref_time() / 1000),
+            max: Duration::from_nanos(weight_max.ref_time() / 1000),
+        })
+    }
+}
+
 /// Same as [`state_machine_call`], but it also computes and returns the storage proof and ref time
 /// information.
 ///
@@ -392,11 +409,7 @@
     data: &[u8],
     mut extensions: Extensions,
     maybe_export_proof: Option<PathBuf>,
-) -> sc_cli::Result<(
-    OverlayedChanges<HashingFor<Block>>,
-    StorageProof,
-    RefTimeInfo,
-)> {
+) -> sc_cli::Result<(OverlayedChanges<HashingFor<Block>>, StorageProof, Vec<u8>)> {
     let mut changes = Default::default();
     let backend = ext.backend.clone();
     let runtime_code_backend = sp_state_machine::backend::BackendRuntimeCode::new(&backend);
@@ -449,18 +462,7 @@
             })?;
     }
 
-    let (weight_used, weight_max) = <(Weight, Weight)>::decode_all(&mut &*encoded_result)
-        .map_err(|e| format!("failed to decode weight: {:?}", e))?;
-
-    Ok((
-        changes,
-        proof,
-        RefTimeInfo {
-            // 1000 picoseconds == 1 nanosecond
-            used: Duration::from_nanos(weight_used.ref_time() / 1000),
-            max: Duration::from_nanos(weight_max.ref_time() / 1000),
-        },
-    ))
+    Ok((changes, proof, encoded_result))
 }
 
 /// Converts a [`sp_state_machine::StorageProof`] into a JSON string.
diff --git a/try_runtime/index.html b/try_runtime/index.html
index f49b50f00fb..eb7e15c0c88 100644
--- a/try_runtime/index.html
+++ b/try_runtime/index.html
@@ -1,4 +1,4 @@
-try_runtime - Rust

Crate try_runtime

source ·
Expand description

Try-runtime

+try_runtime - Rust

Crate try_runtime

source ·
Expand description

Try-runtime

Substrate’s programmatic testing framework.

As the name suggests, try-runtime is a detailed testing framework that gives you a lot of diff --git a/try_runtime_core/commands/on_runtime_upgrade/fn.run.html b/try_runtime_core/commands/on_runtime_upgrade/fn.run.html index c73f108b99c..8e8658a7115 100644 --- a/try_runtime_core/commands/on_runtime_upgrade/fn.run.html +++ b/try_runtime_core/commands/on_runtime_upgrade/fn.run.html @@ -1,4 +1,4 @@ -run in try_runtime_core::commands::on_runtime_upgrade - Rust

pub async fn run<Block, HostFns>(
+run in try_runtime_core::commands::on_runtime_upgrade - Rust
pub async fn run<Block, HostFns>(
     shared: SharedParams,
     command: Command
 ) -> Result<()>where
diff --git a/try_runtime_core/commands/on_runtime_upgrade/index.html b/try_runtime_core/commands/on_runtime_upgrade/index.html
index d6043c4bbc8..2cf894f8cac 100644
--- a/try_runtime_core/commands/on_runtime_upgrade/index.html
+++ b/try_runtime_core/commands/on_runtime_upgrade/index.html
@@ -1 +1 @@
-try_runtime_core::commands::on_runtime_upgrade - Rust
\ No newline at end of file +try_runtime_core::commands::on_runtime_upgrade - Rust
\ No newline at end of file diff --git a/try_runtime_core/index.html b/try_runtime_core/index.html index 7ca523e75b8..f460e637bf9 100644 --- a/try_runtime_core/index.html +++ b/try_runtime_core/index.html @@ -1 +1 @@ -try_runtime_core - Rust
\ No newline at end of file +try_runtime_core - Rust
\ No newline at end of file diff --git a/try_runtime_core/inherent_provider/enum.Chain.html b/try_runtime_core/inherent_provider/enum.Chain.html index 68d769605f8..dea4e31ceab 100644 --- a/try_runtime_core/inherent_provider/enum.Chain.html +++ b/try_runtime_core/inherent_provider/enum.Chain.html @@ -16,7 +16,7 @@ &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from ArgMatches to self.
source§

impl FromStr for Chain

Implement FromStr so chain can be parsed as a CLI argument.

-
§

type Err = String

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl InherentProvider for Chain

§

type Err = String

The associated error which can be returned from parsing.
source§

fn from_str(s: &str) -> Result<Self, Self::Err>

Parses a string s to return a value of this type. Read more
source§

impl InherentProvider for Chain

§

type Err = String

source§

fn get_inherent_providers_and_pre_digest( &self, maybe_prev_info: Option<(InherentData, Digest)> ) -> Result<(Box<dyn InherentDataProvider>, Vec<DigestItem>), Self::Err>

source§

impl IntoEnumIterator for Chain

source§

impl Parser for Chain

§

fn parse() -> Self

Parse from std::env::args_os(), exit on error
§

fn try_parse() -> Result<Self, Error<RichFormatter>>

Parse from std::env::args_os(), return Err on error.
§

fn parse_from<I, T>(itr: I) -> Selfwhere diff --git a/try_runtime_core/struct.RefTimeInfo.html b/try_runtime_core/struct.RefTimeInfo.html index 5e9fd4f38df..996486079fb 100644 --- a/try_runtime_core/struct.RefTimeInfo.html +++ b/try_runtime_core/struct.RefTimeInfo.html @@ -1,7 +1,8 @@ -RefTimeInfo in try_runtime_core - Rust
pub struct RefTimeInfo {
+RefTimeInfo in try_runtime_core - Rust
pub struct RefTimeInfo {
     pub used: Duration,
     pub max: Duration,
-}

Fields§

§used: Duration§max: Duration

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere +}

Fields§

§used: Duration§max: Duration

Trait Implementations§

source§

impl TryFrom<Vec<u8, Global>> for RefTimeInfo

source§

fn try_from(value: Vec<u8>) -> Result<Self, Self::Error>

try_from Vec encoded as (Weight, Weight) tuple

+
§

type Error = String

The type returned in the event of a conversion error.

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Any for Twhere T: Any,

§

fn into_any(self: Box<T, Global>) -> Box<dyn Any, Global>

§

fn into_any_rc(self: Rc<T, Global>) -> Rc<dyn Any, Global>

§

fn type_name(&self) -> &'static str

§

impl<T> AnySync for Twhere T: Any + Send + Sync,

§

fn into_any_arc(self: Arc<T, Global>) -> Arc<dyn Any + Sync + Send, Global>

source§

impl<T> Borrow<T> for Twhere @@ -24,8 +25,8 @@

§

impl<T> Pointable for T

§

const ALIGN: usize = mem::align_of::<T>()

The alignment of pointer.
§

type Init = T

The type for initializers.
§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
§

impl<T> SaturatedConversion for T

§

fn saturated_from<T>(t: T) -> Selfwhere Self: UniqueSaturatedFrom<T>,

Convert from a value of T into an equivalent instance of Self. Read more
§

fn saturated_into<T>(self) -> Twhere Self: UniqueSaturatedInto<T>,

Consume self to return an equivalent value of T. Read more
source§

impl<T, U> TryFrom<U> for Twhere - U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere - U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere + U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere + U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
§

impl<S, T> UncheckedInto<T> for Swhere T: UncheckedFrom<S>,

§

fn unchecked_into(self) -> T

The counterpart to unchecked_from.
§

impl<T, S> UniqueSaturatedInto<T> for Swhere T: Bounded, S: TryInto<T>,

§

fn unique_saturated_into(self) -> T

Consume self to return an equivalent value of T.
§

impl<V, T> VZip<V> for Twhere