Skip to content

Commit

Permalink
Smart-contract inspection and instrumentation. (paritytech#165)
Browse files Browse the repository at this point in the history
* Extract mock module.

* Wasm smart-contract instrumentation

* Rebuild binaries.

* Memory limits and tests.
  • Loading branch information
pepyakin authored and gavofyork committed May 23, 2018
1 parent 93fa78e commit b26259f
Show file tree
Hide file tree
Showing 15 changed files with 755 additions and 242 deletions.
23 changes: 23 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions demo/runtime/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
22 changes: 22 additions & 0 deletions polkadot/runtime/wasm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 5 additions & 0 deletions substrate/runtime/staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,12 @@ substrate-runtime-primitives = { path = "../primitives", default_features = fals
substrate-runtime-consensus = { path = "../consensus", default_features = false }
substrate-runtime-system = { path = "../system", default_features = false }
substrate-runtime-session = { path = "../session", default_features = false }
parity-wasm = { version = "0.30", default_features = false }
pwasm-utils = { version = "0.2", default_features = false }

[dev-dependencies]
wabt = "0.1.7"
assert_matches = "1.1"

[features]
default = ["std"]
Expand All @@ -37,4 +40,6 @@ std = [
"substrate-runtime-primitives/std",
"substrate-runtime-session/std",
"substrate-runtime-system/std",
"pwasm-utils/std",
"parity-wasm/std",
]
Loading

0 comments on commit b26259f

Please sign in to comment.