substrate-node: NativeElseWasmExecutor is no longer used (#2521)

This PR removes `NativeElseWasmExecutor` usage from substrate node.
Instead [`WasmExecutor<(sp_io::SubstrateHostFunctions,
sp_statement_store::runtime_api::HostFunctions)>`](https://github.com/paritytech/polkadot-sdk/blob/49a41ab3bb3f630c20e5b24cec8d92382404631c/substrate/bin/node/executor/src/lib.rs#L26)
is used.

Related to #2358.

---------

Co-authored-by: Davide Galassi <davxy@datawok.net>
This commit is contained in:
Michal Kucharczyk
2023-11-29 10:30:09 +01:00
committed by GitHub
parent 1d5d4a4840
commit 39d6c95c0d
19 changed files with 159 additions and 254 deletions
Generated
+17 -40
View File
@@ -8928,7 +8928,7 @@ dependencies = [
"sp-keyring",
"sp-runtime",
"sp-timestamp",
"staging-node-executor",
"staging-node-cli",
"substrate-test-client",
"tempfile",
]
@@ -18358,7 +18358,9 @@ dependencies = [
"clap 4.4.6",
"clap_complete",
"criterion 0.4.0",
"frame-benchmarking",
"frame-benchmarking-cli",
"frame-support",
"frame-system",
"frame-system-rpc-runtime-api",
"futures",
@@ -18368,13 +18370,20 @@ dependencies = [
"nix 0.26.2",
"node-primitives",
"node-rpc",
"node-testing",
"pallet-asset-conversion-tx-payment",
"pallet-asset-tx-payment",
"pallet-assets",
"pallet-balances",
"pallet-contracts",
"pallet-glutton",
"pallet-im-online",
"pallet-root-testing",
"pallet-skip-feeless-payment",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-treasury",
"parity-scale-codec",
"platforms",
"rand 0.8.5",
@@ -18409,27 +18418,31 @@ dependencies = [
"sc-telemetry",
"sc-transaction-pool",
"sc-transaction-pool-api",
"scale-info",
"serde",
"serde_json",
"soketto",
"sp-api",
"sp-application-crypto",
"sp-authority-discovery",
"sp-blockchain",
"sp-consensus",
"sp-consensus-babe",
"sp-consensus-grandpa",
"sp-core",
"sp-externalities 0.19.0",
"sp-inherents",
"sp-io",
"sp-keyring",
"sp-keystore",
"sp-mixnet",
"sp-runtime",
"sp-state-machine",
"sp-statement-store",
"sp-timestamp",
"sp-tracing 10.0.0",
"sp-transaction-storage-proof",
"staging-node-executor",
"sp-trie",
"staging-node-inspect",
"substrate-build-script-utils",
"substrate-cli-test-utils",
@@ -18440,44 +18453,6 @@ dependencies = [
"tokio-util",
"try-runtime-cli",
"wait-timeout",
]
[[package]]
name = "staging-node-executor"
version = "3.0.0-dev"
dependencies = [
"criterion 0.4.0",
"frame-benchmarking",
"frame-support",
"frame-system",
"futures",
"kitchensink-runtime",
"node-primitives",
"node-testing",
"pallet-balances",
"pallet-contracts",
"pallet-glutton",
"pallet-im-online",
"pallet-root-testing",
"pallet-sudo",
"pallet-timestamp",
"pallet-transaction-payment",
"pallet-treasury",
"parity-scale-codec",
"sc-executor",
"scale-info",
"serde_json",
"sp-application-crypto",
"sp-consensus-babe",
"sp-core",
"sp-externalities 0.19.0",
"sp-keyring",
"sp-keystore",
"sp-runtime",
"sp-state-machine",
"sp-statement-store",
"sp-tracing 10.0.0",
"sp-trie",
"wat",
]
@@ -18492,7 +18467,9 @@ dependencies = [
"sc-service",
"sp-blockchain",
"sp-core",
"sp-io",
"sp-runtime",
"sp-statement-store",
"thiserror",
]