Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4900d85 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
github-merge-queue[bot] committed Nov 9, 2023
1 parent 3b0ff84 commit 842f0b3
Show file tree
Hide file tree
Showing 246 changed files with 836 additions and 814 deletions.
2 changes: 1 addition & 1 deletion domain_block_preprocessor/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="This crate provides a preprocessor for the domain block, which is used to construct domain extrinsics from the consensus block."><title>domain_block_preprocessor - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Regular-46f98efaafac5295.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Regular-018c141bf0843ffd.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/FiraSans-Medium-8f9a781e4970d388.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceSerif4-Bold-a2c9cd1067f8b328.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2"><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-deb46770fd761b69.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="domain_block_preprocessor" data-themes="" data-resource-suffix="" data-rustdoc-version="1.75.0-nightly (42b1224e9 2023-10-15)" data-channel="nightly" data-search-js="search-8fbf244ebcf71464.js" data-settings-js="settings-74424d7eec62a23e.js" ><script src="../static.files/storage-fec3eaa3851e447d.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-5f34af1a0ee6bacd.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-5d8b3c7633ad77ba.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-16x16-8b506e7a72182f1c.png"><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../domain_block_preprocessor/index.html">domain_block_preprocessor</a><span class="version">0.1.0</span></h2></div><div class="sidebar-elems"><ul class="block">
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">domain_block_preprocessor</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/domain_block_preprocessor/lib.rs.html#1-378">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This crate provides a preprocessor for the domain block, which is used to construct
<li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#modules">Modules</a></li><li><a href="#structs">Structs</a></li><li><a href="#traits">Traits</a></li></ul></section></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><span></span><input class="search-input" name="search" aria-label="Run search in the documentation" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../static.files/wheel-7b819b6101059cd0.svg"></a></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">domain_block_preprocessor</a><button id="copy-path" title="Copy item path to clipboard"><img src="../static.files/clipboard-7571035ce49a181d.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="src" href="../src/domain_block_preprocessor/lib.rs.html#1-384">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><details class="toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>This crate provides a preprocessor for the domain block, which is used to construct
domain extrinsics from the consensus block.</p>
<p>The workflow is as follows:</p>
<ol>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Block: BlockT,
CBlock: BlockT,
CClient: ProvideRuntimeApi&lt;CBlock&gt; + HeaderBackend&lt;CBlock&gt;,
CClient::Api: DomainsApi&lt;CBlock, Block::Header&gt;,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.InherentDataProviders" class="associatedtype trait-impl"><a href="#associatedtype.InherentDataProviders" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InherentDataProviders</a> = (InherentDataProvider, <a class="struct" href="../../sp_executive/struct.InherentDataProvider.html" title="struct sp_executive::InherentDataProvider">InherentDataProvider</a>)</h4></section></summary><div class='docblock'>The inherent data providers that will be created.</div></details><details class="toggle method-toggle" open><summary><section id="method.create_inherent_data_providers" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/inherents.rs.html#181-208">source</a><a href="#method.create_inherent_data_providers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">create_inherent_data_providers</a>&lt;'life0, 'async_trait&gt;(
CClient::Api: DomainsApi&lt;CBlock, Block::Header&gt;,</span></h3></section></summary><div class="impl-items"><details class="toggle" open><summary><section id="associatedtype.InherentDataProviders" class="associatedtype trait-impl"><a href="#associatedtype.InherentDataProviders" class="anchor">§</a><h4 class="code-header">type <a class="associatedtype">InherentDataProviders</a> = (InherentDataProvider, InherentDataProvider)</h4></section></summary><div class='docblock'>The inherent data providers that will be created.</div></details><details class="toggle method-toggle" open><summary><section id="method.create_inherent_data_providers" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/inherents.rs.html#181-208">source</a><a href="#method.create_inherent_data_providers" class="anchor">§</a><h4 class="code-header">fn <a class="fn">create_inherent_data_providers</a>&lt;'life0, 'async_trait&gt;(
&amp;'life0 self,
_parent: Block::Hash,
_extra_args: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.unit.html">()</a>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@
&amp;self,
__runtime_api_at_param__: &lt;Block as Block&gt;::Hash,
code: <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, ApiError&gt;</h4></section></summary><div class='docblock'>Returns an encoded extrinsic aiming to upgrade the runtime using given code.</div></details><details class="toggle method-toggle" open><summary><section id="method.construct_timestamp_extrinsic-1" class="method trait-impl"><a href="#method.construct_timestamp_extrinsic-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">construct_timestamp_extrinsic</a>(
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="struct" href="https://doc.rust-lang.org/nightly/alloc/vec/struct.Vec.html" title="struct alloc::vec::Vec">Vec</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>, <a class="struct" href="https://doc.rust-lang.org/nightly/alloc/alloc/struct.Global.html" title="struct alloc::alloc::Global">Global</a>&gt;, ApiError&gt;</h4></section></summary><div class='docblock'>Returns an encoded extrinsic aiming to upgrade the runtime using given code.</div></details><details class="toggle method-toggle" open><summary><section id="method.construct_timestamp_extrinsic" class="method trait-impl"><a href="#method.construct_timestamp_extrinsic" class="anchor">§</a><h4 class="code-header">fn <a class="fn">construct_timestamp_extrinsic</a>(
&amp;self,
__runtime_api_at_param__: &lt;Block as Block&gt;::Hash,
moment: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u64.html">u64</a>
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;Block as Block&gt;::Extrinsic, ApiError&gt;</h4></section></summary><div class='docblock'>Returns an encoded extrinsic to set timestamp.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_inherent_extrinsic-1" class="method trait-impl"><a href="#method.is_inherent_extrinsic-1" class="anchor">§</a><h4 class="code-header">fn <a class="fn">is_inherent_extrinsic</a>(
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;&lt;Block as Block&gt;::Extrinsic, ApiError&gt;</h4></section></summary><div class='docblock'>Returns an encoded extrinsic to set timestamp.</div></details><details class="toggle method-toggle" open><summary><section id="method.is_inherent_extrinsic" class="method trait-impl"><a href="#method.is_inherent_extrinsic" class="anchor">§</a><h4 class="code-header">fn <a class="fn">is_inherent_extrinsic</a>(
&amp;self,
__runtime_api_at_param__: &lt;Block as Block&gt;::Hash,
extrinsic: &amp;&lt;Block as Block&gt;::Extrinsic
Expand Down Expand Up @@ -87,7 +87,7 @@
__runtime_api_at_param__: &lt;Block as Block&gt;::Hash
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;Digest, ApiError&gt;</h4></section></summary><div class='docblock'>Return the block digest</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-FetchRuntimeCode-for-RuntimeApiLight%3CExecutor%3E" class="impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#78-82">source</a><a href="#impl-FetchRuntimeCode-for-RuntimeApiLight%3CExecutor%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Executor&gt; FetchRuntimeCode for <a class="struct" href="struct.RuntimeApiLight.html" title="struct domain_block_preprocessor::runtime_api_light::RuntimeApiLight">RuntimeApiLight</a>&lt;Executor&gt;</h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.fetch_runtime_code" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#79-81">source</a><a href="#method.fetch_runtime_code" class="anchor">§</a><h4 class="code-header">fn <a class="fn">fetch_runtime_code</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="enum" href="https://doc.rust-lang.org/nightly/alloc/borrow/enum.Cow.html" title="enum alloc::borrow::Cow">Cow</a>&lt;'static, [<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.u8.html">u8</a>]&gt;&gt;</h4></section></summary><div class='docblock'>Fetch the runtime <code>:code</code>. <a>Read more</a></div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-IsInherentExtrinsic%3CBlock%3E-for-RuntimeApiLight%3CExecutor%3E" class="impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#206-218">source</a><a href="#impl-IsInherentExtrinsic%3CBlock%3E-for-RuntimeApiLight%3CExecutor%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Executor, Block&gt; <a class="trait" href="../runtime_api/trait.IsInherentExtrinsic.html" title="trait domain_block_preprocessor::runtime_api::IsInherentExtrinsic">IsInherentExtrinsic</a>&lt;Block&gt; for <a class="struct" href="struct.RuntimeApiLight.html" title="struct domain_block_preprocessor::runtime_api_light::RuntimeApiLight">RuntimeApiLight</a>&lt;Executor&gt;<span class="where fmt-newline">where
Block: BlockT,
Executor: CodeExecutor + RuntimeVersionOf,</span></h3></section></summary><div class="impl-items"><section id="method.is_inherent_extrinsic" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#211-217">source</a><a href="#method.is_inherent_extrinsic" class="anchor">§</a><h4 class="code-header">fn <a href="../runtime_api/trait.IsInherentExtrinsic.html#tymethod.is_inherent_extrinsic" class="fn">is_inherent_extrinsic</a>(
Executor: CodeExecutor + RuntimeVersionOf,</span></h3></section></summary><div class="impl-items"><section id="method.is_inherent_extrinsic-1" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#211-217">source</a><a href="#method.is_inherent_extrinsic-1" class="anchor">§</a><h4 class="code-header">fn <a href="../runtime_api/trait.IsInherentExtrinsic.html#tymethod.is_inherent_extrinsic" class="fn">is_inherent_extrinsic</a>(
&amp;self,
at: Block::Hash,
extrinsic: &amp;&lt;Block as BlockT&gt;::Extrinsic
Expand Down Expand Up @@ -124,7 +124,7 @@
ext: &amp;Block::Extrinsic
) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;<a class="type" href="../runtime_api/type.ExtractedStateRoots.html" title="type domain_block_preprocessor::runtime_api::ExtractedStateRoots">ExtractedStateRoots</a>&lt;Block&gt;, ApiError&gt;</h4></section></summary><div class='docblock'>Extracts the state roots from the extrinsic.</div></details></div></details><details class="toggle implementors-toggle" open><summary><section id="impl-TimestampExtrinsicConstructor%3CBlock%3E-for-RuntimeApiLight%3CExecutor%3E" class="impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#192-204">source</a><a href="#impl-TimestampExtrinsicConstructor%3CBlock%3E-for-RuntimeApiLight%3CExecutor%3E" class="anchor">§</a><h3 class="code-header">impl&lt;Executor, Block&gt; <a class="trait" href="../runtime_api/trait.TimestampExtrinsicConstructor.html" title="trait domain_block_preprocessor::runtime_api::TimestampExtrinsicConstructor">TimestampExtrinsicConstructor</a>&lt;Block&gt; for <a class="struct" href="struct.RuntimeApiLight.html" title="struct domain_block_preprocessor::runtime_api_light::RuntimeApiLight">RuntimeApiLight</a>&lt;Executor&gt;<span class="where fmt-newline">where
Block: BlockT,
Executor: CodeExecutor + RuntimeVersionOf,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.construct_timestamp_extrinsic" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#197-203">source</a><a href="#method.construct_timestamp_extrinsic" class="anchor">§</a><h4 class="code-header">fn <a href="../runtime_api/trait.TimestampExtrinsicConstructor.html#tymethod.construct_timestamp_extrinsic" class="fn">construct_timestamp_extrinsic</a>(
Executor: CodeExecutor + RuntimeVersionOf,</span></h3></section></summary><div class="impl-items"><details class="toggle method-toggle" open><summary><section id="method.construct_timestamp_extrinsic-1" class="method trait-impl"><a class="src rightside" href="../../src/domain_block_preprocessor/runtime_api_light.rs.html#197-203">source</a><a href="#method.construct_timestamp_extrinsic-1" class="anchor">§</a><h4 class="code-header">fn <a href="../runtime_api/trait.TimestampExtrinsicConstructor.html#tymethod.construct_timestamp_extrinsic" class="fn">construct_timestamp_extrinsic</a>(
&amp;self,
at: Block::Hash,
moment: Moment
Expand Down
Loading

0 comments on commit 842f0b3

Please sign in to comment.