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 authored and Gavin Wood committed 2019-08-08 15:02:04 +02:00
1 parent 7c1fc4cc77
commit 0067b2d9a2
3 files changed
+41 -58

No files matched your search

+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,
};