Introduce ext_println to contract runtime (#2239)

* Implement `ext_println` in contract runtime

* Only allow contracts to import `ext_println` on dev chains

* Configure dev chain to allow contracts with `ext_println`

* Increment spec version

* Docs

* Rename config to the more specific enable_println
This commit is contained in:
Andrew Jones authored and Sergei Pepyakin committed 2019-04-11 15:49:17 +02:00
1 parent 18df051947
commit 1e0c1d8850
5 files changed
+75 -14

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("node"),
impl_name: create_runtime_str!("substrate-node"),
authoring_version: 10,
spec_version: 58,
spec_version: 59,
impl_version: 59,
apis: RUNTIME_API_VERSIONS,
};