James Towle
5813bb9ca8
Updated any remaining contracts using 0.5.5 to 0.5.9
2019-07-23 15:46:16 -07:00
Amir Bandeali
c48ad5c90f
Fix outdated comments
2019-07-23 15:46:16 -07:00
Amir Bandeali
4fdc1b3e19
Update CHANGELOGs
2019-07-23 15:46:16 -07:00
Amir Bandeali
dc372a43fe
Fix incorrect function call for fillOrderNoThrow test
2019-07-23 15:46:16 -07:00
Amir Bandeali
589b791cd7
Add names to return values and fix breaking transactions tests
2019-07-23 15:46:16 -07:00
Amir Bandeali
564dbea126
Remove formatters and clarify comments about pointing assetData to the same memory location
2019-07-23 15:46:16 -07:00
Amir Bandeali
1bc4bc613e
Add return value checks to wrapper tests
2019-07-23 15:46:16 -07:00
Amir Bandeali
11a25cb1ae
Return FillResults[] for batch fill methods
2019-07-23 15:46:16 -07:00
Lawrence Forman
d6c1bf691c
Reorder event assertions in transactions tests.
2019-07-23 15:46:16 -07:00
Amir Bandeali
e6443a2612
Update CHANGELOGs
2019-07-23 15:46:16 -07:00
Amir Bandeali
d79714a3cf
Fix merge conflict remnant
2019-07-23 15:46:15 -07:00
Amir Bandeali
4e2abcaefa
Fix linting errors
2019-07-23 15:46:15 -07:00
Amir Bandeali
d463d4c46b
Add transaction expiration tests
2019-07-23 15:46:15 -07:00
Amir Bandeali
435c81da98
Revert if transaction is expired
2019-07-23 15:46:15 -07:00
Amir Bandeali
4f818d55fa
Add TransactionExecution log tests
2019-07-23 15:46:15 -07:00
Amir Bandeali
c96a81e319
Fix exchange package build
2019-07-23 15:46:15 -07:00
Amir Bandeali
238877b627
Log TransactionExecution event when transaction is successfully executed
2019-07-23 15:46:15 -07:00
Lawrence Forman
95e7999e45
@0x/contracts-exchange
: Update settlement test simulators to match settlement optimizations in the Exchange.
2019-07-23 15:46:15 -07:00
Lawrence Forman
2f464ee8f0
@0x/contracts-exchange
: Fix critical error in fillOrder()
and matchOrders()
redundant transfer optimization code.
...
`@0x/contracts-exchange`: Rearrange `Fill` event params to make regular `emit` code work without breaking the stack.
`@0x/contracts-exchange`: Add edge case tests for redundant transfer optimizations.
2019-07-23 15:46:15 -07:00
Lawrence Forman
8fe9883b62
Update contracts/exchange/contracts/src/MixinMatchOrders.sol
...
`@0x/contracts-exchange`: Minor code change to save an mload.
2019-07-23 15:46:15 -07:00
Lawrence Forman
de896f9159
@0x/contracts-exchange
: Remove TODO
comment in fill_order_combinatorial_utils.ts
.
2019-07-23 15:46:15 -07:00
Lawrence Forman
a2468e8129
@0x/contracts-exchange
: Update changelog.
2019-07-23 15:46:15 -07:00
Lawrence Forman
ee89f74afd
@0x/contracts-exchange
: Avoid redundant transfer in matchOrders()
when maker/feeRecipient and takerAssetData/makerFeeAssetData are the same.
...
`@0x/conracts-exchange`: Disable combinatorial tests by default. Can be run by setting env var `TEST_ALL=1`.
2019-07-23 15:46:15 -07:00
Lawrence Forman
cd08c3e8fa
@0x/contracts-exchange
: Avoid redundant trasfer in fillOrder()
when maker/taker is the same as feeRecipient and the assets match.
...
`@0x/contracts-exchange`: Swap fill order in `fillOrder()` from maker -> taker to taker -> maker first
2019-07-23 15:46:15 -07:00
Lawrence Forman
91c27ff972
@0x/contracts-exchange
: Fix build error.
2019-07-23 15:46:15 -07:00
Lawrence Forman
07e3ba014c
@0x/contracts-exchange
: Fully incorporate ERC1155 and MultiAsset tests into the fillOrder
and matchOrders
test suites.
2019-07-23 15:46:15 -07:00
Lawrence Forman
816368b1fe
@0x/contracts-exchange
: Re-eanble all exchange tests.
...
`@0x/contracts-echange`: Set up 1155 and MAP proxies for `matchOrders()` tests.
2019-07-23 15:46:15 -07:00
Lawrence Forman
85ea291745
@0x/contracts-exchange
: Add MultiAssetProxy
, ERC1155Fungible
, and ERC1155NonFungible
combinatorial tests.
2019-07-23 15:46:15 -07:00
Lawrence Forman
518f351235
@0x/contracts-exchange
: Correct coding convention in match_orders.ts
2019-07-23 15:44:58 -07:00
Lawrence Forman
d79a07e2c4
@0x/contracts-exchange
: Fix indentation in matchOrders()
.
2019-07-23 15:44:58 -07:00
Lawrence Forman
1c8468d248
@0x/contracts-exchange
: Use function/event selectors from LibExchangeSelectors
.
...
`@0x/contracts-exchange`: Add memory map comments to `Fill` emit code.
2019-07-23 15:43:23 -07:00
Lawrence Forman
f7f55cad43
@0x/contracts-exchange
: Removed dependency on OrderValidationUtils. The tests using it didn't really warrant the full validation suite.
...
`@0x/contracts-test-utils`: Move all the `OrderScenario` related types into the `contracts-exchange` package because no one else is using them.
2019-07-23 15:43:23 -07:00
Lawrence Forman
53ff248176
@0x/contracts-exchange
: Revert internal tests.
2019-07-23 15:43:23 -07:00
Lawrence Forman
aebb923c2d
@0x/contracts-exchange
: Major rework of fill_order_combinatorial_utils
.
...
`@0x/contracts-exchange`: Add more arbitrary fee token tests.
`@0x/contracts-exchange`: Fix broken tests.
2019-07-23 15:43:23 -07:00
Lawrence Forman
d11444b983
@0x/contracts-exchange
: Fix Exchange Wrappers tests.
2019-07-23 15:26:59 -07:00
Lawrence Forman
0508a45681
@0x/contracts-echange
: Fix transactions test bug with ExchangeWrapper
example due to deduping.
2019-07-23 15:26:59 -07:00
Lawrence Forman
9d257497bd
Ran prettier and fixed linter errors
2019-07-23 15:23:40 -07:00
Lawrence Forman
79f40b4ce0
@0x/contracts-exchange
: Enable all exchange tests.
2019-07-23 15:23:40 -07:00
Lawrence Forman
1ab62b7a80
@0x/contracts-exchange
: Fix broken match orders tests
2019-07-23 15:23:40 -07:00
Lawrence Forman
d2f10d5834
@0x/contracts-exchange
: Allow custom ExchangeWrapper.matchOrders()
call in MatchOrdersTester
.
2019-07-23 15:23:40 -07:00
Lawrence Forman
c326ec9d1e
@0x/contracts-exchange
: Rewrote MatchOrderTester
class to be simpler and more flexible.
2019-07-23 15:23:40 -07:00
Lawrence Forman
26317d16ff
@0x/contracts-exchange
: Fix matchOrders()
not paying fees if same feeRecipient
but different feeAssetData
s.
2019-07-23 15:23:40 -07:00
Lawrence Forman
c84a0b8415
@0x/contracts-exchange
: Fix matchOrders
and signature tests.
2019-07-23 15:23:40 -07:00
Lawrence Forman
be5336d074
@0x/contracts-exchange
: Enable all tests.
2019-07-23 15:23:40 -07:00
Lawrence Forman
aecb2efad9
@0x/contracts-exchange
: Fix combinatorial fillOrder
test bugs.
...
`@0x/contracts-exchange`: Fix emit `Fill` event code.
2019-07-23 15:23:40 -07:00
Lawrence Forman
8c2fa64c47
@0x/contracts-exchange
: Remove dependency on LibAbiEncoder
.
2019-07-23 15:23:40 -07:00
Lawrence Forman
bca199e118
@0x/contracts-exchange
: Fix Fill
emit code.
2019-07-23 15:23:40 -07:00
Lawrence Forman
8aa3b535f0
@0x/contracts-exchange
: Update fill order tests for arbitrary fee tokens. (Still more to do)
2019-07-23 15:23:40 -07:00
Lawrence Forman
7cb6795d40
@0x/contracts-exchange-libs
: Add takerFeeAssetData
and makerFeeAssetData
to Order
struct.
2019-07-23 15:23:40 -07:00
Lawrence Forman
a5f4478e20
@0x/contracts-exchange
: Remove zrxAssetData
from constructor and remove dependency on LibConstants
.
...
`@0x/contracts-exchange`: Update `fillOrder()` and `matchOrders()` to settle arbitrary fees.
`@0x/contracts-exchange`: emit `Fill()` events the hard way to avoid a stack overflow.
2019-07-23 15:23:40 -07:00