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

Commit

Permalink
Merge branch 'master' into dp/chore/new-ethereum-consensus-tests
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
dvdplm committed Sep 18, 2019
2 parents 1c68b36 + b6415c6 commit 1ab7ec6
Show file tree
Hide file tree
Showing 59 changed files with 18,341 additions and 698 deletions.
12 changes: 4 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ethcore/light/src/net/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ use common_types::blockchain_info::BlockChainInfo;
use common_types::encoded;
use common_types::ids::BlockId;
use common_types::transaction::{Action, PendingTransaction};
use ethcore::client::{EachBlockWith, TestBlockChainClient};
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
use ethereum_types::{H256, U256, Address, BigEndianHash};
use net::context::IoContext;
use net::load_timer::MOVING_SAMPLE_SIZE;
Expand Down
2 changes: 1 addition & 1 deletion ethcore/light/src/on_demand/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1099,7 +1099,7 @@ mod tests {
use trie::Recorder;
use hash::keccak;

use ethcore::client::{TestBlockChainClient, EachBlockWith};
use ethcore::test_helpers::{TestBlockChainClient, EachBlockWith};
use client_traits::{BlockInfo, BlockChainClient};
use common_types::header::Header;
use common_types::encoded;
Expand Down
2 changes: 1 addition & 1 deletion ethcore/light/src/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ impl<L: AsLightClient> AsLightClient for LightProvider<L> {

#[cfg(test)]
mod tests {
use ethcore::client::{EachBlockWith, TestBlockChainClient};
use ethcore::test_helpers::{EachBlockWith, TestBlockChainClient};
use super::Provider;

#[test]
Expand Down
2 changes: 1 addition & 1 deletion ethcore/private-tx/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ use ethabi::FunctionOutputDecoder;
use vm::CreateContractAddress;

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

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

Expand Down
4 changes: 1 addition & 3 deletions ethcore/private-tx/tests/private_contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,10 @@ extern crate log;

use std::sync::Arc;
use rustc_hex::{FromHex, ToHex};

use types::ids::BlockId;
use types::transaction::{Transaction, Action};
use ethcore::{
CreateContractAddress,
test_helpers::{generate_dummy_client, push_block_with_transactions, new_db},
test_helpers::{CreateContractAddress, generate_dummy_client, push_block_with_transactions, new_db},
miner::Miner,
};
use client_traits::BlockChainClient;
Expand Down
508 changes: 505 additions & 3 deletions ethcore/res/ethereum/classic.json

Large diffs are not rendered by default.

1,163 changes: 952 additions & 211 deletions ethcore/res/ethereum/ewc.json

Large diffs are not rendered by default.

532 changes: 529 additions & 3 deletions ethcore/res/ethereum/foundation.json

Large diffs are not rendered by default.

1,384 changes: 1,381 additions & 3 deletions ethcore/res/ethereum/kovan.json

Large diffs are not rendered by default.

5,348 changes: 5,348 additions & 0 deletions ethcore/res/ethereum/poacore.json

Large diffs are not rendered by default.

5,248 changes: 5,248 additions & 0 deletions ethcore/res/ethereum/poasokol.json

Large diffs are not rendered by default.

1,509 changes: 1,304 additions & 205 deletions ethcore/res/ethereum/volta.json

Large diffs are not rendered by default.

Loading

0 comments on commit 1ab7ec6

Please sign in to comment.