Alex Browne
00db096d2e
Fix bug introduced during rebase
2018-10-15 13:44:21 -07:00
Alex Browne
f0e4837983
Fix failing doc generation tests
2018-10-15 13:38:59 -07:00
Alex Browne
003ab1e5b3
Fix linter errors in contract-wrappers
2018-10-15 13:38:59 -07:00
Alex Browne
c83dec22c9
Improve error handling for unknown network ids in contract-wrappers
2018-10-15 13:38:59 -07:00
Alex Browne
974ec23ecd
Apply various PR feedback
2018-10-15 13:38:33 -07:00
Alex Browne
0e1cd9784b
Use contractAddresses directly in revert_validation_test.ts
2018-10-15 13:38:33 -07:00
Alex Browne
1e9ea09f08
Introduce new contract-addresses package and use it everywhere
2018-10-15 13:38:33 -07:00
Alex Browne
33e65c322e
Remove unused abi-gen dependencies
2018-10-15 13:37:57 -07:00
Alex Browne
770cf52933
Remove unused copyfiles dependencies
2018-10-15 13:37:57 -07:00
Alex Browne
1b8b2c0b9b
Appease linter
2018-10-15 13:37:57 -07:00
Alex Browne
a48e0a08bf
Add new runMigrationsOnce method to migrations. Update contract-wrappers to use it.
2018-10-15 13:37:57 -07:00
Alex Browne
ecdd6e3303
Fix linter errors in contract-wrappers
2018-10-15 13:37:57 -07:00
Alex Browne
2bd7b0f66b
update contract_wrappers to use new artifacts and abi-gen wrappers packages
2018-10-15 13:36:59 -07:00
Alex Browne
3a7bb97ad1
Remove artifacts from migrations package and update contract-wrappers accordingly
2018-10-15 13:36:59 -07:00
Alex Browne
5b1b423b5e
Change @0xproject/contracts version number back to 2.1.48
2018-10-15 13:36:10 -07:00
Alex Browne
026ad1f9a1
Update contract-wrappers package to use new contracts package for generated files
2018-10-15 13:36:09 -07:00
Brandon Millman
22abd1dfcf
feat(contract-wrappers): add optional validation to the forwarder wrapper
...
Similar to the approach taken in exchange wrapper, make a call to an rpc
node in order to simulate the transaction before actually sending the
transaction. The decorator will parse revert reasons and other types of
errors into canonical errors that a consumer of the library expects when
interacting with a contract wrapper.
2018-10-12 14:42:31 -07:00
Leonid Logvinov
31ee8870b8
Upgrade ethers.js version
2018-10-09 16:01:34 +02:00
Jacob Evans
7f554303b4
Update the exported types for the packages which touch RPC providers
2018-10-09 20:29:41 +11:00
Jacob Evans
9e8031d5e3
Throw and handle errors from Providers.
...
In web3 wrapper when a response contains an error field we throw this rather than return response.result which is often undefined.
In Signature Utils we handle the error thrown when a user rejects the signing dialogue to prevent double signing.
Exposed the ZeroExTransaction JSON schema.
In Website only use the MetamaskSubprovider if we can detect the provider is Metamask
2018-10-09 19:01:36 +11:00
Jacob Evans
75d274f330
Return SignedOrder from signing utils.
...
Create a helper back in EIP712Utils for code cleanup.
Moved constants in order-utils into the constants object
2018-10-05 17:12:17 +10:00
Jacob Evans
3e2fe40a11
Add eth_signTypedData support to our wallet subproviders
2018-10-05 12:02:09 +10:00
Jacob Evans
07926ded6e
Introduce Metamask Subprovider.
...
MM has a number of inconsistencies with other providers when implementing the JSON RPC interface. This subprovider wraps those nuances so they do not leak into the rest of our code
2018-10-05 12:00:41 +10:00
Brandon Millman
b5d88079d9
Publish
...
- 0x.js@1.0.8
- @0xproject/abi-gen@1.0.13
- @0xproject/assert@1.0.13
- @0xproject/asset-buyer@2.0.0
- @0xproject/base-contract@3.0.1
- @0xproject/connect@3.0.1
- @0xproject/contract-wrappers@2.0.2
- contracts@2.1.49
- @0xproject/dev-utils@1.0.12
- ethereum-types@1.0.11
- @0xproject/fill-scenarios@1.0.7
- @0xproject/instant@0.0.2
- @0xproject/json-schemas@1.0.7
- @0xproject/metacoin@0.0.23
- @0xproject/migrations@1.0.14
- @0xproject/monorepo-scripts@1.0.11
- @0xproject/order-utils@1.0.7
- @0xproject/order-watcher@2.1.1
- @0xproject/react-docs@1.0.13
- @0xproject/react-shared@1.0.15
- @0xproject/sol-compiler@1.1.7
- @0xproject/sol-cov@2.1.7
- @0xproject/sol-doc@1.0.2
- @0xproject/sol-resolver@1.0.14
- @0xproject/sra-report@1.0.13
- @0xproject/sra-spec@1.0.6
- @0xproject/subproviders@2.0.7
- @0xproject/testnet-faucets@1.0.51
- @0xproject/tslint-config@1.0.8
- @0xproject/types@1.1.4
- @0xproject/typescript-typings@3.0.2
- @0xproject/utils@2.0.2
- @0xproject/web3-wrapper@3.0.3
- @0xproject/website@0.0.54
2018-10-04 15:52:06 -07:00
Brandon Millman
266440f7c3
Updated CHANGELOGS
2018-10-04 15:51:56 -07:00
Fabio Berger
c613b6741d
Upgrade webpack
2018-10-04 15:47:43 +01:00
Leonid Logvinov
8c985eb579
Fix linter issue
2018-10-02 15:09:24 +02:00
Leonid Logvinov
f4e4eef48e
Introduce a build:ci command that doesn't build webpack bundles
2018-10-02 15:09:24 +02:00
Leonid Logvinov
8b7888b736
Updated CHANGELOGS
2018-10-02 12:37:34 +02:00
Fabio Berger
ac14dd2b29
Publish
...
- 0x.js@1.0.7
- @0xproject/abi-gen@1.0.12
- @0xproject/assert@1.0.12
- @0xproject/asset-buyer@1.0.2
- @0xproject/base-contract@3.0.0
- @0xproject/connect@3.0.0
- @0xproject/contract-wrappers@2.0.1
- contracts@2.1.48
- @0xproject/dev-utils@1.0.11
- ethereum-types@1.0.9
- @0xproject/fill-scenarios@1.0.6
- @0xproject/json-schemas@1.0.5
- @0xproject/metacoin@0.0.22
- @0xproject/migrations@1.0.13
- @0xproject/monorepo-scripts@1.0.10
- @0xproject/order-utils@1.0.6
- @0xproject/order-watcher@2.1.0
- @0xproject/react-docs@1.0.12
- @0xproject/react-shared@1.0.13
- @0xproject/sol-compiler@1.1.6
- @0xproject/sol-cov@2.1.6
- @0xproject/sol-doc@1.0.1
- @0xproject/sol-resolver@1.0.12
- @0xproject/sra-report@1.0.12
- @0xproject/sra-spec@1.0.5
- @0xproject/subproviders@2.0.6
- @0xproject/testnet-faucets@1.0.50
- @0xproject/types@1.1.2
- @0xproject/typescript-typings@3.0.0
- @0xproject/utils@2.0.0
- @0xproject/web3-wrapper@3.0.2
- @0xproject/website@0.0.53
2018-09-28 19:16:07 +01:00
Fabio Berger
c354129b6f
Updated CHANGELOGS
2018-09-28 19:15:38 +01:00
Jacob Evans
21f6072186
Handle revert with reason when decoding call result
...
We use in-process ganache which throws on an RPC error. This means all of our tests get a nice revert error thrown when testing against ganache. This is not possible with RPC providers and a revert with reason result is returned. Our callAsync doesn't handle this and attempts to decode the revert with reason error log as a successful log, which results in an error while decoding.
This only works with our fork of ethers https://github.com/ethers-io/ethers.js/pull/188 and will need to be re-worked when updating to Ethers.js 4
2018-09-28 09:59:58 +10:00
Leonid Logvinov
a51919db0e
Remove ethers.js carret as it's a beta version
2018-09-27 11:24:03 +02:00
Leonid Logvinov
5d73eebf6a
Merge branch 'development' into feature/ts-ethers
2018-09-26 14:55:52 +02:00
Fabio Berger
1b35a6e3b5
Publish
...
- 0x.js@1.0.6
- @0xproject/abi-gen@1.0.11
- @0xproject/assert@1.0.11
- @0xproject/asset-buyer@1.0.1
- @0xproject/base-contract@2.0.5
- @0xproject/connect@2.0.4
- @0xproject/contract-wrappers@2.0.0
- contracts@2.1.47
- @0xproject/dev-utils@1.0.10
- ethereum-types@1.0.8
- @0xproject/fill-scenarios@1.0.5
- @0xproject/json-schemas@1.0.4
- @0xproject/metacoin@0.0.21
- @0xproject/migrations@1.0.12
- @0xproject/order-utils@1.0.5
- @0xproject/order-watcher@2.0.0
- @0xproject/react-docs@1.0.11
- @0xproject/react-shared@1.0.12
- @0xproject/sol-compiler@1.1.5
- @0xproject/sol-cov@2.1.5
- @0xproject/sol-resolver@1.0.11
- @0xproject/sra-report@1.0.11
- @0xproject/sra-spec@1.0.4
- @0xproject/subproviders@2.0.5
- @0xproject/testnet-faucets@1.0.49
- @0xproject/types@1.1.1
- @0xproject/typescript-typings@2.0.2
- @0xproject/utils@1.0.11
- @0xproject/web3-wrapper@3.0.1
- @0xproject/website@0.0.52
2018-09-25 21:34:14 +01:00
Fabio Berger
900a8aee76
Updated CHANGELOGS
2018-09-25 21:33:55 +01:00
Fabio Berger
977d55c61b
merge development
2018-09-25 13:07:14 +01:00
Leonid Logvinov
78ef98c27c
Publish
...
- 0x.js@1.0.5
- @0xproject/abi-gen@1.0.10
- @0xproject/assert@1.0.10
- @0xproject/asset-buyer@1.0.0
- @0xproject/base-contract@2.0.4
- @0xproject/connect@2.0.3
- @0xproject/contract-wrappers@1.0.5
- contracts@2.1.46
- @0xproject/dev-utils@1.0.9
- @0xproject/fill-scenarios@1.0.4
- @0xproject/json-schemas@1.0.3
- @0xproject/metacoin@0.0.20
- @0xproject/migrations@1.0.11
- @0xproject/order-utils@1.0.4
- @0xproject/order-watcher@1.0.5
- @0xproject/react-docs@1.0.10
- @0xproject/react-shared@1.0.11
- @0xproject/sol-compiler@1.1.4
- @0xproject/sol-cov@2.1.4
- @0xproject/sol-resolver@1.0.10
- @0xproject/sra-report@1.0.10
- @0xproject/sra-spec@1.0.3
- @0xproject/subproviders@2.0.4
- @0xproject/testnet-faucets@1.0.48
- @0xproject/types@1.1.0
- @0xproject/utils@1.0.10
- @0xproject/web3-wrapper@3.0.0
- @0xproject/website@0.0.51
2018-09-25 13:48:55 +02:00
Leonid Logvinov
411813d8d9
Updated CHANGELOGS
2018-09-25 13:48:44 +02:00
Fabio Berger
fc3acec669
Fix lint issues
2018-09-25 12:32:20 +01:00
Fabio Berger
173b36c54c
Fix prettier
2018-09-25 12:06:28 +01:00
Fabio Berger
55ca971186
Decode logs received from blockstream
2018-09-25 12:05:44 +01:00
Fabio Berger
902691e289
Update changelogs
2018-09-25 11:29:36 +01:00
Fabio Berger
0afe55f2ff
Refactor blockstream integration to use the proper callback method interface
2018-09-25 11:20:09 +01:00
Francesco Agosti
b830c28d83
Merge pull request #1037 from 0xProject/feature/forwarder-helper/sra-and-rpc
...
[asset-buyer] Create new AssetBuyer class
2018-09-24 17:47:59 +02:00
Fabio Berger
5e1a2bd972
Merge development
2018-09-24 15:53:34 +01:00
Fabio Berger
7516959c9f
Add comments for clarity
2018-09-24 15:14:14 +01:00
Fabio Berger
d0448c2bbd
Fix bug where if block wasn't found, getBlockAsync would throw. Now it returns undefined
2018-09-24 15:02:06 +01:00
fragosti
7a5376621f
Merge branch 'development' of https://github.com/0xProject/0x-monorepo into feature/forwarder-helper/sra-and-rpc
2018-09-21 17:20:48 +02:00
Leonid Logvinov
29f6adc2ed
Publish
...
- 0x.js@1.0.4
- @0xproject/abi-gen@1.0.9
- @0xproject/assert@1.0.9
- @0xproject/base-contract@2.0.3
- @0xproject/connect@2.0.2
- @0xproject/contract-wrappers@1.0.4
- contracts@2.1.45
- @0xproject/dev-utils@1.0.8
- ethereum-types@1.0.7
- @0xproject/fill-scenarios@1.0.3
- @0xproject/forwarder-helper@1.0.4
- @0xproject/json-schemas@1.0.2
- @0xproject/metacoin@0.0.19
- @0xproject/migrations@1.0.10
- @0xproject/monorepo-scripts@1.0.9
- @0xproject/order-utils@1.0.3
- @0xproject/order-watcher@1.0.4
- @0xproject/react-docs@1.0.9
- @0xproject/react-shared@1.0.10
- @0xproject/sol-compiler@1.1.3
- @0xproject/sol-cov@2.1.3
- @0xproject/sol-resolver@1.0.9
- @0xproject/sra-report@1.0.9
- @0xproject/sra-spec@1.0.2
- @0xproject/subproviders@2.0.3
- @0xproject/testnet-faucets@1.0.47
- @0xproject/types@1.0.2
- @0xproject/typescript-typings@2.0.1
- @0xproject/utils@1.0.9
- @0xproject/web3-wrapper@2.0.3
- @0xproject/website@0.0.50
2018-09-21 16:59:27 +02:00