kadena-io / chainweb-node

Chainweb: A Proof-of-Work Parallel-Chain Architecture for Massive Throughput
https://docs.kadena.io/basics/whitepapers/overview
BSD 3-Clause "New" or "Revised" License
249 stars 95 forks source link

Linker complains that Chainweb.Test.Mining module cannot be found #1490

Closed dleidert closed 1 year ago

dleidert commented 2 years ago

I've built the binaries on a Raspberry Pi via cabal update, cabel build, cabal install. The latter fails, complaining that the Chainweb.Test.Mining module cannot be found. I fixed this by adding the module to chainweb.cabal:

diff --git a/chainweb.cabal b/chainweb.cabal
index 30223b14..f6685458 100644
--- a/chainweb.cabal
+++ b/chainweb.cabal
@@ -444,6 +444,7 @@ test-suite chainweb-tests
         Chainweb.Test.Mempool.InMem
         Chainweb.Test.Mempool.RestAPI
         Chainweb.Test.Mempool.Sync
+        Chainweb.Test.Mining
         Chainweb.Test.Misc
         Chainweb.Test.Orphans.Internal
         Chainweb.Test.Orphans.Pact
edmundnoble commented 1 year ago

Thank you for your report. Looks like this has been fixed as of a8c0ba57, so I will close it.