Document convention for updating node runtime version. (#2994)

This commit is contained in:
Jim Posen
2019-07-02 20:03:03 +02:00
committed by Gavin Wood
parent e4f324a452
commit c0755992ab
+3
View File
@@ -63,6 +63,9 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("node"),
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
// Per convention: if the runtime behavior changes, increment spec_version and set impl_version
// to equal spec_version. If only runtime implementation changes and behavior does not, then
// leave spec_version as is and increment impl_version.
spec_version: 101,
impl_version: 101,
apis: RUNTIME_API_VERSIONS,