mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-25 07:05:44 +00:00
polkadot-test-service: Enable wasmtime feature (#4762)
We use the `Compiled` wasm execution and for that the `wasmtime` needs to be enabled.
This commit is contained in:
@@ -48,7 +48,7 @@ sc-executor = { git = "https://github.com/paritytech/substrate", branch = "maste
|
|||||||
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-network = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-tracing = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sc-transaction-pool = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
service = { package = "sc-service", git = "https://github.com/paritytech/substrate", branch = "master", default-features = false }
|
sc-service = { git = "https://github.com/paritytech/substrate", branch = "master", default-features = false, features = [ "wasmtime" ] }
|
||||||
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-arithmetic = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-blockchain = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
sp-core = { git = "https://github.com/paritytech/substrate", branch = "master" }
|
||||||
@@ -64,4 +64,4 @@ substrate-test-utils = { git = "https://github.com/paritytech/substrate", branch
|
|||||||
tokio = { version = "1.15", features = ["macros"] }
|
tokio = { version = "1.15", features = ["macros"] }
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
runtime-metrics=["polkadot-test-runtime/runtime-metrics"]
|
runtime-metrics=["polkadot-test-runtime/runtime-metrics"]
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ const DEFAULT_PROTOCOL_ID: &str = "dot";
|
|||||||
|
|
||||||
/// The `ChainSpec` parameterized for polkadot test runtime.
|
/// The `ChainSpec` parameterized for polkadot test runtime.
|
||||||
pub type PolkadotChainSpec =
|
pub type PolkadotChainSpec =
|
||||||
service::GenericChainSpec<polkadot_test_runtime::GenesisConfig, Extensions>;
|
sc_service::GenericChainSpec<polkadot_test_runtime::GenesisConfig, Extensions>;
|
||||||
|
|
||||||
/// Local testnet config (multivalidator Alice + Bob)
|
/// Local testnet config (multivalidator Alice + Bob)
|
||||||
pub fn polkadot_local_testnet_config() -> PolkadotChainSpec {
|
pub fn polkadot_local_testnet_config() -> PolkadotChainSpec {
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ use sc_network::{
|
|||||||
config::{NetworkConfiguration, TransportConfig},
|
config::{NetworkConfiguration, TransportConfig},
|
||||||
multiaddr,
|
multiaddr,
|
||||||
};
|
};
|
||||||
use service::{
|
use sc_service::{
|
||||||
config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
|
config::{DatabaseSource, KeystoreConfig, MultiaddrWithPeerId, WasmExecutionMethod},
|
||||||
BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskManager, TransactionStorageMode,
|
BasePath, Configuration, KeepBlocks, Role, RpcHandlers, TaskManager, TransactionStorageMode,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user