Jacob Evans
2da705e81c
Forwarder specify the revert reasons
2018-07-06 18:09:56 +10:00
Jacob Evans
a0601cd052
Forwarder fix linter error
2018-07-06 17:44:17 +10:00
Jacob Evans
ed2c06508b
Update to new assertions
2018-07-06 17:43:15 +10:00
Jacob Evans
03b3d74748
Merge pull request #522 from 0xProject/feature/contracts/forwarder
...
Forwarding contract
2018-07-06 16:29:56 +10:00
Jacob Evans
0557d6a9bf
Forwarding contract (squashed commits)
2018-07-06 15:30:07 +10:00
Alex Shafranovich
f21b042ed1
Contracts 2.0.0 were linted with solhint
2018-07-05 21:01:14 +03:00
Alex Shafranovich
d8c7c9803c
Added Solhint package and 'lint-contracts' npm script
2018-07-05 20:58:52 +03:00
Fabio Berger
8adc6f0faa
merge v2-prototype
2018-07-04 16:35:49 +02:00
Fabio Berger
a5653337c1
Remove unused imported Web3.js
2018-07-03 23:36:14 +02:00
Alex Browne
dc956020ef
Move NodeType caching out of web3-wrapper and into our internal code
2018-07-03 12:57:11 -07:00
Alex Browne
d2ebf4a777
Add TransactionReceiptStatus type to ethereum-types
2018-07-03 10:49:35 -07:00
Alex Browne
5b64b3ea93
Improve robustness of revert reason assertions
2018-07-02 18:57:33 -07:00
Fabio Berger
50957e1d29
Update incorrect versions of deps
2018-07-02 16:04:48 +02:00
Fabio Berger
d861caca23
Fix bug where 18 decimal tokens instead of 5 decimal tokens created
2018-07-02 12:31:02 +02:00
Fabio Berger
af1e4574a8
Disable custom-no-magic-number for block
2018-07-02 11:39:07 +02:00
Fabio Berger
7b806fe84d
Remove unused variable
2018-07-02 11:18:48 +02:00
Fabio Berger
de9f0732a0
Merge branch 'v2-prototype' into fix/five_decimal_scenario
...
* v2-prototype: (75 commits)
Update relayer grid tiles to use Text
Fix build
Update file structure
Update 2.0.0 artifacts
Move ledgerhq module declarations to typescript-typings
Export LedgerEthereumClient type in subproviders
Update artifacts
Add logging and updated artifacts
Fix migrations
Run prettier
Add Kovan artifacts
Use ledger subprovider
Add Kovan migrations
Remove state variable from Link component in Portal
Make registerAssetProxy append only
Update staging api link
Change getTransactionReceipt to awaitTransactionMined
Move /docs route to the end
Remove extra call to scrollIntoView for wallet in onboarding
Update expectRevertReasonOrAlwaysFailingTransactionAsync to check status codes
...
2018-07-02 11:12:01 +02:00
Fabio Berger
20acdbf6c3
Add commented out scenarios not run by default
2018-07-02 11:01:15 +02:00
Fabio Berger
6a6d2f73a8
Fix comment
2018-07-02 11:00:32 +02:00
Fabio Berger
018a437d62
Print out entire orderFill scenario
2018-07-02 10:51:28 +02:00
Fabio Berger
32d75b6483
Transfer ERC721 token instead of burning, so we can still set an allowance to it in tests
2018-07-02 10:50:48 +02:00
Fabio Berger
cb6cace910
Fix bug where using nullAddress for order instead of actual taker address
2018-07-02 10:49:41 +02:00
Fabio Berger
0326ddd79d
Add maker and taker balance/allowance scenarios to generateFillOrderCombination
2018-07-02 10:48:59 +02:00
Amir Bandeali
41064adc66
Fix build
2018-06-29 18:20:44 -07:00
Amir Bandeali
2fcc36bbad
Update file structure
2018-06-29 18:05:40 -07:00
Amir Bandeali
d4852092b8
Make registerAssetProxy append only
2018-06-29 16:25:16 -07:00
Amir Bandeali
1e4c3ed22b
Change getTransactionReceipt to awaitTransactionMined
2018-06-29 15:21:00 -07:00
Alex Browne
6cf39896f1
Update expectRevertReasonOrAlwaysFailingTransactionAsync to check status codes
2018-06-29 13:46:42 -07:00
Amir Bandeali
44b6adaa29
Fix deployment to geth
2018-06-29 13:33:22 -07:00
Amir Bandeali
762a6199b2
Fix tests
2018-06-29 13:33:22 -07:00
Amir Bandeali
8da42b12f4
Remove transferFrom, implement in fallback function
2018-06-29 13:33:22 -07:00
Amir Bandeali
50556e2609
Merge pull request #774 from 0xProject/style/contracts/abiEncodeAsmComments
...
Added some comments for ASM hashing
2018-06-29 11:41:23 -07:00
Greg Hysen
46d79e5115
Updated hashing comments as-per PR
2018-06-28 15:41:06 -07:00
Fabio Berger
4fe6269043
Remove unused constants
2018-06-28 10:45:28 +02:00
Fabio Berger
646927962a
Reduce the userAddresses to the individual addresses actually used by tests, as well as only deploy the number of ERC20 tokens needed for each test suite
2018-06-28 10:43:37 +02:00
Fabio Berger
b56baefaa6
Add await time constant
2018-06-28 09:34:13 +02:00
Fabio Berger
f49a507297
Add missing awaitTransactionSuccessAsync calls
2018-06-28 09:13:56 +02:00
Fabio Berger
c308359f59
Merge branch 'v2-prototype' into feature/combinatorial-testing
...
* v2-prototype:
Improve 'web3-provider-engine' typings
Fix build
Update artifacts
Add more revert reasons to tests
Make dispatchTransferFrom revert with reason from AssetProxy on failure
Remove redundant files, hard code function selector in dispatchTransferFrom, and modify revert reason
Updated offset of receiverData length to reflect new assetData encoding.
ERC20 Custom storage layout
Golf the authorization check
ERC20 manual memory layout
ERC20 inline return
ERC721 inline return
Golf ERC721 transferFrom
Inline ERC20 tranferFrom selector constant
Optimize ERC20 transferFrom
Polish asset picker layout
Update relayer grid fallback icon
Change metamask install link based on browser
Use ethereumjs-tx@1.3.5 instead of our fork
# Conflicts:
# packages/contracts/test/asset_proxy/proxies.ts
# packages/contracts/test/exchange/core.ts
# packages/migrations/artifacts/2.0.0/DummyERC721Token.json
2018-06-27 10:59:37 +02:00
Fabio Berger
375d667144
Move combinatorial fillOrder tests into the fill_ordere
test file
2018-06-27 10:43:12 +02:00
Amir Bandeali
ec3e9efdaa
Fix build
2018-06-26 18:30:20 -07:00
Amir Bandeali
7f233dcb15
Add more revert reasons to tests
2018-06-26 17:34:43 -07:00
Fabio Berger
6a2421c683
Fix tests
2018-06-26 23:17:29 +02:00
Amir Bandeali
b6d8dcb6e1
Make dispatchTransferFrom revert with reason from AssetProxy on failure
2018-06-26 13:57:55 -07:00
Amir Bandeali
08ee1ab2e6
Remove redundant files, hard code function selector in dispatchTransferFrom, and modify revert reason
2018-06-26 13:57:51 -07:00
Greg Hysen
873ec898d8
Updated offset of receiverData length to reflect new assetData encoding.
2018-06-26 12:23:19 -07:00
Remco Bloemen
97a70d14a3
ERC20 Custom storage layout
2018-06-26 12:23:19 -07:00
Remco Bloemen
394fbebfa8
Golf the authorization check
2018-06-26 12:23:19 -07:00
Remco Bloemen
b79588c4a0
ERC20 manual memory layout
2018-06-26 12:23:19 -07:00
Remco Bloemen
3b46e82625
ERC20 inline return
2018-06-26 12:23:19 -07:00
Remco Bloemen
dbaf1fcd43
ERC721 inline return
2018-06-26 12:23:19 -07:00