diff --git a/domain_service/struct.DomainParams.html b/domain_service/struct.DomainParams.html index 7409dbf939..6e014bf0c1 100644 --- a/domain_service/struct.DomainParams.html +++ b/domain_service/struct.DomainParams.html @@ -6,10 +6,10 @@ pub consensus_client: Arc<CClient>, pub consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>, pub select_chain: SC, - pub operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>, + pub operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>, pub gossip_message_sink: GossipMessageSink, pub provider: Provider, -}

Fields§

§domain_id: DomainId§domain_config: DomainConfiguration<AccountId>§domain_created_at: NumberFor<CBlock>§consensus_client: Arc<CClient>§consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>§select_chain: SC§operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>§gossip_message_sink: GossipMessageSink§provider: Provider

Auto Trait Implementations§

§

impl<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider> !RefUnwindSafe for DomainParams<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider>

§

impl<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider> Send for DomainParams<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider>where +}

Fields§

§domain_id: DomainId§domain_config: DomainConfiguration<AccountId>§domain_created_at: NumberFor<CBlock>§consensus_client: Arc<CClient>§consensus_network_sync_oracle: Arc<dyn SyncOracle + Send + Sync>§select_chain: SC§operator_streams: OperatorStreams<CBlock, IBNS, CIBNS, NSNS>§gossip_message_sink: GossipMessageSink§provider: Provider

Auto Trait Implementations§

§

impl<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider> !RefUnwindSafe for DomainParams<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider>

§

impl<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider> Send for DomainParams<CBlock, CClient, SC, IBNS, CIBNS, NSNS, AccountId, Provider>where AccountId: Send, CClient: Send + Sync, CIBNS: Send, diff --git a/domain_service/type.DomainOperator.html b/domain_service/type.DomainOperator.html index 5d73cc9f29..0310beaf0f 100644 --- a/domain_service/type.DomainOperator.html +++ b/domain_service/type.DomainOperator.html @@ -1 +1 @@ -DomainOperator in domain_service - Rust

Type Definition domain_service::DomainOperator

source ·
pub type DomainOperator<Block, CBlock, CClient, RuntimeApi, ExecutorDispatch, BI> = Operator<Block, CBlock, FullClient<Block, RuntimeApi, ExecutorDispatch>, CClient, FullPool<CBlock, CClient, RuntimeApi, ExecutorDispatch>, FullBackend<Block>, NativeElseWasmExecutor<ExecutorDispatch>, DomainBlockImport<BI>>;
\ No newline at end of file +DomainOperator in domain_service - Rust

Type Definition domain_service::DomainOperator

source ·
pub type DomainOperator<Block, CBlock, CClient, RuntimeApi, ExecutorDispatch, BI> = Operator<Block, CBlock, FullClient<Block, RuntimeApi, ExecutorDispatch>, CClient, FullPool<CBlock, CClient, RuntimeApi, ExecutorDispatch>, FullBackend<Block>, NativeElseWasmExecutor<ExecutorDispatch>, DomainBlockImport<BI>>;
\ No newline at end of file diff --git a/domain_test_service/domain/struct.DomainNode.html b/domain_test_service/domain/struct.DomainNode.html index 9ef4667e99..b211010c1a 100644 --- a/domain_test_service/domain/struct.DomainNode.html +++ b/domain_test_service/domain/struct.DomainNode.html @@ -50,7 +50,7 @@ &mut self, nonce: u32, function: impl Into<<Runtime as Config>::RuntimeCall> -) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>

Construct an extrinsic.

+) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>

Construct an extrinsic.

source

pub async fn send_extrinsic( &self, extrinsic: impl Into<OpaqueExtrinsic> diff --git a/domain_test_service/domain/trait.FromKeyring.html b/domain_test_service/domain/trait.FromKeyring.html index d4345a8f96..237db6feed 100644 --- a/domain_test_service/domain/trait.FromKeyring.html +++ b/domain_test_service/domain/trait.FromKeyring.html @@ -3,4 +3,4 @@ fn from_keyring(key: EcdsaKeyring) -> Self; }
Expand description

Trait for convert keyring to account id

Required Methods§

source

fn from_keyring(key: EcdsaKeyring) -> Self

Convert keyring to account id

-

Implementations on Foreign Types§

source§

impl FromKeyring for AccountId20

Implementors§

\ No newline at end of file +

Implementations on Foreign Types§

source§

impl FromKeyring for AccountId20

source§

fn from_keyring(key: EcdsaKeyring) -> Self

Implementors§

\ No newline at end of file diff --git a/domain_test_service/domain/type.DomainOperator.html b/domain_test_service/domain/type.DomainOperator.html index 7fcc0f7cac..ea4e77474d 100644 --- a/domain_test_service/domain/type.DomainOperator.html +++ b/domain_test_service/domain/type.DomainOperator.html @@ -1,2 +1,2 @@ -DomainOperator in domain_test_service::domain - Rust
pub type DomainOperator<RuntimeApi, ExecutorDispatch> = DomainOperator<Block, CBlock, Client, RuntimeApi, ExecutorDispatch, Arc<FullClient<Block, RuntimeApi, ExecutorDispatch>>>;
Expand description

