40 Commits

Author SHA1 Message Date
Fabio Berger
129876d1be remove unused imports from 0x.js test 2018-06-06 12:22:15 +02:00
fragosti
9778695b4a Try enabling no-unused-variable... 2018-06-04 19:48:21 -07:00
Alex Browne
251218af8b
Use make-promises-safe to catch unhandled rejections in tests 2018-05-16 17:36:37 -07:00
Fabio Berger
eeb08b7fae Fix type error for latched on property 2018-05-10 16:53:03 +02:00
Fabio Berger
d3adb48c2e Fix no-any-propagation 2018-05-10 14:59:37 +02:00
Fabio Berger
209266dbed Split 0x.js into contract-wrappers, order-watcher but keep 0x.js as a unifying library with the same interface 2018-05-09 20:36:28 +02:00
Leonid Logvinov
0499541e11
Move order utils to @0xproject/order-utils 2018-05-02 15:10:24 +03:00
Leonid Logvinov
2574405699
Fix expiration watcher comparator 2018-04-18 13:45:04 +02:00
Fabio Berger
b146acc69e Simplify the tests 2018-04-11 21:59:30 +09:00
Fabio Berger
919b327fc5 Move migrations into separate monorepo subpackage and hook it up to 0x.js and contracts 2018-04-09 17:14:25 +09:00
Fabio Berger
24454938e5 Move away from using web3 directly in 0x.js tests 2018-04-06 15:03:14 +09:00
Fabio Berger
43e07e7ce3 Update 0x.js to run tests against in-process ganache 2018-04-04 16:31:57 +09:00
Leonid Logvinov
01e27426d6
Fix stubbing of a non-existent property 2018-03-28 10:43:42 +02:00
Leonid Logvinov
a2e4aaa9a3
Add clean-state tests 2018-03-27 17:47:04 +02:00
Fabio Berger
4f76bb2a12 Remove duplicate method 2018-03-20 21:39:41 +00:00
Leonid Logvinov
32e3cab116
Make BlockchainLifecycle accept only web3Wrapper 2018-03-12 12:51:37 +01:00
Leonid Logvinov
13299158d1
Add sol-cover implementation 2018-03-12 03:37:27 +01:00
Leonid Logvinov
6205209fbb
Make an RPC constructor param implicit 2018-01-30 16:01:37 +01:00
Leonid Logvinov
709026bf1a
Refactor contracts tests to not use injected web3 instance 2018-01-30 16:01:36 +01:00
Fabio Berger
c6dece6bd1 Add config file specifically in prettier command and fix files 2018-01-30 13:26:46 +01:00
Fabio Berger
93a5b3f457 Fix prettier 2018-01-30 13:21:01 +01:00
Fabio Berger
1cadbeed88 Add shouldAddPersonalMessagePrefix param to signOrderHashAsync instead of trying to infer whether to add it or not from the nodeVersion 2018-01-30 12:38:44 +01:00
Leonid Logvinov
4dfa720f2d
Use configured version of bignumber in all packages 2018-01-04 12:38:19 +01:00
Leonid Logvinov
d46fcb33c5
Fix formatting 2018-01-03 11:42:20 +01:00
Leonid Logvinov
e744e4cd98
Apply prettier config 2018-01-03 11:37:38 +01:00
Fabio Berger
b94d13b413 Refactor toBaseUnitAmount so that it throws if user supplies unitAmount with too many decimals 2017-12-21 09:34:50 +01:00
Fabio Berger
85e16c1233 Make assertion stricter so that one cannot submit invalid baseUnit amounts to toUnitAmount 2017-12-21 09:33:57 +01:00
Leonid Logvinov
75f637bd75
Throw a better error message when taker is null|undefined or anything but not a string 2017-12-19 16:22:57 +01:00
Fabio Berger
79bd416c61
Merge pull request #267 from 0xProject/refactor/passInEtherTokenAddress
Refactor EtherToken wrapper to accept address in method args
2017-12-19 10:23:07 +01:00
Brandon Millman
4dc6694651 Move web3 import after subprovider imports in test web3_factory 2017-12-17 23:30:14 -05:00
Fabio Berger
1f748afed9 Modify the etherToken wrapper methods to accept an etherTokenAddress as the first arg. Since it is becoming apparent we will be updating the canonical WETH contract, we want users of 0x.js to be able to interact with n number of etherTokens without re-instantiating for each one. 2017-12-17 00:32:53 -06:00
Leonid Logvinov
274aa50d74
Fix 0x.js unused vars 2017-12-15 13:30:19 +01:00
Leonid Logvinov
cb596c1413
Move more shared utils into utils package and reuse them 2017-12-14 15:47:02 +01:00
Leonid Logvinov
062f85e506
Pass networkId on provider update 2017-11-23 15:15:47 -06:00
Leonid Logvinov
010e6f8d7f
Fix the imports order 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
4fe28ec53c
Make zeroEx.exchange.getContractAddress 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
Fabio Berger
c4ee2d7386 Switch over to Lerna + Yarn Workspaces setup for a mono-repo approach 2017-11-12 22:17:18 -05:00