Comanion for substrate#11136 (#5218)

* Comanion for substrate#11136

Signed-off-by: koushiro <koushiro.cqx@gmail.com>

* revert changes in bridge

Signed-off-by: koushiro <koushiro.cqx@gmail.com>
This commit is contained in:
Qinxuan Chen
2022-04-04 17:13:34 +08:00
committed by GitHub
parent 8f784d592a
commit 74078d8eb9
65 changed files with 48 additions and 115 deletions
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use std::{collections::HashMap, convert::TryFrom};
use std::collections::HashMap;
use parity_scale_codec::Encode;
@@ -16,7 +16,7 @@
//! Helper functions and tools to generate mock data useful for testing this subsystem.
use std::{convert::TryFrom, sync::Arc};
use std::sync::Arc;
use sp_keyring::Sr25519Keyring;
@@ -20,7 +20,6 @@
use std::{
collections::{HashMap, VecDeque},
convert::TryFrom,
pin::Pin,
time::Duration,
};
@@ -14,7 +14,7 @@
// You should have received a copy of the GNU General Public License
// along with Polkadot. If not, see <http://www.gnu.org/licenses/>.
use std::{convert::TryFrom, sync::Arc, time::Duration};
use std::{sync::Arc, time::Duration};
use assert_matches::assert_matches;
use futures::{executor, future};
@@ -282,7 +282,6 @@ impl View {
/// v1 protocol types.
pub mod v1 {
use parity_scale_codec::{Decode, Encode};
use std::convert::TryFrom;
use polkadot_primitives::v2::{
CandidateHash, CandidateIndex, CollatorId, CollatorSignature, CompactStatement, Hash,