Chia-Network / bls-signatures

BLS signatures in C++, using the blst library for BLS12-381
Apache License 2.0
297 stars 212 forks source link

Failed test on MacOS #3

Closed jonspock closed 6 years ago

jonspock commented 6 years ago

I used a different build method due to issue with current files, but after successfully building, I get the following issue with test. Any idea on how to fix?


test is a Catch v2.2.3 host application.
Run with -? for options

-------------------------------------------------------------------------------
Key generation
  Should generate a keypair from a seed
-------------------------------------------------------------------------------
/Users/bls-signatures/src/test.cpp:26
...............................................................................

/Users/bls-signatures/src/test.cpp:36: FAILED:
  REQUIRE( pk.GetFingerprint() == 0xaf068c91 )
with expansion:
  3774045209 (0xe0f35c19)
  ==
  2936442001 (0xaf068c91)

-------------------------------------------------------------------------------
Util tests
  Should calculate public key fingerprints
-------------------------------------------------------------------------------
/Users/spiralus/bls-signatures/src/test.cpp:54
...............................................................................

/Users/bls-signatures/src/test.cpp:59: FAILED:
  REQUIRE( fingerprint == 0xa4700b27 )
with expansion:
  4175151377 (0xf8dbc111)
  ==
  2758806311 (0xa4700b27)

ERROR in ep_read_bin() at /Users/bls-signatures/contrib/relic/src/ep/relic_ep_util.c,277: insufficient buffer capacity.
jonspock commented 6 years ago

Sorry, please ignore. Setup of relic was incorrect