@@ -40,6 +40,7 @@ sp-session = { version = "4.0.0-dev", default-features = false, path = "../../..
4040sp-transaction-pool = { version = " 4.0.0-dev" , default-features = false , path = " ../../../primitives/transaction-pool" }
4141sp-version = { version = " 5.0.0" , default-features = false , path = " ../../../primitives/version" }
4242sp-io = { version = " 7.0.0" , default-features = false , path = " ../../../primitives/io" }
43+ sp-sandbox = { version = " 0.10.0-dev" , default-features = false , path = " ../../../primitives/sandbox" }
4344
4445# frame dependencies
4546frame-executive = { version = " 4.0.0-dev" , default-features = false , path = " ../../../frame/executive" }
@@ -118,6 +119,7 @@ substrate-wasm-builder = { version = "5.0.0-dev", path = "../../../utils/wasm-bu
118119default = [" std" ]
119120with-tracing = [" frame-executive/with-tracing" ]
120121std = [
122+ " sp-sandbox/std" ,
121123 " pallet-whitelist/std" ,
122124 " pallet-offences-benchmarking?/std" ,
123125 " pallet-election-provider-support-benchmarking?/std" ,
@@ -315,3 +317,8 @@ try-runtime = [
315317 " pallet-vesting/try-runtime" ,
316318 " pallet-whitelist/try-runtime" ,
317319]
320+ # Force `sp-sandbox` to call into the host resident executor. One still need to make sure
321+ # that `sc-executor` gets the `wasmer-sandbox` feature which happens automatically when
322+ # specified on the command line.
323+ # Don't use that on a production chain.
324+ wasmer-sandbox = [" sp-sandbox/wasmer-sandbox" ]
0 commit comments