Domain executor for the test service.

+DomainOperator in domain_test_service::domain - Rust
pub type DomainOperator<RuntimeApi, ExecutorDispatch> = DomainOperator<Block, CBlock, Client, RuntimeApi, ExecutorDispatch, Arc<FullClient<Block, RuntimeApi, ExecutorDispatch>>>;
Expand description

Domain executor for the test service.

\ No newline at end of file diff --git a/domain_test_service/domain/type.EvmDomainClient.html b/domain_test_service/domain/type.EvmDomainClient.html index 4c0f3452ba..780180e4e1 100644 --- a/domain_test_service/domain/type.EvmDomainClient.html +++ b/domain_test_service/domain/type.EvmDomainClient.html @@ -1,2 +1,2 @@ -EvmDomainClient in domain_test_service::domain - Rust
pub type EvmDomainClient = FullClient<Block, RuntimeApi, EVMDomainExecutorDispatch>;
Expand description

The evm domain client

+EvmDomainClient in domain_test_service::domain - Rust
pub type EvmDomainClient = FullClient<Block, RuntimeApi, EVMDomainExecutorDispatch>;
Expand description

The evm domain client

\ No newline at end of file diff --git a/domain_test_service/domain/type.EvmDomainNode.html b/domain_test_service/domain/type.EvmDomainNode.html index c8c0cddfc5..e8cd6afc9c 100644 --- a/domain_test_service/domain/type.EvmDomainNode.html +++ b/domain_test_service/domain/type.EvmDomainNode.html @@ -1,2 +1,2 @@ -EvmDomainNode in domain_test_service::domain - Rust
pub type EvmDomainNode = DomainNode<Runtime, RuntimeApi, EVMDomainExecutorDispatch, AccountId20>;
Expand description

The evm domain node

+EvmDomainNode in domain_test_service::domain - Rust
pub type EvmDomainNode = DomainNode<Runtime, RuntimeApi, EVMDomainExecutorDispatch, AccountId20>;
Expand description

The evm domain node

\ No newline at end of file diff --git a/domain_test_service/fn.construct_extrinsic_generic.html b/domain_test_service/fn.construct_extrinsic_generic.html index c8547770a4..36d58031cb 100644 --- a/domain_test_service/fn.construct_extrinsic_generic.html +++ b/domain_test_service/fn.construct_extrinsic_generic.html @@ -4,7 +4,7 @@ caller: EcdsaKeyring, immortal: bool, nonce: u32 -) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>where +) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>where Runtime: Config<Hash = H256, BlockNumber = u32> + Config + Send + Sync, Runtime::RuntimeCall: Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + Send + Sync, <<Runtime as Config>::OnChargeTransaction as OnChargeTransaction<Runtime>>::Balance: Send + Sync + From<u64> + FixedPointOperand, diff --git a/domain_test_service/fn.construct_unsigned_extrinsic.html b/domain_test_service/fn.construct_unsigned_extrinsic.html index 879500da2f..858bb01d0f 100644 --- a/domain_test_service/fn.construct_unsigned_extrinsic.html +++ b/domain_test_service/fn.construct_unsigned_extrinsic.html @@ -1,6 +1,6 @@ construct_unsigned_extrinsic in domain_test_service - Rust
pub fn construct_unsigned_extrinsic<Runtime>(
     function: impl Into<<Runtime as Config>::RuntimeCall>
-) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>where
+) -> UncheckedExtrinsic<Address, <Runtime as Config>::RuntimeCall, Signature, (CheckNonZeroSender<Runtime>, CheckSpecVersion<Runtime>, CheckTxVersion<Runtime>, CheckGenesis<Runtime>, CheckMortality<Runtime>, CheckNonce<Runtime>, CheckWeight<Runtime>, ChargeTransactionPayment<Runtime>)>where
     Runtime: Config<Hash = H256, BlockNumber = u32> + Config + Send + Sync,
     Runtime::RuntimeCall: Dispatchable<Info = DispatchInfo, PostInfo = PostDispatchInfo> + Send + Sync,
     <<Runtime as Config>::OnChargeTransaction as OnChargeTransaction<Runtime>>::Balance: Send + Sync + From<u64> + FixedPointOperand,
Expand description

Construct an unsigned extrinsic that can be applied to the test runtime.

diff --git a/domain_test_service/index.html b/domain_test_service/index.html index 1b2a737c4f..abcc829d4b 100644 --- a/domain_test_service/index.html +++ b/domain_test_service/index.html @@ -1,2 +1,2 @@ domain_test_service - Rust
Expand description

Crate used for testing with Domain.

-

