Xianny
6a852ab0ed
Replace assetDataUtils with DevUtilsContract wherever possible ( #2304 )
...
* Replace assetDataUtils with DevUtilsContract wherever possible
Does not replace from @0x/instant and some @0x/order-utils uses
* Add revertIfInvalidAssetData to LibAssetData
This is needed to replace `assetDataUtils.decodeAssetDataOrThrow`.
Because it's used in packages and not only contracts, we should wait
to deploy the updated contract so we can update `@0x/contract-artifacts`,
`@0x/abi-gen-wrappers`, and `@0x/contract-wrappers` first.
* remove usages of signatureUtils
* fix test for optimised encoding
* refactor @0x/contracts-integrations
* update changelogs
* Move @0x/contracts-dev-utils from devDependencies to dependencies
It is exported as part of the package
2019-11-06 19:40:20 -08:00
Amir Bandeali
87906a3af1
Add test for improperly padded assetData
2019-10-04 18:05:20 -07:00
Alex Towle
13d5a5e2ec
@0x:contracts-exchange
Added a test to ensure that registerAssetProxy
will fail for non-contract proxies
2019-08-28 16:24:36 -07:00
Amir Bandeali
020e7609c3
Add assetProxyId param to AssetProxyExistsError
2019-08-25 17:06:37 -07:00
Michael Zhu
00e87864b1
remove from != to check and update tests
2019-08-21 13:07:59 -07:00
Alex Towle
22c8a25a26
Merge branch 'development' into 3.0
2019-08-19 11:13:21 -07:00
Alex Towle
e9d49d96a6
Changed the testing style to be more assertion based rather than reference based to leverage the fixtures from the integration tests
2019-08-13 17:04:25 -07:00
Alex Towle
8c5c81fe70
Change all instances of throw to revert in it tests
2019-08-01 15:13:16 -07:00
Greg Hysen
d8cf9d54aa
Updated all instances of deployFrom0xArtifactAsync
2019-07-29 12:07:28 +02:00
Greg Hysen
df746c5ff4
Decode log arguments in awaitTransactionSuccessAsync
, when ABI is recognized.
2019-07-29 12:04:37 +02:00
Amir Bandeali
f01743e27c
Add tests for simulateTransferFromCalls
2019-07-23 15:52:20 -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
f4551dd1e5
Updated the exchange tests to use RichErrors
2019-07-23 15:51:43 -07:00
Amir Bandeali
3e461ac2e5
Rename internal and private functions
2019-07-23 15:21:14 -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
Amir Bandeali
22af796302
Cleanup
2019-03-07 19:36:26 -08: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
Leonid Logvinov
6943bbcacb
Temp
2019-02-04 10:38:02 +01:00
Amir Bandeali
0758f231e2
Split tokens package into erc20 and erc721
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