Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b26259f

Browse files
pepyakingavofyork
authored andcommitted
Smart-contract inspection and instrumentation. (#165)
* Extract mock module. * Wasm smart-contract instrumentation * Rebuild binaries. * Memory limits and tests.
1 parent 93fa78e commit b26259f

File tree

15 files changed

+755
-242
lines changed

15 files changed

+755
-242
lines changed

Cargo.lock

Lines changed: 23 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/runtime/wasm/Cargo.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

polkadot/runtime/wasm/Cargo.lock

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

substrate/runtime/staking/Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ substrate-runtime-primitives = { path = "../primitives", default_features = fals
1818
substrate-runtime-consensus = { path = "../consensus", default_features = false }
1919
substrate-runtime-system = { path = "../system", default_features = false }
2020
substrate-runtime-session = { path = "../session", default_features = false }
21+
parity-wasm = { version = "0.30", default_features = false }
22+
pwasm-utils = { version = "0.2", default_features = false }
2123

2224
[dev-dependencies]
2325
wabt = "0.1.7"
26+
assert_matches = "1.1"
2427

2528
[features]
2629
default = ["std"]
@@ -37,4 +40,6 @@ std = [
3740
"substrate-runtime-primitives/std",
3841
"substrate-runtime-session/std",
3942
"substrate-runtime-system/std",
43+
"pwasm-utils/std",
44+
"parity-wasm/std",
4045
]

0 commit comments

Comments
 (0)