ResistancePlatform / resistance-core

Resistance Core
Other
10 stars 4 forks source link

Repair and start using the tests #19

Open solardiz opened 5 years ago

solardiz commented 5 years ago

As we change our core tree in incompatible ways, we're only updating test vectors embedded in the main programs to the extent that they keep working. We don't similarly update standalone tests found in subdirectories. We should probably test and repair those tests as a separate task, and then we'll be using them.

Some standalone tests also still depend on Equihash - e.g., there's one in Python trying to import a Python module for Equihash. Maybe we should simply drop it, although Koto repaired it (for yescrypt using https://github.com/wo01/yescrypt_python) and we could repair it with one of https://github.com/spacecobra/yespower-python or https://github.com/cryply/crp_yespower_python or https://github.com/cryptozeny/zny_yespower_python (perhaps would need to maintain a cleaner project like this ourselves).

solardiz commented 5 years ago

The "New supply curve" commit disables (with #if 0 ... #endif) tests corresponding to the supply curve and to founders' rewards. Maybe we'll repair them later as part of work on this issue.