Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #5506 from ethereum/hunter
Browse files Browse the repository at this point in the history
Upgrade Hunter
  • Loading branch information
chfast authored May 29, 2019
2 parents de06503 + 659b221 commit 8912c1b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
6 changes: 4 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ option(HUNTER_RUN_UPLOAD "Upload binaries to the cache server" ${run_upload})

include(HunterGate)
HunterGate(
URL "https://github.com/ruslo/hunter/archive/v0.23.44.tar.gz"
SHA1 "c4cfcc0cd39fdae8de08f6205b7f34cab4a7ba79"
URL "https://github.com/ruslo/hunter/archive/v0.23.178.tar.gz"
SHA1 "3511e5f2382d43cfa92b7f2a6f316fbdd1b81a92"
LOCAL
)

Expand Down Expand Up @@ -83,6 +83,8 @@ find_package(libscrypt CONFIG REQUIRED)
hunter_add_package(ethash)
find_package(ethash CONFIG REQUIRED)

message("Crypto++: ${HUNTER_cryptopp_VERSION}")

include(ProjectSecp256k1)
include(ProjectLibFF)

Expand Down
5 changes: 0 additions & 5 deletions cmake/Hunter/config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,3 @@ hunter_config(
)

hunter_config(Boost VERSION 1.65.1)

hunter_config(ethash VERSION 0.4.4
URL https://github.com/chfast/ethash/archive/v0.4.4.tar.gz
SHA1 d09e4560cf7e5ea9ce9e3c1f35a98edeb46e6bb6
)
2 changes: 1 addition & 1 deletion libdevcrypto/CryptoPP.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <libdevcore/Assertions.h>
#include <libdevcore/SHA3.h>

static_assert(CRYPTOPP_VERSION == 565, "Wrong Crypto++ version");
static_assert(CRYPTOPP_VERSION == 820, "Wrong Crypto++ version");

using namespace dev;
using namespace dev::crypto;
Expand Down
2 changes: 0 additions & 2 deletions libp2p/RLPXFrameCoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include "RLPxHandshake.h"
#include "RLPXPacket.h"

static_assert(CRYPTOPP_VERSION == 565, "Wrong Crypto++ version");

using namespace std;
using namespace dev;
using namespace dev::p2p;
Expand Down

0 comments on commit 8912c1b

Please sign in to comment.