Open infografx opened 5 years ago
I have pushed tests to my fork: https://github.com/infografx/lit
So you could review them and test. The file is: itest_dlc.py
Settle contract is still does not works. I'm working on it.
But the dlcoracle changes it ready to merge, I think.
Also I have added arguments to set the interval of the publishing random variable.
I have written a tests for the LIT DLC subsystem. But to make it works I had to modify the dlcoracle, a little.
Added some command line parameters to the dlcoracle: DataDir - so It could save keys in a test folder HttpPort - to create multiple instances Interval - to control the data publishing interval. To set the appropriate time when creating a r-point.
You could also run the dlcoracle as before - without arguments.