121 Commits

Author SHA1 Message Date
Leonid Logvinov
65697f5896
Update MAX_REASONABLE_GAS_COST_IN_WEI 2017-11-27 17:37:23 -06:00
Leonid Logvinov
f862a2af6d
Fix tests 2017-11-27 16:32:33 -06:00
Leonid Logvinov
32867c9a07
Fix merge conflicts 2017-11-27 16:03:57 -06:00
Leonid
cf0a8b2d05
Merge branch 'development' into feature/passNetworkId 2017-11-27 15:53:21 -06:00
Fabio Berger
f0b3ee84b4 Fix tests now that we no longer fire duplicate orderWatcher events 2017-11-23 15:56:42 -06:00
Fabio Berger
cee0d2706f Add missing type 2017-11-23 15:32:00 -06:00
Fabio Berger
8dea47f038 Merge branch 'development' into validateOrdersAgainstLatestBlock
* development:
  Rename removed to isRemoved
  Add CHANGELOG entry
  Make DecodedLogEvent contain web3 log under a log subkey
2017-11-23 15:24:32 -06:00
Fabio Berger
b7b1721145 Pass 'latest' to ExchangeTransferSimulator when used for validating orders, and pass 'pending' when used in the order watcher. 2017-11-23 15:21:45 -06:00
Leonid Logvinov
c780d04cee
Remove ContractDoesNotExist error and replace it with more specific errors 2017-11-23 15:15:47 -06:00
Leonid Logvinov
8c54e9a873
Add a regression test 2017-11-23 15:15:47 -06:00
Leonid Logvinov
062f85e506
Pass networkId on provider update 2017-11-23 15:15:47 -06:00
Leonid Logvinov
55ddf62df2
Fix rebasing issues 2017-11-23 15:15:17 -06:00
Leonid Logvinov
e32c453bc3
Remove unused asyncs 2017-11-23 15:13:38 -06:00
Leonid Logvinov
010e6f8d7f
Fix the imports order 2017-11-23 15:13:37 -06:00
Leonid Logvinov
db2917b01c
Enable some new linter rules and fix the issues 2017-11-23 15:13:37 -06:00
Leonid Logvinov
87d34f9c7f
Auto-fix linter errors 2017-11-23 15:13:37 -06:00
Leonid Logvinov
d20926e150
Don't reassign the parameter 2017-11-23 15:13:37 -06:00
Leonid Logvinov
a38ef3655b
Remove even more asyncs 2017-11-23 15:13:37 -06:00
Leonid Logvinov
8935146240
Make exchange subscriptions non-async 2017-11-23 15:13:37 -06:00
Leonid Logvinov
66aaceea91
Cleanup order watcher from redundant asyncs 2017-11-23 15:13:36 -06:00
Leonid Logvinov
4fe28ec53c
Make zeroEx.exchange.getContractAddress non-async 2017-11-23 15:13:36 -06:00
Leonid Logvinov
63dc606a9c
Make getZRXTokenAddress non async 2017-11-23 15:13:36 -06:00
Leonid Logvinov
311d42626a
Adjust the tests 2017-11-23 15:13:36 -06:00
Leonid Logvinov
cbf35de4c1
Fix CI tests 2017-11-23 15:13:36 -06:00
Leonid Logvinov
fcd37808d4
Rename removed to isRemoved 2017-11-23 15:12:34 -06:00
Leonid Logvinov
e01468b492
Make DecodedLogEvent contain web3 log under a log subkey 2017-11-23 15:12:34 -06:00
Jacob Evans
5a18f43b51 Update to Async call 2017-11-23 15:17:11 +11:00
Jacob Evans
924b96ce2a Fix nits 2017-11-23 15:14:33 +11:00
Jacob Evans
437ac301db
Merge branch 'development' into feature/calculate-remaining-proportions 2017-11-23 14:37:34 +11:00
Brandon Millman
c0e17f6136 Add blockchainLifecycle management to the ExpirationWatcher test 2017-11-22 14:20:45 -08:00
Leonid
beed223281
Merge branch 'development' into feature/orderExpired 2017-11-22 11:24:59 -06:00
Jacob Evans
4bfb1fcc71 add a test constant for ZRX decimals 2017-11-22 10:54:09 +11:00
Jacob Evans
15628a1206 Add a test for when the ratio is < 1 2017-11-22 10:43:38 +11:00
Jacob Evans
a1411e3d52 Remove only 2017-11-22 08:05:47 +11:00
Leonid Logvinov
66750f7349
Fix tests 2017-11-21 14:03:32 -06:00
Leonid Logvinov
0747e162fa
Add instanceOf assertion 2017-11-21 13:18:29 -06:00
Leonid Logvinov
c8c95b4bd2
Add postFormatter for logs 2017-11-21 13:09:23 -06:00
Leonid Logvinov
351b7557b6
Fix tests 2017-11-21 12:21:49 -06:00
Jacob Evans
335b9629b8 calculatedFillableAmountPlusFees 2017-11-21 15:00:09 +11:00
Jacob Evans
da03331015 Unit test edge case for ZRX and ZRX partial fill 2017-11-21 14:51:19 +11:00
Jacob Evans
43128234bb setting a failed test 2017-11-21 14:00:21 +11:00
Jacob Evans
bbcee8dfa7 Move to base units 2017-11-21 13:04:36 +11:00
Jacob Evans
5b8f84f59a Added unit test for calculator 2017-11-21 12:58:17 +11:00
Leonid Logvinov
3ad6020e19
Address nits 2017-11-20 16:55:53 -06:00
Leonid Logvinov
3e0371685f
Fix async callbacks 2017-11-20 16:39:34 -06:00
Leonid
d39c0bee39
Merge branch 'development' into feature/orderExpired 2017-11-20 14:46:53 -06:00
Leonid Logvinov
35668fe225
Fix typos 2017-11-20 12:54:22 -06:00
Leonid Logvinov
83a2abeee4
Rename orderLifetime to orderLifetimeS 2017-11-20 12:53:49 -06:00
Leonid Logvinov
49d926013c
Reference types directly 2017-11-20 12:53:16 -06:00
Jacob Evans
d6589004c7 fix bug when fees and partial asymmetric 2017-11-20 11:10:50 +11:00