Skip to content

Commit

Permalink
Deploying to gh-pages from @ 4641bf2 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
bilboquet committed Dec 12, 2023
1 parent 86e1a22 commit 652564b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
2 changes: 1 addition & 1 deletion implementors/core/clone/trait.Clone.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 21 additions & 1 deletion src/massa_sc_runtime/as_execution/common.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,16 @@
<a href="#112" id="112">112</a>
<a href="#113" id="113">113</a>
<a href="#114" id="114">114</a>
<a href="#115" id="115">115</a>
<a href="#116" id="116">116</a>
<a href="#117" id="117">117</a>
<a href="#118" id="118">118</a>
<a href="#119" id="119">119</a>
<a href="#120" id="120">120</a>
<a href="#121" id="121">121</a>
<a href="#122" id="122">122</a>
<a href="#123" id="123">123</a>
<a href="#124" id="124">124</a>
</pre></div><pre class="rust"><code><span class="doccomment">//! Execution functions used by the ABIs.
//!
//! IMPORTANT: these were designed for, and should not be called outside of
Expand Down Expand Up @@ -146,7 +156,17 @@
get_remaining_points(<span class="kw-2">&amp;</span>env, ctx)<span class="question-mark">?
</span>};

<span class="kw">let </span>(module, post_module_gas) = interface.get_module(<span class="kw-2">&amp;</span>bytecode, remaining_gas)<span class="question-mark">?</span>;
<span class="kw">let </span>(module, post_module_gas) =
interface
.get_module(<span class="kw-2">&amp;</span>bytecode, remaining_gas)
.map_err(|e| {
<span class="kw">super</span>::ABIError::Error(<span class="macro">anyhow::anyhow!</span>(<span class="macro">format!</span>(
<span class="string">&quot;call to {}:{} error: {}&quot;</span>,
address,
function,
e.to_string()
)))
})<span class="question-mark">?</span>;
<span class="kw">let </span>resp = <span class="kw">crate</span>::execution::run_function(
<span class="kw-2">&amp;*</span>interface,
module,
Expand Down

0 comments on commit 652564b

Please sign in to comment.