-
Notifications
You must be signed in to change notification settings - Fork 557
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
Fix offchain workers and add tests #1409
Fix offchain workers and add tests #1409
Conversation
Now there are unit tests so no one else can break it :) Edit: I believe these are the only two off-chain workers in our code base, I would add test to others but I think these are it |
Don't merge this yet, key still doesn't work to continue iterator from where it left off, I will add to tests so it fails in that case, when I figure out how to fix it Edit: Okay is good on my end now, the iterator now correctly starts where it left off for when the raw key is stored in offchain storage |
* fix offchain worker and add tests * offchain worker tests wip * finish cdp-engine test * test max iterations * remove dbg! * add auction manager tests * make None into DEFAULT_MAX_ITERATIONS * add test for when max iterations is none * key sets correctly for iterator
Closes #1405
Fixes auction-manager and cdp-engine offchain workers and adds tests