Skip to content
This repository was archived by the owner on Aug 27, 2024. It is now read-only.

Commit 50712c0

Browse files
author
Devhub Deployer
committed
Deploy website
Deploy website version based on f03c6ff
1 parent 27d32fe commit 50712c0

File tree

12 files changed

+222
-222
lines changed

12 files changed

+222
-222
lines changed

docs/zh-CN/knowledgebase/advanced/executor.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474
});
7575
</script></nav></div><div class="container mainContainer docsContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://crowdin.com/project/substrate-developer-hub/zh-CN" target="_blank" rel="noreferrer noopener">Translate</a><h1 id="__docusaurus" class="postHeaderTitle">执行器</h1></header><article><div><span><p>The executor is responsible for dispatching and executing calls into the Substrate runtime.</p>
76-
<h2><a class="anchor" aria-hidden="true" id="runtime-execution"></a><a href="#runtime-execution" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Runtime Execution</h2>
76+
<h2><a class="anchor" aria-hidden="true" id="runtime执行"></a><a href="#runtime执行" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Runtime执行</h2>
7777
<p>The Substrate runtime is compiled into a native executable and a WebAssembly (Wasm) binary.</p>
7878
<p>The native runtime is included as part of the node executable, while the Wasm binary is stored on the blockchain under a well known storage key.</p>
7979
<p>These two representations of the runtime may not be the same. For example: when the runtime is upgraded. The executor determines which version of the runtime to use when dispatching calls.</p>
@@ -132,7 +132,7 @@ <h3><a class="anchor" aria-hidden="true" id="参考文档"></a><a href="#参考
132132
<li><p>Take a look at the different <a href="https://substrate.dev/rustdocs/v2.0.0/sp_state_machine/enum.ExecutionStrategy.html">Execution Strategy Options</a></p></li>
133133
<li><p>Review the <a href="https://substrate.dev/rustdocs/v2.0.0/sp_version/struct.RuntimeVersion.html">Runtime Version definition</a>.</p></li>
134134
</ul>
135-
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/zh-CN/knowledgebase/advanced/block-import"><span class="arrow-prev"></span><span>区块导入过程</span></a><a class="docs-next button" href="/docs/zh-CN/knowledgebase/advanced/cryptography"><span>密码学</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#runtime-execution">Runtime Execution</a><ul class="toc-headings"><li><a href="#execution-strategy">Execution Strategy</a></li><li><a href="#wasm-execution">Wasm Execution</a></li><li><a href="#native-execution">Native Execution</a></li></ul></li><li><a href="#runtime-升级">Runtime 升级</a><ul class="toc-headings"><li><a href="#runtime-versioning">Runtime Versioning</a></li><li><a href="#forkless-runtime-upgrades">Forkless Runtime Upgrades</a></li></ul></li><li><a href="#下一步">下一步</a><ul class="toc-headings"><li><a href="#进一步学习">进一步学习</a></li><li><a href="#例子">例子</a></li><li><a href="#参考文档">参考文档</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/Substrate-logo.svg" alt="Substrate Developer Hub" width="66" height="58"/></a><div><h5>开发者中心</h5><a href="/zh-CN/tutorials">教程</a><a href="/docs/zh-CN/">知识库</a><a href="https://substrate.dev/recipes/">进阶菜谱</a><a href="https://substrate.dev/rustdocs">API 文档</a></div><div><h5>社区</h5><a href="/zh-CN/community">社区主页</a><a href="/zh-CN/newsletter">通讯</a><a href="https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org">Substrate 技术聊天室</a><a href="/zh-CN/seminar">Substrate 研讨会</a><a href="http://stackoverflow.com/questions/tagged/substrate" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://twitter.com/ParityTech" target="_blank" rel="noreferrer noopener">推特</a><a href="https://www.meetup.com/parity/" target="_blank" rel="noreferrer noopener">Events</a></div><div><h5>更多</h5><a href="https://www.substrate.io/builders-program/">Substrate Builders 计划</a><a href="https://www.parity.io/blog/">Blog</a><a href="https://github.com/paritytech/substrate">Substrate GitHub</a><a href="https://github.com/substrate-developer-hub/">开发者中心 GitHub</a><a href="https://www.parity.io/privacy/">隐私政策</a><a href="/terms">使用条款</a><a href="#" id="cookie-settings">Cookie 设置<script>
135+
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/zh-CN/knowledgebase/advanced/block-import"><span class="arrow-prev"></span><span>区块导入过程</span></a><a class="docs-next button" href="/docs/zh-CN/knowledgebase/advanced/cryptography"><span>密码学</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#runtime执行">Runtime执行</a><ul class="toc-headings"><li><a href="#execution-strategy">Execution Strategy</a></li><li><a href="#wasm-execution">Wasm Execution</a></li><li><a href="#native-execution">Native Execution</a></li></ul></li><li><a href="#runtime-升级">Runtime 升级</a><ul class="toc-headings"><li><a href="#runtime-versioning">Runtime Versioning</a></li><li><a href="#forkless-runtime-upgrades">Forkless Runtime Upgrades</a></li></ul></li><li><a href="#下一步">下一步</a><ul class="toc-headings"><li><a href="#进一步学习">进一步学习</a></li><li><a href="#例子">例子</a></li><li><a href="#参考文档">参考文档</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/Substrate-logo.svg" alt="Substrate Developer Hub" width="66" height="58"/></a><div><h5>开发者中心</h5><a href="/zh-CN/tutorials">教程</a><a href="/docs/zh-CN/">知识库</a><a href="https://substrate.dev/recipes/">进阶菜谱</a><a href="https://substrate.dev/rustdocs">API 文档</a></div><div><h5>社区</h5><a href="/zh-CN/community">社区主页</a><a href="/zh-CN/newsletter">通讯</a><a href="https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org">Substrate 技术聊天室</a><a href="/zh-CN/seminar">Substrate 研讨会</a><a href="http://stackoverflow.com/questions/tagged/substrate" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://twitter.com/ParityTech" target="_blank" rel="noreferrer noopener">推特</a><a href="https://www.meetup.com/parity/" target="_blank" rel="noreferrer noopener">Events</a></div><div><h5>更多</h5><a href="https://www.substrate.io/builders-program/">Substrate Builders 计划</a><a href="https://www.parity.io/blog/">Blog</a><a href="https://github.com/paritytech/substrate">Substrate GitHub</a><a href="https://github.com/substrate-developer-hub/">开发者中心 GitHub</a><a href="https://www.parity.io/privacy/">隐私政策</a><a href="/terms">使用条款</a><a href="#" id="cookie-settings">Cookie 设置<script>
136136
var cookieSettings = document.getElementById('cookie-settings');
137137
cookieSettings.onclick = function() {
138138
return klaro.show();

docs/zh-CN/knowledgebase/advanced/executor/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
}
7474
});
7575
</script></nav></div><div class="container mainContainer docsContainer"><div class="wrapper"><div class="post"><header class="postHeader"><a class="edit-page-link button" href="https://crowdin.com/project/substrate-developer-hub/zh-CN" target="_blank" rel="noreferrer noopener">Translate</a><h1 id="__docusaurus" class="postHeaderTitle">执行器</h1></header><article><div><span><p>The executor is responsible for dispatching and executing calls into the Substrate runtime.</p>
76-
<h2><a class="anchor" aria-hidden="true" id="runtime-execution"></a><a href="#runtime-execution" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Runtime Execution</h2>
76+
<h2><a class="anchor" aria-hidden="true" id="runtime执行"></a><a href="#runtime执行" aria-hidden="true" class="hash-link"><svg class="hash-link-icon" aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>Runtime执行</h2>
7777
<p>The Substrate runtime is compiled into a native executable and a WebAssembly (Wasm) binary.</p>
7878
<p>The native runtime is included as part of the node executable, while the Wasm binary is stored on the blockchain under a well known storage key.</p>
7979
<p>These two representations of the runtime may not be the same. For example: when the runtime is upgraded. The executor determines which version of the runtime to use when dispatching calls.</p>
@@ -132,7 +132,7 @@ <h3><a class="anchor" aria-hidden="true" id="参考文档"></a><a href="#参考
132132
<li><p>Take a look at the different <a href="https://substrate.dev/rustdocs/v2.0.0/sp_state_machine/enum.ExecutionStrategy.html">Execution Strategy Options</a></p></li>
133133
<li><p>Review the <a href="https://substrate.dev/rustdocs/v2.0.0/sp_version/struct.RuntimeVersion.html">Runtime Version definition</a>.</p></li>
134134
</ul>
135-
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/zh-CN/knowledgebase/advanced/block-import"><span class="arrow-prev"></span><span>区块导入过程</span></a><a class="docs-next button" href="/docs/zh-CN/knowledgebase/advanced/cryptography"><span>密码学</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#runtime-execution">Runtime Execution</a><ul class="toc-headings"><li><a href="#execution-strategy">Execution Strategy</a></li><li><a href="#wasm-execution">Wasm Execution</a></li><li><a href="#native-execution">Native Execution</a></li></ul></li><li><a href="#runtime-升级">Runtime 升级</a><ul class="toc-headings"><li><a href="#runtime-versioning">Runtime Versioning</a></li><li><a href="#forkless-runtime-upgrades">Forkless Runtime Upgrades</a></li></ul></li><li><a href="#下一步">下一步</a><ul class="toc-headings"><li><a href="#进一步学习">进一步学习</a></li><li><a href="#例子">例子</a></li><li><a href="#参考文档">参考文档</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/Substrate-logo.svg" alt="Substrate Developer Hub" width="66" height="58"/></a><div><h5>开发者中心</h5><a href="/zh-CN/tutorials">教程</a><a href="/docs/zh-CN/">知识库</a><a href="https://substrate.dev/recipes/">进阶菜谱</a><a href="https://substrate.dev/rustdocs">API 文档</a></div><div><h5>社区</h5><a href="/zh-CN/community">社区主页</a><a href="/zh-CN/newsletter">通讯</a><a href="https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org">Substrate 技术聊天室</a><a href="/zh-CN/seminar">Substrate 研讨会</a><a href="http://stackoverflow.com/questions/tagged/substrate" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://twitter.com/ParityTech" target="_blank" rel="noreferrer noopener">推特</a><a href="https://www.meetup.com/parity/" target="_blank" rel="noreferrer noopener">Events</a></div><div><h5>更多</h5><a href="https://www.substrate.io/builders-program/">Substrate Builders 计划</a><a href="https://www.parity.io/blog/">Blog</a><a href="https://github.com/paritytech/substrate">Substrate GitHub</a><a href="https://github.com/substrate-developer-hub/">开发者中心 GitHub</a><a href="https://www.parity.io/privacy/">隐私政策</a><a href="/terms">使用条款</a><a href="#" id="cookie-settings">Cookie 设置<script>
135+
</span></div></article></div><div class="docs-prevnext"><a class="docs-prev button" href="/docs/zh-CN/knowledgebase/advanced/block-import"><span class="arrow-prev"></span><span>区块导入过程</span></a><a class="docs-next button" href="/docs/zh-CN/knowledgebase/advanced/cryptography"><span>密码学</span><span class="arrow-next"></span></a></div></div></div><nav class="onPageNav"><ul class="toc-headings"><li><a href="#runtime执行">Runtime执行</a><ul class="toc-headings"><li><a href="#execution-strategy">Execution Strategy</a></li><li><a href="#wasm-execution">Wasm Execution</a></li><li><a href="#native-execution">Native Execution</a></li></ul></li><li><a href="#runtime-升级">Runtime 升级</a><ul class="toc-headings"><li><a href="#runtime-versioning">Runtime Versioning</a></li><li><a href="#forkless-runtime-upgrades">Forkless Runtime Upgrades</a></li></ul></li><li><a href="#下一步">下一步</a><ul class="toc-headings"><li><a href="#进一步学习">进一步学习</a></li><li><a href="#例子">例子</a></li><li><a href="#参考文档">参考文档</a></li></ul></li></ul></nav></div><footer class="nav-footer" id="footer"><section class="sitemap"><a href="/" class="nav-home"><img src="/img/Substrate-logo.svg" alt="Substrate Developer Hub" width="66" height="58"/></a><div><h5>开发者中心</h5><a href="/zh-CN/tutorials">教程</a><a href="/docs/zh-CN/">知识库</a><a href="https://substrate.dev/recipes/">进阶菜谱</a><a href="https://substrate.dev/rustdocs">API 文档</a></div><div><h5>社区</h5><a href="/zh-CN/community">社区主页</a><a href="/zh-CN/newsletter">通讯</a><a href="https://app.element.io/#/room/!HzySYSaIhtyWrwiwEV:matrix.org">Substrate 技术聊天室</a><a href="/zh-CN/seminar">Substrate 研讨会</a><a href="http://stackoverflow.com/questions/tagged/substrate" target="_blank" rel="noreferrer noopener">Stack Overflow</a><a href="https://twitter.com/ParityTech" target="_blank" rel="noreferrer noopener">推特</a><a href="https://www.meetup.com/parity/" target="_blank" rel="noreferrer noopener">Events</a></div><div><h5>更多</h5><a href="https://www.substrate.io/builders-program/">Substrate Builders 计划</a><a href="https://www.parity.io/blog/">Blog</a><a href="https://github.com/paritytech/substrate">Substrate GitHub</a><a href="https://github.com/substrate-developer-hub/">开发者中心 GitHub</a><a href="https://www.parity.io/privacy/">隐私政策</a><a href="/terms">使用条款</a><a href="#" id="cookie-settings">Cookie 设置<script>
136136
var cookieSettings = document.getElementById('cookie-settings');
137137
cookieSettings.onclick = function() {
138138
return klaro.show();

0 commit comments

Comments
 (0)