This repository has been archived by the owner on Apr 18, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to support DSS 0.2.10 and manage inventory in Vat (#16)
* Skipped all the tests which require interacting with contracts. Refactored a bit of code in main.py. Updated test.sh to spin up pymaker's MCD testchain. * Updated main.check_cdps with pymaker API updates, got test_bite working * Refactored test fixtures to allow use of multiple (eth) collateral types. Got a handful of flip tests working. * Implemented EVM sleep when connected to Parity. Making progress on flip tests. * Resolved issue bidding on dent phase, made progress on flip unit tests * Got all the flip tests working in isolation. Work remains to allow them to be tested together. * Integrated half the flip tests using multiple auctions * Got tests working which use uniform auction parameters. * All flip tests now working sequentially * Started putting flap tests together * Got half the flap tests working * Got all but one of the flap tests working; last one is being a real kicker (pun intended) * Got that last flap test working, tidied some code * Test setup for flop auctions * Fixed issue in reserve_dai, added parameter allowing flip tests to request extra collateral. * Got half of the flop tests working. Resolved issue canceling out surplus and debt. * All flop tests are now functioning properly. * Updated documentation * Added test cleanups with flog/kiss/heal, resolved issue flogging multiple bites. * Implemented vow tests, and then moved them into test_flap and test_flop. Improved test cleanup. * Added a few more kicks needed after tightening up ttls in the dss deployment. Updated docs after testing against a pymaker which supports dss 0.2.10. * Implemented facilities to manage amount of Dai joined to the Vat * Missing file from previous commit * Added facility to check amount of Dai in vat before bidding on flip and flop auctions. Added scripts for manual testing. * Resolved threading issue with auctions collection, added scripts to test flop auctions. * Now checking MKR balance before bidding on flaps. Added manual testing scripts. * Removed flog-and-heal calls from the test scripts; keeper handles this implicitly. Document integration testing artifacts. * Resolved issue where flop wouldn't happen because flog wasn't being called * Add support for flop delay (wait). Improve integration test scripts. * Updated integration tests to use testchain hosted on docker hub * Updated docs to explain significance of the sleep in static price models * Added facility to exit collateral on shutdown. Reworked commandline parameters to use addresses.json to simplify configuration and avoid config errors. Improved unit testing around these changes. * Restored ability to configure keeper such that it does not bite/flap/flop when new opportunities arise * Improved scripts which create CDPs to draw a random yet appropriate amount of Dai. Updated status printer to show total debt instead of lot sizes. * Removed pointless balance checks. Reverted back to Martin's behavior of only letting the flogger heal and flop. * Accommodate renaming of DssDeployment.flap and .flop, resolve unit test issues. * Updated pymaker to latest commit * Asynchronously bite and deal * Added facility to print flop auctions which were not bid upon * Cleaned up some documentation * Updated documentation and reference to addresses used for unit testing * Accommodate pymaker changes to hope_directly(); remove debugging messages * Added table enumerating several keepers and showing the relevant pricing pair, per code review comment * Updated submodule to point to appropriate pymaker
- Loading branch information