Fabio Berger
e1879ef4d9
Fix no-unused-variable tslint rule to include parameters and fix issues
2018-06-11 23:42:30 +02:00
Fabio Berger
b6df727efb
Fix linter exclude rule
2018-06-11 23:15:03 +02:00
Fabio Berger
fe58b44916
Validate all signature types rather then only ECSignatures
2018-06-11 22:14:03 +02:00
Fabio Berger
0a2694811d
Store the instantiated OrderValidationUtils
2018-06-11 22:13:36 +02:00
Fabio Berger
31fe232bac
Remove global hooks from tests and deploy contracts from within the specific tests
2018-06-11 22:13:12 +02:00
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
Leonid Logvinov
7e5866ce3f
Merge pull request #675 from 0xProject/feature/sol-cov-geth
...
`ProfilerSubprovider` & Geth-related fixes for `sol-cov`
2018-06-11 10:48:18 -07: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
Alex Browne
add9a9db9b
Merge pull request #674 from 0xProject/feature/geth-test-ci
...
Run contracts tests against Geth in CI
2018-06-08 10:53:22 -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