Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Limit the number of leaves per level #1544

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
Merge branch 'master' into davxy/remove-leaves
  • Loading branch information
davxy committed Aug 1, 2022
commit c211faa4da9327153478d6285c1b113959d1f5db
6 changes: 4 additions & 2 deletions polkadot-parachain/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ use cumulus_primitives_core::{
};
use cumulus_relay_chain_inprocess_interface::build_inprocess_relay_chain;
use cumulus_relay_chain_interface::{RelayChainError, RelayChainInterface, RelayChainResult};
use cumulus_relay_chain_rpc_interface::RelayChainRPCInterface;
use polkadot_service::{CollatorPair, FullBackend};
use cumulus_relay_chain_rpc_interface::{create_client_and_start_worker, RelayChainRpcInterface};
use polkadot_service::CollatorPair;
use sp_core::Pair;

use jsonrpsee::RpcModule;
Expand Down Expand Up @@ -508,7 +508,9 @@ where

// ========= START TEMPORARY HACK =========

use polkadot_service::FullBackend;
use std::sync::Mutex as StdMutex;

lazy_static::lazy_static! {
static ref BACKEND: StdMutex<Option<Arc<FullBackend>>> = StdMutex::new(None);
}
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.