Remco Bloemen
63014aeb6b
Add tests for word loop iteration
2018-06-07 15:38:48 -07:00
Remco Bloemen
31e21db5b5
Add test for zero-size overlap
2018-06-07 15:38:48 -07:00
Remco Bloemen
7f21872510
Add test cases
2018-06-07 15:38:47 -07:00
Remco Bloemen
27351c9a90
Cleanup test script
2018-06-07 15:38:47 -07:00
Remco Bloemen
76b918d40e
Convert Solidity tests to vectors
2018-06-07 15:38:47 -07:00
Remco Bloemen
f5bc0b205c
Generate tests from vectors
2018-06-07 15:38:47 -07:00
Greg Hysen
b3c253ea2a
Tests for writing bytes to nested bytes
2018-06-07 15:38:47 -07:00
Greg Hysen
842363200b
Tons of tests around nested byte arrays and ERC721 receiver
2018-06-07 15:38:42 -07:00
Greg Hysen
d9f9895b2b
Test for onReceived erc721 callback
2018-06-07 15:37:42 -07:00
Greg Hysen
bc0edd4042
LibAssetProxyDecoder tests
2018-06-07 15:36:18 -07:00
Greg Hysen
9b82e2df58
Foundation for TestLibAssetProxyDecoder
2018-06-07 15:36:18 -07:00
Greg Hysen
3d65341080
Tests for libMem
2018-06-07 15:36:18 -07:00
Alex Browne
0ddaabe377
Add missing awaitTransactionSuccessAsync calls
2018-06-07 14:46:03 -07:00
Fabio Berger
20f9318597
Merge branch 'v2-prototype' into feature/combinatorial-testing
...
* v2-prototype:
Fix linter issue
Fix linter issue
Fix tslint issues
Fix missing paths
Fixed path
Use source-map-support package to include correct line numbers in mocha
move generated contract wrappers from `contract_wrappers/generated/` to `generated_contract_wrappers` in package with no non-generated contract wrappers
2018-06-07 21:45:48 +02:00
Fabio Berger
18ed45597a
Fix tslint issues
2018-06-07 18:58:51 +02:00
Fabio Berger
b646c84414
Merge branch 'fix/order-utils/remaining-v2-changes' into feature/combinatorial-testing
...
* fix/order-utils/remaining-v2-changes:
Fix tslint failure
Pass in fee and assetAmount rather then the whole signedOrder
2018-06-07 18:52:14 +02:00
Fabio Berger
a200eaacaa
Fix tslint failure
2018-06-07 18:51:52 +02:00
Fabio Berger
4f4acc04fe
Fix missing paths
2018-06-07 18:14:35 +02:00
Fabio Berger
ab5e021bda
POC: Generates an order from spec, get's the amount fillable
2018-06-07 18:00:13 +02:00
Fabio Berger
bd3b652cfc
Fixed path
2018-06-07 13:15:13 +02:00
Fabio Berger
73429fc720
merge v2-prototype
2018-06-07 12:27:03 +02:00
fragosti
e0d5b9daf8
Merge branch 'v2-prototype' of https://github.com/0xProject/0x-monorepo into feature/improve-linting
2018-06-06 16:36:11 -07:00
Alex Browne
643c77ded0
Apply prettier
2018-06-06 13:28:32 -07:00
Alex Browne
76f01511a3
Update contracts tests after rebase
2018-06-06 13:10:59 -07:00
Alex Browne
dd8727d3ae
Apply various fixes based on PR feedback
2018-06-06 12:41:15 -07:00
Alex Browne
167a38e27d
Add Async suffix to relevant assertions
2018-06-06 12:41:14 -07:00
Alex Browne
ba6806df5d
Fix linter errors
2018-06-06 12:41:14 -07:00
Alex Browne
d6d7f4e875
Update more things to work with both Geth and Ganache
2018-06-06 12:40:31 -07:00
Alex Browne
63caddea62
Small fixes and cleanup
2018-06-06 12:40:31 -07:00
Alex Browne
36b01fbdcf
Add additional gas to calls to fillOrderNoThrow
2018-06-06 12:40:31 -07:00
Alex Browne
bca62c813d
Throw in web3-wrapper when rawCallResult is '0x'
2018-06-06 12:40:30 -07:00
Alex Browne
577a8dd005
Fix some more test cases, especially those that call increaseTime
2018-06-06 12:40:30 -07:00
Alex Browne
2dfc468094
Update more tests to pass on Geth
2018-06-06 12:40:30 -07:00
Alex Browne
98ffe9931d
Get LibBytes tests working on both Ganache and Geth
2018-06-06 12:40:30 -07:00
Alex Browne
cd7cb025ad
Update exchange/transactions tests for Geth error messages
2018-06-06 12:39:43 -07:00
Alex Browne
31c98fc0db
Update some tests after rebase
2018-06-06 12:39:43 -07:00
Alex Browne
00bf957b53
Add more transactions to Geth on init. Skip tests that are failing.
2018-06-06 12:39:43 -07:00
Alex Browne
1cc9d9c071
Replace constant.REVERT test assertions with expectRevertOrAlwaysFailingTransaction
2018-06-06 12:39:42 -07:00
Alex Browne
72fb8460e9
Update code after rebase
2018-06-06 12:39:42 -07:00
Alex Browne
577156fe5f
Use Geth for contract tests
2018-06-06 12:39:39 -07:00
Fabio Berger
cb754ee125
move generated contract wrappers from contract_wrappers/generated/
to generated_contract_wrappers
in package with no non-generated contract wrappers
2018-06-06 15:39:38 +02:00
Jacob Evans
a59e9f024e
Update Order utils to use eip712
2018-06-05 14:08:04 -07:00
fragosti
59cb2132f2
Linter now passes
2018-06-05 11:46:05 -07:00
Jacob Evans
4670cc1a5f
Add missing EIP191 prefix for EIP712
2018-06-04 17:41:00 -07:00
Jacob Evans
351173e554
Rebase from v2-prototype
2018-06-04 16:55:22 -07:00
Amir Bandeali
342432dc76
Update Exchange statuses, revert instead of emmitting event on fill/cancel failures, and remove redundant logic in matchOrders
2018-06-04 15:55:28 -07:00
Fabio Berger
7024a7468a
Improve comments and remove unused imports
2018-06-01 17:02:54 -07:00
Fabio Berger
324fab8186
Fix tslint issues
2018-06-01 14:12:18 -07:00
Fabio Berger
b7b45b69a6
Merge branch 'v2-prototype' into refactor/order-utils/for-v2
...
* v2-prototype: (33 commits)
Only show ProviderDisplay in portal
Improve sol-cov docs
Remove old parse code
Refactor order parser and add shared order support to new portal
Add generate and fill order routes
Address feedback
Override ethereumjs-tx version
Fix missing key
Update placeholder param ordering
Change userEtherBalanceInWei to optional so we can know if its loading
Add loading state to ProviderDisplay
Tweaks
Add Placeholder component
Add StandardIconRow
Split render into loading and loaaded
Fix linter errors
Fix linter errors
Add ethereum-types to extraFileIncludes
Introduce ethereum-types package
Remove merge conflicts from yarn.lock
...
# Conflicts:
# packages/contracts/src/utils/exchange_wrapper.ts
# packages/contracts/src/utils/match_order_tester.ts
# packages/contracts/src/utils/types.ts
# packages/contracts/test/exchange/core.ts
# packages/contracts/test/exchange/match_orders.ts
# packages/contracts/test/libraries/lib_bytes.ts
# packages/sol-cov/package.json
2018-06-01 13:05:17 -07:00
Fabio Berger
fcc627e6e1
fix method rename
2018-05-31 16:12:36 -07:00