srml-contracts: Refactor to remove duplication between call and create code paths (#3209)

* srml-contracts: Change Ext interface to pass-by-value.

* srml-contracts: Refactor ExecutionContext to reduce duplication.

* srml-contracts: Refactor contracts Module to reduce duplication.

* Bump node runtime impl version.
This commit is contained in:
Jim Posen
2019-07-29 14:13:47 +02:00
committed by Sergei Pepyakin
parent 9303b9b7df
commit 9388f48942
4 changed files with 209 additions and 169 deletions
+1 -1
View File
@@ -80,7 +80,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
// implementation changes and behavior does not, then leave spec_version as
// is and increment impl_version.
spec_version: 122,
impl_version: 122,
impl_version: 123,
apis: RUNTIME_API_VERSIONS,
};