From b06b4507c166d28d5fd11c447941cf17c01d1c27 Mon Sep 17 00:00:00 2001 From: Ignotus Peverell Date: Fri, 7 Dec 2018 09:38:01 -0800 Subject: [PATCH] Tests in chain and pool crates don't depend on wallet anymore (#2092) --- chain/Cargo.toml | 1 - chain/tests/data_file_integrity.rs | 1 - chain/tests/mine_simple_chain.rs | 1 - chain/tests/store_indices.rs | 1 - chain/tests/test_coinbase_maturity.rs | 1 - pool/Cargo.toml | 1 - pool/tests/block_building.rs | 1 - pool/tests/block_reconciliation.rs | 1 - pool/tests/coinbase_maturity.rs | 1 - pool/tests/common/mod.rs | 1 - pool/tests/transaction_pool.rs | 1 - 11 files changed, 11 deletions(-) diff --git a/chain/Cargo.toml b/chain/Cargo.toml index c2b3da60..b1a30596 100644 --- a/chain/Cargo.toml +++ b/chain/Cargo.toml @@ -27,6 +27,5 @@ grin_store = { path = "../store", version = "0.4.2" } grin_util = { path = "../util", version = "0.4.2" } [dev-dependencies] -grin_wallet = { path = "../wallet", version = "0.4.2" } env_logger = "0.5" rand = "0.5" diff --git a/chain/tests/data_file_integrity.rs b/chain/tests/data_file_integrity.rs index 440bf7db..86b9a304 100644 --- a/chain/tests/data_file_integrity.rs +++ b/chain/tests/data_file_integrity.rs @@ -19,7 +19,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_store as store; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate rand; use chrono::Duration; diff --git a/chain/tests/mine_simple_chain.rs b/chain/tests/mine_simple_chain.rs index 2adc93db..d637b065 100644 --- a/chain/tests/mine_simple_chain.rs +++ b/chain/tests/mine_simple_chain.rs @@ -18,7 +18,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_store as store; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate rand; use chrono::Duration; diff --git a/chain/tests/store_indices.rs b/chain/tests/store_indices.rs index b4afd04d..5855a695 100644 --- a/chain/tests/store_indices.rs +++ b/chain/tests/store_indices.rs @@ -17,7 +17,6 @@ extern crate grin_chain as chain; extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_store as store; -extern crate grin_wallet as wallet; extern crate rand; use std::fs; diff --git a/chain/tests/test_coinbase_maturity.rs b/chain/tests/test_coinbase_maturity.rs index 7be8440b..f611fef7 100644 --- a/chain/tests/test_coinbase_maturity.rs +++ b/chain/tests/test_coinbase_maturity.rs @@ -19,7 +19,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_store as store; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate rand; use chrono::Duration; diff --git a/pool/Cargo.toml b/pool/Cargo.toml index c0b2ca14..c7c70b57 100644 --- a/pool/Cargo.toml +++ b/pool/Cargo.toml @@ -22,5 +22,4 @@ grin_store = { path = "../store", version = "0.4.2" } grin_util = { path = "../util", version = "0.4.2" } [dev-dependencies] -grin_wallet = { path = "../wallet", version = "0.4.2" } grin_chain = { path = "../chain", version = "0.4.2" } diff --git a/pool/tests/block_building.rs b/pool/tests/block_building.rs index 4ef22066..deba4098 100644 --- a/pool/tests/block_building.rs +++ b/pool/tests/block_building.rs @@ -18,7 +18,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_pool as pool; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate chrono; extern crate rand; diff --git a/pool/tests/block_reconciliation.rs b/pool/tests/block_reconciliation.rs index 94431289..65a7f7bf 100644 --- a/pool/tests/block_reconciliation.rs +++ b/pool/tests/block_reconciliation.rs @@ -18,7 +18,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_pool as pool; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate chrono; extern crate rand; diff --git a/pool/tests/coinbase_maturity.rs b/pool/tests/coinbase_maturity.rs index 3085674c..1f80b6bc 100644 --- a/pool/tests/coinbase_maturity.rs +++ b/pool/tests/coinbase_maturity.rs @@ -18,7 +18,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_pool as pool; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate chrono; extern crate rand; diff --git a/pool/tests/common/mod.rs b/pool/tests/common/mod.rs index 3731c963..9fcdbfcd 100644 --- a/pool/tests/common/mod.rs +++ b/pool/tests/common/mod.rs @@ -21,7 +21,6 @@ extern crate grin_keychain as keychain; extern crate grin_pool as pool; extern crate grin_store as store; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate chrono; extern crate rand; diff --git a/pool/tests/transaction_pool.rs b/pool/tests/transaction_pool.rs index 8c166e2f..5e3b7e21 100644 --- a/pool/tests/transaction_pool.rs +++ b/pool/tests/transaction_pool.rs @@ -18,7 +18,6 @@ extern crate grin_core as core; extern crate grin_keychain as keychain; extern crate grin_pool as pool; extern crate grin_util as util; -extern crate grin_wallet as wallet; extern crate chrono; extern crate rand;