srml-contracts: Refactor away some duplication in runtime functions. (#3257)

* srml-contracts: Storage access micro-optimization.

* srml-contracts: Refactor runtime functions to reduce duplication.

* Bump node runtime impl version.
This commit is contained in:
Jim Posen
2019-08-08 15:02:04 +02:00
committed by Gavin Wood
parent 7c1fc4cc77
commit 0067b2d9a2
3 changed files with 41 additions and 58 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 135,
impl_version: 135,
impl_version: 136,
apis: RUNTIME_API_VERSIONS,
};