mzhu25
59a38a8db0
Merge pull request #2269 from 0xProject/refactor/balance-stores
...
BalanceStore++
2019-10-18 09:01:33 -07:00
Michael Zhu
b45ec47eee
address comments
2019-10-17 19:53:43 -07:00
Michael Zhu
ffac52f42e
lint
2019-10-16 20:19:04 -07:00
Michael Zhu
cde0169733
Update BlockchainBalanceStore to not rely on erc*_wrappers + better balance equality assertions
2019-10-16 18:46:55 -07:00
Xianny
0e90b0e7d0
Make wrappers small again ( #2243 )
...
* introduce --debug option to abi-gen and remove debug functions from @0x/abi-gen-wrappers
* make evmExecAsync protected; ignore deployedBytecode in doc comment
* trim deployedBytecode so it's undefined unless a contract has pure functions
* remove validateAndSendTransactionAsync
* Create `AwaitTransactionSuccessOpts` and `SendTransactionOpts` types
* Remove duplicate types `IndexedFilterValues`, `DecodedLogEvent`, `EventCallback` from `@0x/base-contract`
2019-10-16 09:38:34 -07:00
Amir Bandeali
b5545255d0
Merge pull request #2245 from 0xProject/fix/3.0/validate-assetdata
...
Enforce assetData is padded to 32 bytes
2019-10-10 10:55:22 +09:00
Amir Bandeali
8b695f9b98
Fix race condition in tests
2019-10-08 09:12:37 +09:00
Amir Bandeali
d914f6fce9
Test for failure with bad signature after partial fill
2019-10-08 09:12:37 +09:00
Michael Zhu
cf517b1459
appease static tests
2019-10-06 12:44:58 -07:00
Michael Zhu
c17984b74f
Refactor integration tests (CoordinatorTestFactory)
2019-10-06 12:44:58 -07:00
Amir Bandeali
87906a3af1
Add test for improperly padded assetData
2019-10-04 18:05:20 -07:00
Alex Towle
24e4567b25
@0x:contracts-integration-tests
Added an integration-tests package and a deployment manager class
2019-10-03 19:41:51 -07:00
Amir Bandeali
27c039d51c
Fix deployment and configuration tests
2019-10-01 21:44:43 -07:00
Michael Zhu
e954e9ca20
update tests
2019-09-30 21:51:34 -07:00
James Towle
c4b621e44d
Merge pull request #2215 from 0xProject/feature/staking/end-to-end/deployment-test
...
End-to-end Deployment Test
2019-09-30 19:42:41 -07:00
Alex Towle
6ca8edbf19
@0x:contracts-exchange
Moved the deployment test to the exchange and addressed other review comments
2019-09-30 17:25:31 -07:00
fragosti
f0e0f08e0c
Run linter and prettier
2019-09-25 18:44:19 -07:00
fragosti
8ba38b9b29
Remove the OrderWithoutDomain type
2019-09-25 18:44:19 -07:00
fragosti
9870f55d24
Remove domain from Order type
2019-09-25 18:44:19 -07:00
Amir Bandeali
0bc4b50818
Add codesize tests
2019-09-24 13:36:54 -07:00
Amir Bandeali
ae75aed55e
Change verifyingContractAddress -> verifyingContract everywhere
2019-09-23 16:00:37 -07:00
Amir Bandeali
bb46f184ed
Remove use of generatePseudoRandomAddress in favor of randomAddress
2019-09-17 10:46:58 -07:00
Amir Bandeali
67ef17f929
Consolidate TransactionSignatureError with SignatureError
2019-09-08 18:55:42 -07:00
Amir Bandeali
0e96a1c8ba
Remove restrictions that maker/takerAssetData must be the same for each order in marketBuy/Sell functions
2019-09-06 14:34:16 -07:00
Amir Bandeali
90ac5ec577
Fix tests
2019-09-03 20:11:48 -07:00
Amir Bandeali
cb8cf1f107
Add back batchFillOrders
2019-09-03 11:06:45 -07:00
Amir Bandeali
ea8669439f
Minor styling and naming changes
2019-09-03 09:48:21 -07:00
Amir Bandeali
75a8b1c081
Use same taker numerator/denominator for all math in calculateFillResults
2019-09-03 09:48:16 -07:00
Amir Bandeali
73144fa4d5
Fix _setCurrentContextAddressIfRequired
2019-09-02 20:35:20 -07:00
Amir Bandeali
48dfb3317a
Fix tests
2019-09-02 14:36:27 -07:00
Amir Bandeali
b3b0496c49
Fix build and linting errors
2019-09-02 11:41:13 -07:00
Amir Bandeali
e880447714
Refactor EIP1271Wallet and Validator types to use new EIP1271SignatureError
2019-09-02 11:38:52 -07:00
Amir Bandeali
fd4d10e7a4
Create EIP1271SignatureError rich revert
2019-09-02 11:37:39 -07:00
Amir Bandeali
18b65a61ff
Fix build
2019-09-01 19:14:16 -07:00
Amir Bandeali
d131c39e46
Create _setCurrentContextAddressIfRequired function in MixinTransactions
2019-09-01 18:31:46 -07:00
Amir Bandeali
c0f1e5f17f
Make fillOrderNoThrow internal only, remove batchFillOrders
2019-09-01 12:22:00 -07:00
Amir Bandeali
b888e48a30
Remove getOrdersInfo
2019-09-01 11:24:16 -07:00
Amir Bandeali
d0869a8840
Fix linting errors
2019-08-30 11:39:28 -07:00
Amir Bandeali
c156bfc534
Remove TestValidatorWallet DataType
2019-08-30 11:39:28 -07:00
Amir Bandeali
87c9f9af71
Remove example contracts
2019-08-30 11:37:40 -07:00
Alex Towle
2c1393fb09
@0x:contracts-exchange
Addressed lingering review comments
2019-08-29 23:50:48 -07:00
Alex Towle
dba0d8469d
@0x:contracts-exchange
Addressed review feedback
2019-08-29 15:20:52 -07:00
Alex Towle
75e6c45285
@0x:contracts-exchange
Added the tests for getOrdersInfo
back into the exchange
2019-08-28 17:02:43 -07:00
Alex Towle
e64e0d7421
@0x:contracts-exchange
Added getOrdersInfo
back into the exchange
2019-08-28 16:42:29 -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
Alex Towle
df4282fb34
Fixed issues after rebase
2019-08-28 15:50:23 -07:00
Alex Towle
861aebb2e3
@0x:contracts-exchange
Refactored the protocol fee tests and added tests for batchFillOrders
2019-08-28 15:08:40 -07:00
Alex Towle
cc7b8359b4
@0x:contracts-exchange
Added tests for matchOrders protocol fees
2019-08-28 15:05:33 -07:00
Alex Towle
dd0d848530
@0x:contracts-exchange
Added tests for fillOrder protocol fees
2019-08-28 15:05:33 -07:00
Alex Towle
7f17033ce3
@0x:contracts-exchange
Added protocol fees to fillOrders and matchOrders
2019-08-28 15:05:13 -07:00