Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dlcoracle prepared for run within mit-dci/lit testing framework. #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

infografx
Copy link

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.

@infografx
Copy link
Author

infografx commented Mar 20, 2019

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.

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.

RangeFrom - Start interval of the publishing random variable
RangeTo - End interval of the publishing random variable
@infografx
Copy link
Author

infografx commented Mar 21, 2019

Also I have added arguments to set the interval of the publishing random variable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant