From c0755992ab11cdd557b8bc2313288725b8299256 Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Tue, 2 Jul 2019 20:03:03 +0200 Subject: [PATCH] Document convention for updating node runtime version. (#2994) --- substrate/node/runtime/src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/substrate/node/runtime/src/lib.rs b/substrate/node/runtime/src/lib.rs index 5bc730ef1b..fd1b13fdd0 100644 --- a/substrate/node/runtime/src/lib.rs +++ b/substrate/node/runtime/src/lib.rs @@ -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,