Sandboxing and the simplest smart-contract runtime (#140)

* Add primitives for sandboxing.

* Add sandbox module.

* Implement the runtime part of the sandbox.

* Rebuild binaries.

* Implement smart-contract execution.

* Add more documentation.
This commit is contained in:
Sergey Pepyakin
2018-05-01 21:32:01 +03:00
committed by Robert Habermeier
parent f116f67382
commit 5a56fbcea3
39 changed files with 2470 additions and 56 deletions
+12
View File
@@ -30,6 +30,7 @@ name = "runtime-test"
version = "0.1.0"
dependencies = [
"substrate-runtime-io 0.1.0",
"substrate-runtime-sandbox 0.1.0",
]
[[package]]
@@ -94,6 +95,17 @@ dependencies = [
"substrate-runtime-std 0.1.0",
]
[[package]]
name = "substrate-runtime-sandbox"
version = "0.1.0"
dependencies = [
"rustc_version 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
"substrate-codec 0.1.0",
"substrate-primitives 0.1.0",
"substrate-runtime-io 0.1.0",
"substrate-runtime-std 0.1.0",
]
[[package]]
name = "substrate-runtime-std"
version = "0.1.0"