mirror of
https://gitlab.com/pezkuwichain/pezkuwi-sdk.git
synced 2026-10-20 18:56:23 +00:00
snapshot before rebranding
This commit is contained in:
1 parent
ef79d9968f
commit
6588d9a1f2
1752 files changed
+58113
-15983
No files matched your search
@@ -7,6 +7,7 @@ description = "Minimal node implementation to be used in tandem with RPC or ligh
|
||||
license = "GPL-3.0-or-later WITH Classpath-exception-2.0"
|
||||
homepage.workspace = true
|
||||
repository.workspace = true
|
||||
documentation = "https://docs.rs/pezcumulus-relay-chain-minimal-node"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
@@ -51,26 +52,26 @@ tracing = { workspace = true, default-features = true }
|
||||
|
||||
[features]
|
||||
runtime-benchmarks = [
|
||||
"pezcumulus-client-bootnodes/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-interface/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-rpc-interface/runtime-benchmarks",
|
||||
"pezkuwi-core-primitives/runtime-benchmarks",
|
||||
"pezkuwi-network-bridge/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-service/runtime-benchmarks",
|
||||
"pezsc-authority-discovery/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-network-common/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsc-service/runtime-benchmarks",
|
||||
"pezsc-tracing/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-blockchain/runtime-benchmarks",
|
||||
"pezsp-consensus-babe/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
"pezcumulus-client-bootnodes/runtime-benchmarks",
|
||||
"pezcumulus-primitives-core/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-interface/runtime-benchmarks",
|
||||
"pezcumulus-relay-chain-rpc-interface/runtime-benchmarks",
|
||||
"pezkuwi-core-primitives/runtime-benchmarks",
|
||||
"pezkuwi-network-bridge/runtime-benchmarks",
|
||||
"pezkuwi-node-network-protocol/runtime-benchmarks",
|
||||
"pezkuwi-node-subsystem-util/runtime-benchmarks",
|
||||
"pezkuwi-overseer/runtime-benchmarks",
|
||||
"pezkuwi-primitives/runtime-benchmarks",
|
||||
"pezkuwi-service/runtime-benchmarks",
|
||||
"pezsc-authority-discovery/runtime-benchmarks",
|
||||
"pezsc-client-api/runtime-benchmarks",
|
||||
"pezsc-network-common/runtime-benchmarks",
|
||||
"pezsc-network/runtime-benchmarks",
|
||||
"pezsc-service/runtime-benchmarks",
|
||||
"pezsc-tracing/runtime-benchmarks",
|
||||
"pezsp-api/runtime-benchmarks",
|
||||
"pezsp-blockchain/runtime-benchmarks",
|
||||
"pezsp-consensus-babe/runtime-benchmarks",
|
||||
"pezsp-consensus/runtime-benchmarks",
|
||||
"pezsp-runtime/runtime-benchmarks",
|
||||
]
|
||||
@@ -20,9 +20,9 @@ use std::{
|
||||
pin::Pin,
|
||||
};
|
||||
|
||||
use cumulus_primitives_core::{InboundDownwardMessage, ParaId, PersistedValidationData};
|
||||
use cumulus_relay_chain_interface::{RelayChainError, RelayChainResult};
|
||||
use cumulus_relay_chain_rpc_interface::RelayChainRpcClient;
|
||||
use pezcumulus_primitives_core::{InboundDownwardMessage, ParaId, PersistedValidationData};
|
||||
use pezcumulus_relay_chain_interface::{RelayChainError, RelayChainResult};
|
||||
use pezcumulus_relay_chain_rpc_interface::RelayChainRpcClient;
|
||||
use futures::{Stream, StreamExt};
|
||||
use pezkuwi_core_primitives::{Block, BlockNumber, Hash, Header};
|
||||
use pezkuwi_overseer::{ChainApiBackend, RuntimeApiSubsystemClient};
|
||||
@@ -216,7 +216,7 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
|
||||
async fn candidate_pending_availability(
|
||||
&self,
|
||||
at: Hash,
|
||||
para_id: cumulus_primitives_core::ParaId,
|
||||
para_id: pezcumulus_primitives_core::ParaId,
|
||||
) -> Result<Option<pezkuwi_primitives::CommittedCandidateReceiptV2<Hash>>, pezsp_api::ApiError> {
|
||||
Ok(self
|
||||
.rpc_client
|
||||
@@ -455,7 +455,7 @@ impl RuntimeApiSubsystemClient for BlockChainRpcClient {
|
||||
async fn candidates_pending_availability(
|
||||
&self,
|
||||
at: Hash,
|
||||
para_id: cumulus_primitives_core::ParaId,
|
||||
para_id: pezcumulus_primitives_core::ParaId,
|
||||
) -> Result<Vec<pezkuwi_primitives::CommittedCandidateReceiptV2<Hash>>, pezsp_api::ApiError> {
|
||||
Ok(self
|
||||
.rpc_client
|
||||
|
||||
@@ -27,7 +27,7 @@ use pezsc_network::{request_responses::IncomingRequest, service::traits::Network
|
||||
use pezsc_service::TaskManager;
|
||||
use pezsc_utils::mpsc::tracing_unbounded;
|
||||
|
||||
use cumulus_relay_chain_interface::RelayChainError;
|
||||
use pezcumulus_relay_chain_interface::RelayChainError;
|
||||
|
||||
use crate::BlockChainRpcClient;
|
||||
|
||||
|
||||
@@ -17,9 +17,9 @@
|
||||
|
||||
use collator_overseer::NewMinimalNode;
|
||||
|
||||
use cumulus_client_bootnodes::bootnode_request_response_config;
|
||||
use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
|
||||
use cumulus_relay_chain_rpc_interface::{RelayChainRpcClient, RelayChainRpcInterface, Url};
|
||||
use pezcumulus_client_bootnodes::bootnode_request_response_config;
|
||||
use pezcumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
|
||||
use pezcumulus_relay_chain_rpc_interface::{RelayChainRpcClient, RelayChainRpcInterface, Url};
|
||||
use network::build_collator_network;
|
||||
use pezkuwi_network_bridge::{peer_sets_info, IsAuthority};
|
||||
use pezkuwi_node_network_protocol::{
|
||||
@@ -143,7 +143,7 @@ pub async fn build_minimal_relay_chain_node_with_rpc(
|
||||
Arc<dyn NetworkService>,
|
||||
async_channel::Receiver<GenericIncomingRequest>,
|
||||
)> {
|
||||
let client = cumulus_relay_chain_rpc_interface::create_client_and_start_worker(
|
||||
let client = pezcumulus_relay_chain_rpc_interface::create_client_and_start_worker(
|
||||
relay_chain_url,
|
||||
task_manager,
|
||||
teyrchain_prometheus_registry,
|
||||
|
||||
Reference in new issue
Block a user