Leonid Logvinov
4dda6c0949
Factor out order validation tests
2017-07-25 22:25:56 +02:00
Leonid Logvinov
defd09459d
Cover all possible branches of order validation errors with tests
2017-07-25 22:25:56 +02:00
Leonid Logvinov
58d2b799d6
Refactor OrderValidationUtils to check for the case when ZRX is one of the tokens traded
2017-07-25 22:25:56 +02:00
Leonid Logvinov
d9a8b96154
Pass tokenWrapper to validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync
2017-07-25 22:25:56 +02:00
Leonid Logvinov
c7d89d98f3
Move _validateFillOrderBalancesAndAllowancesAndThrowIfInvalidAsync to orderValidationUtils
2017-07-25 22:25:56 +02:00
Leonid Logvinov
bdbd01f965
Add a test: should throw when maker has balance to cover fees or transfer but not both
2017-07-25 22:25:56 +02:00
Leonid
97e680aba1
Merge pull request #113 from 0xProject/ethereumjs-util-types
...
Add ethereumjs-utils types
2017-07-21 15:48:14 -07:00
Leonid Logvinov
64f4a276ff
Add ethereumjs-utils types
2017-07-21 15:42:42 -07:00
Leonid
5d31d43cf8
Merge pull request #112 from 0xProject/bn.js-types
...
Add bn.js types
2017-07-21 15:39:23 -07:00
Leonid Logvinov
f7fac34e03
Add bn.js types
2017-07-21 15:34:47 -07:00
Leonid
569cff01f3
Merge pull request #108 from 0xProject/greenkeeper/web3-0.20.0
...
Update web3 to the latest version 🚀
2017-07-18 15:02:06 -07:00
Leonid
d741fe5f1b
Merge pull request #110 from 0xProject/greenkeeper/web3-typescript-typings-0.2.1
...
Update web3-typescript-typings to the latest version 🚀
2017-07-18 10:22:08 -07:00
greenkeeper[bot]
106e096304
chore(package): update web3-typescript-typings to version 0.2.1
2017-07-18 16:42:09 +00:00
greenkeeper[bot]
745bdb6c3f
fix(package): update web3 to version 0.20.0
2017-07-17 10:01:33 +00:00
Leonid
5fe128ccf6
Merge pull request #104 from 0xProject/ts-2.4
...
Update to typescript@2.4
2017-07-11 18:22:22 -07:00
Leonid Logvinov
41f0be48f1
Use actual exception values in test names
2017-07-11 18:21:12 -07:00
Leonid Logvinov
b376f03102
Add a comment explaining any
2017-07-11 18:12:35 -07:00
Leonid Logvinov
468c95a4c2
Add forgotten meger conflict resolution
2017-07-11 18:00:17 -07:00
Leonid Logvinov
6033c1a5d5
Use PascalCase names as string enum keys
2017-07-11 17:54:57 -07:00
Leonid Logvinov
38fbf028a6
Migrate to using native string enums
2017-07-11 17:46:24 -07:00
Leonid Logvinov
ef88c71b27
Update to typescript@2.4
2017-07-11 17:46:24 -07:00
Leonid
89236fff41
Merge pull request #107 from 0xProject/static-get-order-hash-hex
...
Static get order hash hex
2017-07-11 17:45:46 -07:00
Leonid Logvinov
6c62c92f0c
Reformat CHANGELOG to use past tense
2017-07-11 17:45:35 -07:00
Leonid Logvinov
c05737e7a6
Update CHANGELOG.md
2017-07-11 17:45:35 -07:00
Leonid Logvinov
fbf89aea1c
Make getOrderHashHex static
2017-07-11 17:45:35 -07:00
Leonid
98e8a6dd70
Merge pull request #106 from 0xProject/single-exchange
...
Single exchange
2017-07-11 17:44:24 -07:00
Leonid Logvinov
4efba2a4bc
Fix the comment
2017-07-11 17:40:37 -07:00
Leonid Logvinov
d8fb58379e
Update CHANGELOG.md
2017-07-11 16:15:08 -07:00
Leonid Logvinov
8052625e76
Migrate to using a single Exchange contract
2017-07-11 16:15:08 -07:00
Leonid Logvinov
2787bdc46b
Remove exchange artifacts by name
2017-07-11 16:15:08 -07:00
Leonid Logvinov
ba46a2558d
Flatten artifacts
2017-07-11 16:15:08 -07:00
Leonid
9bb14a1d69
Merge pull request #105 from 0xProject/chai-bignumber
...
Stop using custom chai-bignumber fork
2017-07-11 13:17:44 -07:00
Leonid Logvinov
aa344d268c
Stop using custom chai-bignumber fork
2017-07-11 13:17:27 -07:00
Leonid
2ab2ad5902
Merge pull request #103 from 0xProject/jsonschema-types
...
Jsonschema types
2017-07-11 13:16:02 -07:00
Leonid
5506f7a240
Add the source for the schema
2017-07-11 13:14:23 -07:00
Leonid Logvinov
c832cc35cc
Use custom Schema types
2017-07-11 10:51:22 -07:00
Leonid Logvinov
232bf22af6
Add jsonschema Schema declaration
2017-07-11 10:49:29 -07:00
Fabio Berger
2a15fe0ffe
Merge pull request #101 from 0xProject/new-contracts
...
Migrate to using a new Exchange contract
2017-07-11 00:33:54 -07:00
Fabio Berger
56bedf724f
Merge branch 'new-contracts'
...
* new-contracts: (29 commits)
Fix a typo
Fix a typo in comment
Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance
Simplify BigNumber hack
use yarn on CI
Upgrade to a new node version
Make CONTRACTS_COMMIT_HASH a string
Use never testrpc snapshot
Migrate the rest of the artifacts
Change arguments order at isRoundingError
Migrate events
Migrate constructor arguments
Migrate fillOrKillOrder
Migrate ZRX_TOKEN_AMOUNT
Migrate getUnavailableTakerTokenAmount
Migrate PROXY_CONTRACT
Migrate batchFillOrKillOrders
Migrate batchFillOrders
Migrate fillOrder
Migrate fillOrdersUpTo and remove min
...
2017-07-11 00:30:55 -07:00
Leonid Logvinov
054843d599
Fix a typo
2017-07-11 00:30:14 -07:00
Leonid Logvinov
e54e9dfa2c
Fix a typo in comment
2017-07-11 00:30:14 -07:00
Leonid Logvinov
987d7a7d8a
Rename shouldCheckTransfer to shouldThrowOnInsufficientBalanceOrAllowance
2017-07-11 00:30:14 -07:00
Leonid Logvinov
183ea1b33d
Simplify BigNumber hack
2017-07-11 00:30:14 -07:00
Leonid Logvinov
994b51590f
use yarn on CI
2017-07-11 00:30:14 -07:00
Leonid Logvinov
4fb2b5cf2b
Upgrade to a new node version
2017-07-11 00:30:14 -07:00
Leonid Logvinov
e7bb280d67
Make CONTRACTS_COMMIT_HASH a string
2017-07-11 00:30:14 -07:00
Leonid Logvinov
3d974854bc
Use never testrpc snapshot
2017-07-11 00:30:14 -07:00
Leonid Logvinov
48314941bd
Migrate the rest of the artifacts
2017-07-11 00:30:14 -07:00
Leonid Logvinov
23ca4047f3
Change arguments order at isRoundingError
2017-07-11 00:30:14 -07:00
Leonid Logvinov
a8c9945a0f
Migrate events
2017-07-11 00:30:14 -07:00