Re-exports

  • pub use keyring::Keyring as EcdsaKeyring;
  • pub use evm_domain_test_runtime;
  • pub use domain::*;

Modules

  • Chain specification for the domain test runtime.
  • Utilities used for testing with the domain.
  • Set of test accounts.

Enums

Constants

Functions

\ No newline at end of file +

Re-exports

Modules

  • Chain specification for the domain test runtime.
  • Utilities used for testing with the domain.
  • Set of test accounts.

Enums

Constants

Functions

\ No newline at end of file diff --git a/subspace_test_client/domain_chain_spec/fn.get_account_id_from_seed.html b/subspace_test_client/domain_chain_spec/fn.get_account_id_from_seed.html index 2e94d1dabf..1bf8c7184a 100644 --- a/subspace_test_client/domain_chain_spec/fn.get_account_id_from_seed.html +++ b/subspace_test_client/domain_chain_spec/fn.get_account_id_from_seed.html @@ -1,3 +1,3 @@ -get_account_id_from_seed in subspace_test_client::domain_chain_spec - Rust
pub fn get_account_id_from_seed<TPublic: Public>(seed: &str) -> AccountId20where
-    <Signature as Verify>::Signer: From<<TPublic::Pair as Pair>::Public>,
Expand description

Helper function to generate an account ID from seed.

+get_account_id_from_seed in subspace_test_client::domain_chain_spec - Rust
pub fn get_account_id_from_seed<TPublic: Public>(seed: &str) -> AccountId20where
+    <Signature as Verify>::Signer: From<<TPublic::Pair as Pair>::Public>,
Expand description

Helper function to generate an account ID from seed.

\ No newline at end of file diff --git a/subspace_test_client/domain_chain_spec/fn.testnet_evm_genesis.html b/subspace_test_client/domain_chain_spec/fn.testnet_evm_genesis.html index 435cd90e1b..e912e8fd98 100644 --- a/subspace_test_client/domain_chain_spec/fn.testnet_evm_genesis.html +++ b/subspace_test_client/domain_chain_spec/fn.testnet_evm_genesis.html @@ -1,2 +1,2 @@ -testnet_evm_genesis in subspace_test_client::domain_chain_spec - Rust
pub fn testnet_evm_genesis() -> GenesisConfig
Expand description

Get the genesis config of the evm domain

+testnet_evm_genesis in subspace_test_client::domain_chain_spec - Rust
pub fn testnet_evm_genesis() -> GenesisConfig
Expand description

Get the genesis config of the evm domain

\ No newline at end of file diff --git a/subspace_test_service/struct.MockConsensusNode.html b/subspace_test_service/struct.MockConsensusNode.html index 116ae6dde4..88e86de59d 100644 --- a/subspace_test_service/struct.MockConsensusNode.html +++ b/subspace_test_service/struct.MockConsensusNode.html @@ -1,9 +1,9 @@ MockConsensusNode in subspace_test_service - Rust
pub struct MockConsensusNode {
     pub task_manager: TaskManager,
-    pub client: Arc<Client>,
-    pub backend: Arc<Backend>,
-    pub executor: NativeElseWasmExecutor<TestExecutorDispatch>,
-    pub transaction_pool: Arc<FullPool<Block, Client, ConsensusChainTxPreValidator<Block, Client, FraudProofVerifier>>>,
+    pub client: Arc<Client>,
+    pub backend: Arc<Backend>,
+    pub executor: NativeElseWasmExecutor<TestExecutorDispatch>,
+    pub transaction_pool: Arc<FullPool<Block, Client, ConsensusChainTxPreValidator<Block, Client, FraudProofVerifier>>>,
     pub select_chain: FullSelectChain,
     pub network_service: Arc<NetworkService<Block, <Block as BlockT>::Hash>>,
     pub sync_service: Arc<SyncingService<Block>>,
@@ -12,10 +12,10 @@
     /* private fields */
 }
Expand description

A mock Subspace consensus node instance used for testing.

Fields§

§task_manager: TaskManager

TaskManager’s instance.

-
§client: Arc<Client>

Client’s instance.

-
§backend: Arc<Backend>

Backend.

-
§executor: NativeElseWasmExecutor<TestExecutorDispatch>

Code executor.

-
§transaction_pool: Arc<FullPool<Block, Client, ConsensusChainTxPreValidator<Block, Client, FraudProofVerifier>>>

Transaction pool.

+
§client: Arc<Client>

Client’s instance.

+
§backend: Arc<Backend>

Backend.

+
§executor: NativeElseWasmExecutor<TestExecutorDispatch>

Code executor.

+
§transaction_pool: Arc<FullPool<Block, Client, ConsensusChainTxPreValidator<Block, Client, FraudProofVerifier>>>

Transaction pool.

§select_chain: FullSelectChain

The SelectChain Strategy

§network_service: Arc<NetworkService<Block, <Block as BlockT>::Hash>>

Network service.

§sync_service: Arc<SyncingService<Block>>

Sync service.