Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Commit 1ab7ec6

Browse files
committed
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
* master: [ethcore]: move client test types to test-helpers (#11062) [sync]: remove unused dependencies or make dev (#11061) [ethcore]: reduce re-exports (#11059) [evmbin] fix time formatting (#11060) Update hardcoded headers (foundation, classic, kovan, xdai, ewc, ...) (#11053) cargo update -p eth-secp256k1 (#11052)
2 parents 1c68b36 + b6415c6 commit 1ab7ec6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+18341
-698
lines changed

Cargo.lock

Lines changed: 4 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ethcore/light/src/net/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use common_types::blockchain_info::BlockChainInfo;
2121
use common_types::encoded;
2222
use common_types::ids::BlockId;
2323
use common_types::transaction::{Action, PendingTransaction};
24-
use ethcore::client::{EachBlockWith, TestBlockChainClient};
24+
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
2525
use ethereum_types::{H256, U256, Address, BigEndianHash};
2626
use net::context::IoContext;
2727
use net::load_timer::MOVING_SAMPLE_SIZE;

ethcore/light/src/on_demand/request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1099,7 +1099,7 @@ mod tests {
10991099
use trie::Recorder;
11001100
use hash::keccak;
11011101

1102-
use ethcore::client::{TestBlockChainClient, EachBlockWith};
1102+
use ethcore::test_helpers::{TestBlockChainClient, EachBlockWith};
11031103
use client_traits::{BlockInfo, BlockChainClient};
11041104
use common_types::header::Header;
11051105
use common_types::encoded;

ethcore/light/src/provider.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ impl<L: AsLightClient> AsLightClient for LightProvider<L> {
396396

397397
#[cfg(test)]
398398
mod tests {
399-
use ethcore::client::{EachBlockWith, TestBlockChainClient};
399+
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
400400
use super::Provider;
401401

402402
#[test]

ethcore/private-tx/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ use ethabi::FunctionOutputDecoder;
120120
use vm::CreateContractAddress;
121121

122122
// Source avaiable at https://github.com/parity-contracts/private-tx/blob/master/contracts/PrivateContract.sol
123-
const DEFAULT_STUB_CONTRACT: &'static str = include_str!("../res/private.evm");
123+
const DEFAULT_STUB_CONTRACT: &str = include_str!("../res/private.evm");
124124

125125
use_contract!(private_contract, "res/private.json");
126126

ethcore/private-tx/tests/private_contract.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ extern crate log;
3333

3434
use std::sync::Arc;
3535
use rustc_hex::{FromHex, ToHex};
36-
3736
use types::ids::BlockId;
3837
use types::transaction::{Transaction, Action};
3938
use ethcore::{
40-
CreateContractAddress,
41-
test_helpers::{generate_dummy_client, push_block_with_transactions, new_db},
39+
test_helpers::{CreateContractAddress, generate_dummy_client, push_block_with_transactions, new_db},
4240
miner::Miner,
4341
};
4442
use client_traits::BlockChainClient;

ethcore/res/ethereum/classic.json

Lines changed: 505 additions & 3 deletions
Large diffs are not rendered by default.

ethcore/res/ethereum/ewc.json

Lines changed: 952 additions & 211 deletions
Large diffs are not rendered by default.

ethcore/res/ethereum/foundation.json

Lines changed: 529 additions & 3 deletions
Large diffs are not rendered by default.

ethcore/res/ethereum/kovan.json

Lines changed: 1381 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)