Alex Towle
22c8a25a26
Merge branch 'development' into 3.0
2019-08-19 11:13:21 -07:00
Lawrence Forman
c83864af9c
@0x/contracts-exchange
: Fix broken tests.
...
`@0x/contracts-test-utils`: Remove unecessary wait timeout in
`LogDecoder`.
2019-08-09 22:15:33 -04:00
Lawrence Forman
a2234b745c
@0x/contracts-exchange
: Create semi-automated reentrancy testing.
...
`@0x/contracts-exchange`: Remove old reentrancy tests.
`@0x/contracts-exchange`: Remove `ReentrantERC20Token` contract.
2019-08-09 22:15:33 -04:00
Lawrence Forman
898213bb85
@0x/contracts-exchange
: Update tests for moved types.
2019-08-06 15:30:30 -04:00
Greg Hysen
df746c5ff4
Decode log arguments in awaitTransactionSuccessAsync
, when ABI is recognized.
2019-07-29 12:04:37 +02:00
Lawrence Forman
d6ba03916a
@0x/contracts-exchange
: Update tests for new/consolidated signature types.
...
`@0x/contracts-exchange`: Update `Whitelist` example for new signature types.
2019-07-23 15:53:24 -07:00
Lawrence Forman
7a0dc7a364
@0x/contracts-exchange
: Add isValidHashSignature()
back.
...
`@0x/contracts-exchange`: Remove references to removed signature types and associated functions.
2019-07-23 15:53:24 -07:00
Amir Bandeali
589b791cd7
Add names to return values and fix breaking transactions tests
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
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
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
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
8aa3b535f0
@0x/contracts-exchange
: Update fill order tests for arbitrary fee tokens. (Still more to do)
2019-07-23 15:23:40 -07:00
Amir Bandeali
6b40812e6d
Fix incorrect CancelUpTo event args
2019-07-23 15:21:14 -07:00
Lawrence Forman
46af2ffcea
In @0x/contracts-exchange
: Merge new transaction tests from rebase.
2019-07-23 15:21:14 -07:00
Amir Bandeali
f1a78682aa
Add batch fill method tests
2019-07-23 15:21:14 -07:00
Amir Bandeali
dc4bfde76d
Fix linting errors
2019-07-23 15:21:14 -07:00
Amir Bandeali
e717625f86
Add batchExecuteTransactions tests
2019-07-23 15:21:14 -07:00
Amir Bandeali
41444e7ede
Refactor transaction tests to iclude more combinations and to cover all revert cases
2019-07-23 15:21:14 -07:00
Lawrence Forman
a7fe47f295
In @0x/contracts-exchange
: Add SignatureWalletError
and SignatureValidatorError
rich reverts.
...
In `@0x/contracts-exchange`: Change `AssetProxyTransferError` to accept a `revertData` bytes instead of a `revertReason` string.
In `@0x/contracts-exchange`: Aadd `contracts/test/TestRevertReceiver.sol` for testing that validator/wallet reverts are properly wrapped.
2019-07-23 15:17:57 -07:00
Lawrence Forman
cfa8796b18
In @0x/contracts-exchange
: Fix line count linter error.
2019-07-23 15:17:57 -07:00
Lawrence Forman
3c88ede02c
In @0x/order-utils
: Add TransactionSignatureError
to ExchangeRevertErrors
.
...
In `@0x/contracts-exchange`: Add `TransactionSignatureError`, supplanting `TransactionErrorCodes.BAD_SIGNATURE`, and associated test.
2019-07-23 15:17:57 -07:00
Lawrence Forman
ac18359410
Switch order of parameters in some rich reverts for easier dirty parsing.
2019-07-23 15:17:56 -07:00
Lawrence Forman
233336ea16
Ran prettier and linter
2019-07-23 15:17:56 -07:00
Lawrence Forman
20d8c1b51a
In @0x/contracts-exchange
: Update tests for rich reverts
2019-07-23 15:17:56 -07:00
Lawrence Forman
4408604c2d
In @0x/contracts-exchange
: upgrading tests...
2019-07-23 15:17:56 -07:00
Lawrence Forman
0b38289703
Ran prettier
2019-07-23 15:08:30 -07:00
Lawrence Forman
041bf9b54e
Rename orderWithoutExchangeAddress
-> orderWithoutDomain
in contracts/exchange
tests.
2019-07-23 15:08:30 -07:00
Lawrence Forman
b8f056b82f
Update coordinator
, exchange-forwarder
, exchange-libs
, exchange
, and extensions
contract tests to use new order and transaction structure
2019-07-23 15:08:00 -07:00
Lawrence Forman
c096eae644
All glory to the linter gods.
2019-07-23 14:58:00 -07:00
Lawrence Forman
2d28fde24d
Migrate all contract-related tooling and tests to accept a chain ID in domain separators.
2019-07-23 14:58:00 -07:00
Amir Bandeali
d35a053efd
Update remaining contract Solidity versions to 0.5.5
2019-03-07 15:17:51 -08:00
Amir Bandeali
b47886416e
Unpin deps when unnecessary
2019-02-26 13:29:18 -08:00
Amir Bandeali
a394967268
Use new transaction schema throughout monorepo
2019-02-05 09:23:09 -08:00
Amir Bandeali
0758f231e2
Split tokens package into erc20 and erc721
2019-01-21 21:41:21 -08:00
Amir Bandeali
9fa8619590
Move contents of examples and interfaces packages into corresponding packages
2019-01-21 21:41:21 -08:00
Amir Bandeali
4a4c26a2e3
Split protocol package into exchange, asset-proxy, and multisig
2019-01-21 21:41:21 -08:00