Clean up sr-io (#3609)

* Move trait `Printable` into `sr-primitives`

* Cleanup runtime io trie_root interfaces

* Remove last generic bits from sr-io interface

* Fix srml-sudo after master merge

* Fix benchmarks

* Runtime bump
This commit is contained in:
Bastian Köcher authored and GitHub committed 2019-09-13 16:39:50 +02:00
1 parent 5cb8c0dc1c
commit 45d64a711c
34 files changed
+309 -372

No files matched your search

+1 -1
View File
@@ -822,7 +822,7 @@ define_env!(Env, <E: Ext>,
ext_println(ctx, str_ptr: u32, str_len: u32) => {
let data = read_sandbox_memory(ctx, str_ptr, str_len)?;
if let Ok(utf8) = core::str::from_utf8(&data) {
runtime_io::print(utf8);
sr_primitives::print(utf8);
}
Ok(())
},