Fabio Berger
60f5a52964
Merge branch 'v2-prototype' into fix/contract-wrappers/exchangeTransferSimulator
...
* v2-prototype:
Fix a bug in SolCompilerArtifacts adapter config overriding
Increase timeout for contract migrations
Remove some copy-paste code
Await transactions in migrations
Fix typos
Await transactions in migrations
Await fake transactions
Fix a typo
Implement SolidityProfiler & adapt sol-cov to work with Geth
# Conflicts:
# packages/migrations/CHANGELOG.json
2018-06-11 19:54:59 +02:00
Fabio Berger
89b7b56a2c
Fix tslint issues
2018-06-11 19:43:40 +02:00
Fabio Berger
ae54b13d4b
Add back artifacts file
2018-06-11 19:43:25 +02:00
Leonid Logvinov
927ccc489c
Fix a bug in SolCompilerArtifacts adapter config overriding
2018-06-11 10:28:30 -07:00
Fabio Berger
21f7722f10
Move OrderValidationUtils (+ tests) and ExchangeTransferSimulator to order-utils
2018-06-11 19:21:32 +02:00
Fabio Berger
e4afe603f9
export parseECSignature method
2018-06-11 19:15:41 +02:00
Fabio Berger
30d15a1438
Export ArtifactWriter from migrations package
2018-06-11 19:12:55 +02:00
Fabio Berger
c84586dd66
Remove unused artifact file
2018-06-11 19:12:35 +02:00
Fabio Berger
e9f87c2026
Pass in generated contract wrapper to orderValidationUtils at instantiation
2018-06-11 14:44:53 +02:00
Fabio Berger
afa27a3c2a
Refactor orderValidationUtils to use the generated contract wrapper instead of the higher-level one
2018-06-11 14:34:00 +02:00
Fabio Berger
ce6078ed94
Refactor ExchangeTransferSimulator public interface to accet an AbstractBalanceAndProxyAllowanceLazyStore so that this module could be re-used in different contexts.
2018-06-11 10:24:55 +02:00
Leonid Logvinov
6d5949ba9c
Increase timeout for contract migrations
2018-06-08 15:27:59 -07:00
Leonid Logvinov
cdb165af7f
Remove some copy-paste code
2018-06-08 14:56:46 -07:00
Leonid Logvinov
88a3f8e4aa
Await transactions in migrations
2018-06-08 14:56:46 -07:00
Leonid Logvinov
1c3dc757c3
Fix typos
2018-06-08 14:56:45 -07:00
Leonid Logvinov
25866095db
Await transactions in migrations
2018-06-08 14:56:45 -07:00
Leonid Logvinov
b6c8d8e971
Await fake transactions
2018-06-08 14:56:45 -07:00
Leonid Logvinov
ab94b0b231
Fix a typo
2018-06-08 14:56:45 -07:00
Leonid Logvinov
760bab8f86
Implement SolidityProfiler & adapt sol-cov to work with Geth
2018-06-08 14:56:45 -07:00
Greg Hysen
817c332d11
Merge pull request #627 from 0xProject/feature/contracts/erc721SafeTransferFrom
...
On-Chain AssetData Decoding Lib + safeTransferFrom for ERC721 + Memcpy
2018-06-08 11:58:23 -07:00
Greg Hysen
05fbc8e6b0
Linter changes to contracts
2018-06-08 11:43:47 -07:00
Greg Hysen
c39301b6da
Fixed assetProxyUtils for linter
2018-06-08 11:04:07 -07:00
Greg Hysen
05123ea6f4
Updated LibBytes error messages
2018-06-07 16:32:42 -07:00
Greg Hysen
d62ff34a5a
Cleanup after last rebase
2018-06-07 15:53:30 -07:00
Alex Browne
a8b8d53d9d
Run contracts tests against Geth in CI
2018-06-07 15:47:43 -07:00
Greg Hysen
0d4ff5a916
Updated tests to use new revert handler
2018-06-07 15:39:40 -07:00
Greg Hysen
8ace41d144
Minor fixes after rebase
2018-06-07 15:39:40 -07:00
Greg Hysen
5bb7219f4b
Camelcase in memCopy
2018-06-07 15:39:40 -07:00
Greg Hysen
f0200ab697
Moved some constants to global scope in assetProxyUtils
2018-06-07 15:39:40 -07:00
Greg Hysen
f457a56d4a
Style updates to contracts
2018-06-07 15:39:40 -07:00
Greg Hysen
db086de84a
Union types for generalized decodeAssetData
2018-06-07 15:39:40 -07:00
Greg Hysen
37684c6af0
Fixed a styling throughout contracts. Moved closing parenthesis for long list of function parameters to next line.
2018-06-07 15:39:40 -07:00
Greg Hysen
3c75d4f1dd
Removed setting makerAssetData/takerAssetData from tests where values are same as defaultOrderParams.
2018-06-07 15:39:40 -07:00
Greg Hysen
b19276bb0f
Fixed merge error when rebasing wrt length variable in asset data decoders
2018-06-07 15:39:40 -07:00
Greg Hysen
774d831fae
Style updates to ERC721 onReceiver
2018-06-07 15:39:40 -07:00
Greg Hysen
a1b49d8389
Fixed after rebase
2018-06-07 15:39:40 -07:00
Greg Hysen
12e2bfc794
Fixes after rebasing
2018-06-07 15:39:38 -07:00
Greg Hysen
6e5abade3c
updated migrations artifacts
2018-06-07 15:38:48 -07:00
Greg Hysen
e4e3676095
Fixed up after rebasing. Contracts build and tests pass
2018-06-07 15:38:48 -07:00
Greg Hysen
3ed13150e1
Style audit for proxies + libmem + libbytes
2018-06-07 15:38:48 -07:00
Greg Hysen
f03e5c6bd1
Style audit proxies
2018-06-07 15:38:48 -07:00
Greg Hysen
8496c1cdd3
Call safeTransferFrom only when there is receiver data present
2018-06-07 15:38:48 -07:00
Greg Hysen
3c3851c221
Fixed formatting in memory layout
2018-06-07 15:38:48 -07:00
Greg Hysen
05f1e9e3b8
Resolved edge case in Memcpy where where send would eventually turn "negative" and wrap around.
2018-06-07 15:38:48 -07:00
Greg Hysen
249a1e6d8d
Removed the LibAssetProxyDecoder. Merged decode functions into the proxies. This way they can still be used by the forwarding contract. TestAssetDataDecoders inherits them in the same way the forwarding contract would
2018-06-07 15:38:48 -07:00
Greg Hysen
e042e0ad32
Converged on naming scheme for asset data: renamed all instances of assetMetadata, proxyData, proxyMetadata to assetData
2018-06-07 15:38:48 -07:00
Greg Hysen
5db15ca54c
proxyData -> assetData
2018-06-07 15:38:48 -07:00
Remco Bloemen
069b89b208
Implement memcpy using masking and end-aligned words
2018-06-07 15:38:48 -07:00
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