Remove dependency on sandboxing host functions (#9592)

* Embed wasmi into the runtime

* cargo run --quiet --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs

Co-authored-by: Parity Benchmarking Bot <admin@parity.io>
This commit is contained in:
Alexander Theißen
2021-08-25 13:37:15 +02:00
committed by GitHub
parent a7e714aeb1
commit 531fd70e22
6 changed files with 743 additions and 739 deletions
+2
View File
@@ -9352,6 +9352,7 @@ name = "sp-sandbox"
version = "0.10.0-dev"
dependencies = [
"assert_matches",
"log 0.4.14",
"parity-scale-codec",
"sp-core",
"sp-io",
@@ -11141,6 +11142,7 @@ dependencies = [
"downcast-rs",
"errno",
"libc",
"libm",
"memory_units",
"num-rational 0.2.4",
"num-traits",