Skip to content

Commit

Permalink
Revert ethash and submodule change and remove evmbin benches.
Browse files Browse the repository at this point in the history
The `ethhash` benches should be used with `--features bench`.
The submodule update broke the tests.
And the `evmbin` benches have been removed in `master`.
  • Loading branch information
afck committed Oct 7, 2019
1 parent c4982ff commit 1e6a30b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 89 deletions.
8 changes: 6 additions & 2 deletions ethash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,20 @@ extern crate serde_json;
#[cfg(test)]
extern crate tempdir;

// TODO: This should be private; only needed for benches.
#[cfg(feature = "bench")]
pub mod compute;
#[cfg(not(feature = "bench"))]
mod compute;

mod seed_compute;
mod cache;
mod keccak;
mod shared;

// TODO: This should be private; only needed for benches.
#[cfg(feature = "bench")]
pub mod progpow;
#[cfg(not(feature = "bench"))]
mod progpow;

pub use cache::{NodeCacheBuilder, OptimizeFor};
pub use compute::{ProofOfWork, quick_get_difficulty, slow_hash_block_number};
Expand Down
2 changes: 1 addition & 1 deletion ethcore/res/ethereum/tests
Submodule tests updated 24278 files
2 changes: 1 addition & 1 deletion ethcore/res/wasm-tests
85 changes: 0 additions & 85 deletions evmbin/benches-broken/mod.rs

This file was deleted.

0 comments on commit 1e6a30b

Please sign in to comment.