aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/utils/fill_order_combinatorial_utils.ts
Commit message (Collapse)AuthorAgeFilesLines
* Move packages/contracts to contracts/coreLeonid Logvinov2018-12-031-924/+0
|
* Move signature validation into ↵Fabio Berger2018-11-101-1/+1
| | | | OrderValidationUtils.validateOrderFillableOrThrowAsync
* chore: change package org from 0xproject to 0xJacob Evans2018-10-181-4/+4
|
* Move generated contract wrappers and artifacts into contracts packageAlex Browne2018-10-161-3/+3
|
* Append -Floor to getPartialAmount and isRoundingErrorRemco Bloemen2018-08-251-6/+6
|
* Fix tests that assumed logs were being filteredAmir Bandeali2018-08-171-1/+5
|
* [Order-utils] Order is valid when maker amount is very smallJacob Evans2018-08-151-0/+7
| | | | | | | Previously our min fillable calculation would throw a rounding error when encountering a valid order (with a small maker amount). This was inconsistent with the on-chain logic which allowed this order to be filled.
* Test abiEncodeFillOrder as part of combinatorial follOrder testsAmir Bandeali2018-08-091-0/+22
|
* Add return values to combinatorial fillOrder testsAmir Bandeali2018-08-091-10/+23
|
* Add combinatorial tests for internal Exchange functions (#807)Alex Browne2018-07-271-0/+878
* WIP add combinatorial tests for internal Exchange functions * Change combinitorial testing strategy based on feedback * Check value of filled[orderHash] in updateFilledState tests * Add combinatorial tests for addFillResults * Add combinatorial tests for getPartialAmount * Implement generic `testWithReferenceFuncAsync` * Implement generic `testCombinatoriallyWithReferenceFuncAsync` * Add combinatorial tests for isRoundingError * Add combinatorial tests for calculateFillResults * Add support for Geth in internal contract tests * Fix contract artifacts * Change DECIMAL_PLACES to 78 and add a note. * Document new functions in utils * Optimize tests by only reseting state when needed * Rename/move some files * Print parameter names on failure in testWithReferenceFuncAsync * Add to changelog for utils package * Appease various linters * Rename some more things related to FillOrderCombinatorialUtils * Remove .only from test/exchange/internal.ts * Remove old test for isRoundingError and getPartialAmount * Appease linters again * Remove old todos * Fix typos, add comments, rename some things * Re-add some LibMath tests * Update contract internal tests to use new SafeMath revert reasons * Apply PR feedback from Amir * Apply PR feedback from Remco * Re-add networks to ZRXToken artifact * Remove duplicate Whitelist in compiler.json