Lawrence Forman
01574c5a87
@0x/contracts-exchange
: Update changelog
2019-07-23 15:53:24 -07:00
Lawrence Forman
42f7b7cc19
@0x/contracts-exchange
: Always check OrderValidator
and WalletOrderValidator
signature types on every fill
...
`@0x/contracts-exchange`: Add `validatorAddress` field to `SignatureValidatorError` and `SignatureOrderValidatorError` rich reverts
`@0x/contracts-exchange`: Add separate `SignatureOrderValidatorNotApprovedError` for `OrderValidator` signatures
`@0x/contracts-exchange`: Consolidate Wallet and Validator test contracts into a single configurable `TestValidatorWallet` contract.
`@0x/contracts-exchange`: Rewrite many tests in `signature_validator.ts` for brevity.
2019-07-23 15:53:24 -07:00
Lawrence Forman
5f8ebc3601
@0x/base-contract
: Make PromiseWithTransactionHash
fully compatible with regular Promise
types.
...
`@0x/contracts/exchange` Make `OrderValidator` and `WalletOrderValidator` signature types checked for every fill (not just first)'
2019-07-23 15:53:24 -07:00
Amir Bandeali
d73f7beb2f
Fix StaticCallProxy Exchange integration tests
2019-07-23 15:52:20 -07:00
Amir Bandeali
4f6f126952
Fix build
2019-07-23 15:52:20 -07:00
Amir Bandeali
0099cdd6ad
Update comments and add a catch-all else in getSimulatedOrderTransferResults function
2019-07-23 15:52:20 -07:00
Amir Bandeali
2b7114b704
Update CHANGELOGs
2019-07-23 15:52:20 -07:00
Amir Bandeali
2041d0d000
Add fillOrder transfer ordering tests
2019-07-23 15:52:20 -07:00
Amir Bandeali
698f313b73
Reorder matchOrder transfers and remove redundant checks
2019-07-23 15:52:20 -07:00
Amir Bandeali
1940458306
Add tests for OrderTransferSimulationUtils
2019-07-23 15:52:20 -07:00
Amir Bandeali
983def2bbd
Add OrderTransferSimulationUtils
2019-07-23 15:52:20 -07:00
Amir Bandeali
9213bf47ae
Swap ordering of transfers in fills and remove redundant checks
2019-07-23 15:52:20 -07:00
Amir Bandeali
f01743e27c
Add tests for simulateTransferFromCalls
2019-07-23 15:52:20 -07:00
Amir Bandeali
9be58972a0
Add MixinTransferSimulator
2019-07-23 15:52:20 -07:00
James Towle
a1a6c3e40c
Updated the DivisionByZeroError to not use assembly
2019-07-23 15:52:20 -07:00
James Towle
a2b19a1b9d
Updated DivisionByZero error
2019-07-23 15:52:20 -07:00
James Towle
4d1a942e79
Removed unnecessary files and code
2019-07-23 15:52:20 -07:00
James Towle
eb4afa8f2c
Update contracts/exchange-libs/contracts/src/interfaces/IMixinLibMathRichErrors.sol
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com >
2019-07-23 15:52:20 -07:00
James Towle
468bbea44d
Update contracts/exchange-libs/contracts/src/interfaces/IMixinLibMathRichErrors.sol
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com >
2019-07-23 15:52:20 -07:00
James Towle
b75aa02b0d
Update contracts/exchange/test/internal.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com >
2019-07-23 15:52:20 -07:00
James Towle
a39f93bcff
Update contracts/exchange/test/internal.ts
...
Co-Authored-By: Lawrence Forman <lawrence@0xproject.com >
2019-07-23 15:52:20 -07:00
James Towle
e229d2d59f
Updated tests to work with LibMathRichErrors
2019-07-23 15:52:20 -07:00
James Towle
3d58dc2a50
Added RichReverts to exchange-libs
2019-07-23 15:51:43 -07:00
James Towle
0395188aed
Updated any remaining contracts using 0.5.5 to 0.5.9
2019-07-23 15:51:43 -07:00
James Towle
4e6dd1b213
Updated the style
2019-07-23 15:51:43 -07:00
James Towle
a46b13967a
Refactored the SafeMath errors
2019-07-23 15:51:43 -07:00
James Towle
e916daf5fd
Ran yarn prettier
2019-07-23 15:51:43 -07:00
James Towle
fad9dae9bb
Fixed the exchange unit tests
2019-07-23 15:51:43 -07:00
James Towle
83bd5f5561
Fixed the last broken test in asset-proxy
2019-07-23 15:51:43 -07:00
James Towle
0ddb9f8923
Added a linting command for slower computers
2019-07-23 15:51:43 -07:00
James Towle
03ea97734c
Ran yarn prettier
2019-07-23 15:51:43 -07:00
James Towle
b7adf59ed5
Fixed any lingering style issues
2019-07-23 15:51:43 -07:00
James Towle
666b992c51
Readded Underflow RichErrors to asset-proxy
2019-07-23 15:51:43 -07:00
James Towle
56d5e9c889
Fixed the build issues in exchange
2019-07-23 15:51:43 -07:00
James Towle
aa36ebf4f2
Removed RichErrors from the erc1155 test in Authorizable
2019-07-23 15:51:43 -07:00
James Towle
de60123ec7
Updated the combanatorial tests to use RichErrors
2019-07-23 15:51:43 -07:00
James Towle
cf3790c2f8
Updated the erc1155 tests in asset-proxy to use RichErrors
2019-07-23 15:51:43 -07:00
James Towle
b7bac3abf6
Updated the asset-proxy tests to use RichErrors
2019-07-23 15:51:43 -07:00
James Towle
f4551dd1e5
Updated the exchange tests to use RichErrors
2019-07-23 15:51:43 -07:00
James Towle
b3da4bb5b7
Updated the erc1155 tests to expect RichErrors
2019-07-23 15:51:43 -07:00
James Towle
6e4b6929d2
Added RichErrors to SafeMath
2019-07-23 15:51:43 -07:00
James Towle
a0602c8863
Added RichErrors to Ownable
2019-07-23 15:51:43 -07:00
James Towle
55246c5d87
Removed unnecessary import
2019-07-23 15:51:43 -07:00
James Towle
81ee577407
Updated naming in MixinTransactions
2019-07-23 15:51:43 -07:00
James Towle
55e1045000
Added a comment about inheritance in the exchange
2019-07-23 15:51:43 -07:00
James Towle
fc96df63fd
Fixed most of the nits
2019-07-23 15:51:43 -07:00
James Towle
9b787a6bc2
Removed enums from Mixins in the coordinator package
2019-07-23 15:51:43 -07:00
James Towle
201dc7c28d
Removed events from the Mixins in asset-proxy
2019-07-23 15:51:43 -07:00
James Towle
5189fa6483
Fixed the inheritance hierarchy
2019-07-23 15:51:43 -07:00
James Towle
1992478cee
Updated the mixins
2019-07-23 15:51:43 -07:00