T
. Read moreBorrow<B>
of a value. Read morepub fn create_benchmark_extrinsic(
- client: &TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>,
+ client: &TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>,
sender: Pair,
- call: RuntimeCall,
+ call: RuntimeCall,
nonce: u32
-) -> UncheckedExtrinsic
Create a transaction using the given call
.
Create a transaction using the given call
.
Note: Should only be used for benchmarking.
pub struct RemarkBuilder {
- client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>,
+ client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>,
}
Generates extrinsics for the benchmark overhead
command.
Note: Should only be used for benchmarking.
-client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
Creates a new Self
from the given client.
T
. Read moreself
from the equivalent element of its
superset. Read moreself
is actually part of its subset T
(and can be converted to it).self.to_subset
but without any property checks. Always succeeds.self
to the equivalent element of its superset.pub fn development_config(
- sealing: SealingMode,
+ sealing: SealingMode,
base_path: BasePath
) -> Result<GenericChainSpec<DevGenesisExt>, String>
pub fn local_testnet_config(
base_path: BasePath,
chain_id: &str
-) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
Configure initial storage state for FRAME modules.
+) -> RuntimeGenesisConfigConfigure initial storage state for FRAME modules.