Function madara::benchmarking::create_benchmark_extrinsic
source · pub 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
Expand description
Create a transaction using the given call
.
Expand description
Create a transaction using the given call
.
Note: Should only be used for benchmarking.
Struct madara::benchmarking::RemarkBuilder
source · pub struct RemarkBuilder {
- client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>,
+ client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>,
}
Expand description
Generates extrinsics for the benchmark overhead
command.
Note: Should only be used for benchmarking.
-Fields§
§client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
Implementations§
source§impl RemarkBuilder
impl RemarkBuilder
sourcepub fn new(
- client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
+
pub fn new( - client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>> +
Fields§
§client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
Implementations§
source§impl RemarkBuilder
impl RemarkBuilder
sourcepub fn new(
+ client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>>
) -> Self
pub fn new( + client: Arc<TFullClient<Block, RuntimeApi, NativeElseWasmExecutor<ExecutorDispatch>>> ) -> Self
Creates a new Self
from the given client.
Trait Implementations§
source§impl ExtrinsicBuilder for RemarkBuilder
impl ExtrinsicBuilder for RemarkBuilder
Auto Trait Implementations§
impl !RefUnwindSafe for RemarkBuilder
impl Send for RemarkBuilder
impl Sync for RemarkBuilder
impl Unpin for RemarkBuilder
impl !UnwindSafe for RemarkBuilder
Blanket Implementations§
§impl<T> Any for Twhere
diff --git a/madara/chain_spec/fn.development_config.html b/madara/chain_spec/fn.development_config.html
index 929ea7f104..6cf926900f 100644
--- a/madara/chain_spec/fn.development_config.html
+++ b/madara/chain_spec/fn.development_config.html
@@ -1,4 +1,4 @@
development_config in madara::chain_spec - Rust Function madara::chain_spec::development_config
source · pub fn development_config(
- sealing: SealingMode,
+ sealing: SealingMode,
base_path: BasePath
) -> Result<GenericChainSpec<DevGenesisExt>, String>
\ No newline at end of file
diff --git a/madara/chain_spec/fn.local_testnet_config.html b/madara/chain_spec/fn.local_testnet_config.html
index a24ee4fddb..427200961e 100644
--- a/madara/chain_spec/fn.local_testnet_config.html
+++ b/madara/chain_spec/fn.local_testnet_config.html
@@ -1,4 +1,4 @@
local_testnet_config in madara::chain_spec - Rust Function madara::chain_spec::local_testnet_config
source · pub fn local_testnet_config(
base_path: BasePath,
chain_id: &str
-) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
\ No newline at end of file
+) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
impl<T> Any for Twhere
diff --git a/madara/chain_spec/fn.development_config.html b/madara/chain_spec/fn.development_config.html
index 929ea7f104..6cf926900f 100644
--- a/madara/chain_spec/fn.development_config.html
+++ b/madara/chain_spec/fn.development_config.html
@@ -1,4 +1,4 @@
development_config in madara::chain_spec - Rust Function madara::chain_spec::development_config
source · pub fn development_config(
- sealing: SealingMode,
+ sealing: SealingMode,
base_path: BasePath
) -> Result<GenericChainSpec<DevGenesisExt>, String>
\ No newline at end of file
diff --git a/madara/chain_spec/fn.local_testnet_config.html b/madara/chain_spec/fn.local_testnet_config.html
index a24ee4fddb..427200961e 100644
--- a/madara/chain_spec/fn.local_testnet_config.html
+++ b/madara/chain_spec/fn.local_testnet_config.html
@@ -1,4 +1,4 @@
local_testnet_config in madara::chain_spec - Rust Function madara::chain_spec::local_testnet_config
source · pub fn local_testnet_config(
base_path: BasePath,
chain_id: &str
-) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
\ No newline at end of file
+) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
Function madara::chain_spec::development_config
source · pub fn development_config(
- sealing: SealingMode,
+ sealing: SealingMode,
base_path: BasePath
) -> Result<GenericChainSpec<DevGenesisExt>, String>
Function madara::chain_spec::local_testnet_config
source · pub fn local_testnet_config(
base_path: BasePath,
chain_id: &str
-) -> Result<GenericChainSpec<RuntimeGenesisConfig>, String>
Expand description
Configure initial storage state for FRAME modules.
+) -> RuntimeGenesisConfigExpand description
Configure initial storage state for FRAME modules.