Skip to content

Commit

Permalink
deploy: f36472f
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton committed Nov 27, 2024
1 parent 2c20188 commit fcd3ee4
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
9 changes: 5 additions & 4 deletions fault-proof/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ <h1 id="fault-proof"><a class="header" href="#fault-proof">Fault Proof</a></h1>
<li><a href="#l2-code-codehash"><code>l2-code &lt;codehash&gt;</code></a></li>
<li><a href="#l2-state-node-nodehash"><code>l2-state-node &lt;nodehash&gt;</code></a></li>
<li><a href="#l2-output-outputroot"><code>l2-output &lt;outputroot&gt;</code></a></li>
<li><a href="#l2-execution-witness-blocknumber"><code>l2-execution-witness &lt;blocknumber&gt;</code></a></li>
<li><a href="#l2-payload-witness-payload_attributes"><code>l2-payload-witness &lt;payload_attributes&gt;</code></a></li>
<li><a href="#l2-account-proof-blockhash_and_address"><code>l2-account-proof &lt;blockhash_and_address&gt;</code></a></li>
</ul>
</li>
Expand Down Expand Up @@ -535,12 +535,13 @@ <h4 id="l2-output-outputroot"><a class="header" href="#l2-output-outputroot"><co
<p>Requests the host to prepare the L2 Output at the l2 output root <code>&lt;outputroot&gt;</code>.
The L2 Output is the preimage of a
<a href="../protocol/proposals.html#l2-output-commitment-construction">computed output root</a>.</p>
<h4 id="l2-execution-witness-blocknumber"><a class="header" href="#l2-execution-witness-blocknumber"><code>l2-execution-witness &lt;blocknumber&gt;</code></a></h4>
<p>Requests the host to prepare all preimages used in the execution of the block at <code>&lt;blocknumber&gt;</code> height.</p>
<h4 id="l2-payload-witness-payload_attributes"><a class="header" href="#l2-payload-witness-payload_attributes"><code>l2-payload-witness &lt;payload_attributes&gt;</code></a></h4>
<p>Requests the host to prepare all preimages used in the building of the payload specified by <code>&lt;payload_attributes&gt;</code>.
<code>&lt;payload_attributes&gt;</code> is a JSON object with the fields <code>parentBlockHash</code> and <code>payloadAttributes</code>.</p>
<h4 id="l2-account-proof-blockhash_and_address"><a class="header" href="#l2-account-proof-blockhash_and_address"><code>l2-account-proof &lt;blockhash_and_address&gt;</code></a></h4>
<p>Requests the host send account proof for a certain block hash and address. <code>&lt;blockhash_and_address&gt;</code> is hex
encoded: 32-byte block hash + 20-byte address.</p>
<p><code>l2-execution-witness</code> and <code>l2-account-proof</code> hints are preferred over the more granular <code>l2-code</code> and <code>l2-state-node</code>,
<p><code>l2-payload-witness</code> and <code>l2-account-proof</code> hints are preferred over the more granular <code>l2-code</code> and <code>l2-state-node</code>,
and they should be sent before the more granular hints to ensure proper handling.</p>
<h3 id="precompile-accelerators"><a class="header" href="#precompile-accelerators">Precompile Accelerators</a></h3>
<p>Precompiles that are too expensive to be executed in a fault-proof VM can be executed
Expand Down
9 changes: 5 additions & 4 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -3952,7 +3952,7 @@ <h1 id="fault-proof"><a class="header" href="#fault-proof">Fault Proof</a></h1>
<li><a href="fault-proof/index.html#l2-code-codehash"><code>l2-code &lt;codehash&gt;</code></a></li>
<li><a href="fault-proof/index.html#l2-state-node-nodehash"><code>l2-state-node &lt;nodehash&gt;</code></a></li>
<li><a href="fault-proof/index.html#l2-output-outputroot"><code>l2-output &lt;outputroot&gt;</code></a></li>
<li><a href="fault-proof/index.html#l2-execution-witness-blocknumber"><code>l2-execution-witness &lt;blocknumber&gt;</code></a></li>
<li><a href="fault-proof/index.html#l2-payload-witness-payload_attributes"><code>l2-payload-witness &lt;payload_attributes&gt;</code></a></li>
<li><a href="fault-proof/index.html#l2-account-proof-blockhash_and_address"><code>l2-account-proof &lt;blockhash_and_address&gt;</code></a></li>
</ul>
</li>
Expand Down Expand Up @@ -4276,12 +4276,13 @@ <h4 id="l2-output-outputroot"><a class="header" href="#l2-output-outputroot"><co
<p>Requests the host to prepare the L2 Output at the l2 output root <code>&lt;outputroot&gt;</code>.
The L2 Output is the preimage of a
<a href="fault-proof/../protocol/proposals.html#l2-output-commitment-construction">computed output root</a>.</p>
<h4 id="l2-execution-witness-blocknumber"><a class="header" href="#l2-execution-witness-blocknumber"><code>l2-execution-witness &lt;blocknumber&gt;</code></a></h4>
<p>Requests the host to prepare all preimages used in the execution of the block at <code>&lt;blocknumber&gt;</code> height.</p>
<h4 id="l2-payload-witness-payload_attributes"><a class="header" href="#l2-payload-witness-payload_attributes"><code>l2-payload-witness &lt;payload_attributes&gt;</code></a></h4>
<p>Requests the host to prepare all preimages used in the building of the payload specified by <code>&lt;payload_attributes&gt;</code>.
<code>&lt;payload_attributes&gt;</code> is a JSON object with the fields <code>parentBlockHash</code> and <code>payloadAttributes</code>.</p>
<h4 id="l2-account-proof-blockhash_and_address"><a class="header" href="#l2-account-proof-blockhash_and_address"><code>l2-account-proof &lt;blockhash_and_address&gt;</code></a></h4>
<p>Requests the host send account proof for a certain block hash and address. <code>&lt;blockhash_and_address&gt;</code> is hex
encoded: 32-byte block hash + 20-byte address.</p>
<p><code>l2-execution-witness</code> and <code>l2-account-proof</code> hints are preferred over the more granular <code>l2-code</code> and <code>l2-state-node</code>,
<p><code>l2-payload-witness</code> and <code>l2-account-proof</code> hints are preferred over the more granular <code>l2-code</code> and <code>l2-state-node</code>,
and they should be sent before the more granular hints to ensure proper handling.</p>
<h3 id="precompile-accelerators"><a class="header" href="#precompile-accelerators">Precompile Accelerators</a></h3>
<p>Precompiles that are too expensive to be executed in a fault-proof VM can be executed
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit fcd3ee4

Please sign in to comment.