- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
每个 Substrate 运行时都有一个 RuntimeVersion .此 RuntimeVersion 结构中的字段指示运行时的各个方面何时发生变化,并且每个字段都有自己在这些文档中描述的语义。
我不确定是什么 authoring_version
意味着什么时候应该改变。文档中的描述对我来说并不完全清楚
authoring_version: u32
authoring_version is the version of the authorship interface.
An authoring node will not attempt to author blocks unless this
is equal to its native runtime.
如果可能,请提供升级示例,其中:
spec_version
和 authoring_version
会改变spec_version
会改变,但 authoring_version
不会authoring_version
会改变,但 spec_version
不会最佳答案
我将分享 Substrate 核心开发人员提供给我的答案 Bastian Köcher :
There aren't that much changes that result in a bump of the
authoring_version
If you for example change the
BlockBuilder
runtime api in a non-backwards compatible way, you will need to bump theauthoring_version
As validators will not be able to build new blocks, without updating the node implementation
And if you just change the runtime api in such a way that you make it incompatible to the previous while don't changing any internals in the runtime that would lead to a different storage root, you would only bump the
authoring_version
. However, I expect that this probably never happens in reality
关于substrate - 在 Substrate 中, `spec_version` 和 `authoring_version` 之间有什么区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64806322/
每个 Substrate 运行时都有一个 RuntimeVersion .此 RuntimeVersion 结构中的字段指示运行时的各个方面何时发生变化,并且每个字段都有自己在这些文档中描述的语义。
我是一名优秀的程序员,十分优秀!