Alex Browne
c2e8390d21
chore: Fix linter
2018-10-23 16:12:48 -07:00
Alex Browne
6027e275b1
fix(web3-wrapper): Make getTransactionByHashAsync return the correct type
2018-10-23 15:56:20 -07:00
Jacob Evans
9f924e459c
chore: change package org from 0xproject to 0x
2018-10-18 22:27:31 +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
adcfaa2e80
Expose eth_signTypedData functionality for order signing
2018-10-05 11:59:24 +10:00
Fabio Berger
9c89d1e99b
Expose method to send raw JSON RPC payloads
2018-09-25 10:45:11 +01:00
Fabio Berger
5e1a2bd972
Merge development
2018-09-24 15:53:34 +01:00
Fabio Berger
311b925919
Add to doc comment why a block might not be returned to the caller
2018-09-24 15:14:07 +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
Fabio Berger
45dc2be083
Fix prettier
2018-09-21 14:53:25 +01:00
Fabio Berger
e6840c60c7
Add assertion that one cannot specify both blockHash & fromBlock/toBlock to getLogsAsync
2018-09-21 13:43:06 +01:00
Fabio Berger
4e8ec2359d
Also make sure the transactionReceipt contains a blockNumber when checking if a transaction has been mined.
2018-09-21 10:56:31 +01:00
Fabio Berger
3ee3fc2fb3
Add missing doc comments
2018-08-03 17:13:10 +02:00
Amir Bandeali
0a976a3fb8
Get actual gasPrice from transaction instead of setting default
2018-07-23 10:00:23 -05:00
Igor Kroitor
5bb68974ec
Deduplicate assert web3-wrapper signMessageAsync
2018-07-20 08:49:16 +03:00
Fabio Berger
34df5af295
Don't export object literal because the docs cannot yet render them, moved type to types file
2018-07-19 17:46:24 +02:00
Leonid Logvinov
bf8ac3b9e6
Fix tslint issues
2018-07-17 12:59:02 +02:00
Fabio Berger
a1fb438a8c
Prettier fixes
2018-07-05 13:03:33 +02:00
Fabio Berger
1c9a657693
Add schema assertion checks for callData and txData
2018-07-05 12:35:16 +02:00
Fabio Berger
0a32ae6cb5
Add defaultBlock param to getBalanceInWeiAsync
2018-07-05 12:04:08 +02:00
Fabio Berger
3d67f122a5
Move 'from' check to sendTransaction
2018-07-05 12:03:34 +02:00
Fabio Berger
f5b1fe0e6b
Fix linter issues
2018-07-05 01:45:56 +02:00
Fabio Berger
fd242a9cba
Remove web3Utils dep and write necessary utility methods
2018-07-05 01:38:14 +02:00
Fabio Berger
7efa17ef7d
Add new param javadoc comment
2018-07-05 00:40:43 +02:00
Fabio Berger
a0b9c7777b
merge v2-prototype
2018-07-05 00:38:15 +02:00
Fabio Berger
1050ecdf3c
Refactor Web3Wrapper to no longer use Web3.js & add more test coverage
2018-07-05 00:36:01 +02:00
Fabio Berger
d712dc47d9
Removee getContractFromAbi method since we no longer use it and do not recommend others use it
2018-07-04 18:11:50 +02:00
Fabio Berger
cd766ea2a1
Add more assertions to Web3Wrapper public methods
2018-07-04 08:54:43 +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
c5fcea1dbd
Actually cache node type in web3-wrapper
2018-07-03 10:40:54 -07:00
Alex Browne
5b64b3ea93
Improve robustness of revert reason assertions
2018-07-02 18:57:33 -07:00
Ara Kevonian
df50232ed9
Update default params in sendRawPaylodAsync for improved JSON-RPC compatibility
2018-06-19 04:13:32 -07:00
Alex Browne
3cc30f91a9
Speedup awaitTransactionMinedAsync and reduce polling interval in contracts tests
2018-06-11 17:07:28 -07:00
Leonid Logvinov
1c3dc757c3
Fix typos
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
Alex Browne
dd8727d3ae
Apply various fixes based on PR feedback
2018-06-06 12:41:15 -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
bca62c813d
Throw in web3-wrapper when rawCallResult is '0x'
2018-06-06 12:40:30 -07:00
Alex Browne
5900899c01
Add support for TEST_PROVIDER env var
2018-06-06 12:40:30 -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
577156fe5f
Use Geth for contract tests
2018-06-06 12:39:39 -07:00
Leonid Logvinov
b8a267370d
Fix linter errors
2018-05-31 11:04:06 -07:00
Leonid Logvinov
a7fc9caacb
Introduce ethereum-types package
2018-05-31 11:04:05 -07:00
Alex Browne
f6f2818a02
Change error message for awaitTransactionSuccessAsync
2018-05-23 15:09:19 -07:00
Alex Browne
b05a3b7aed
Check transaction receipt status codes where applicable
2018-05-23 15:09:17 -07:00
Fabio Berger
839db68571
Fix TSLint rules
2018-05-16 14:59:10 +02:00
Leonid Logvinov
b74957acdf
Add missing type definitions
2018-05-14 10:35:13 +02:00
Fabio Berger
d370296e82
Merge branch 'development' into breakUp0xjs
...
* development:
Fix ganache subprovider config
Fix a bug in compiler config precedence
Fix linter errors
Fix templates
Remove unused deployer docs configs
Add a legacy endpoint for the deployer
Add a check for compiler output
Add a comment
Put ARTIFACTS_VERSION in a config
Improve a comment
Remove _applyDefaultsToDeployTxDataAsync
Add a HACK comment
Fix linter issues
Rename deployer to sol-compiler
Remove deployer
Remove deployer from 0x.js and migrations
Configure migrations with a compiler.json
Remove deployer from metacoin and contract tests
Update wallet footer and add remove token functionality
# Conflicts:
# .gitignore
# packages/0x.js/package.json
# packages/0x.js/src/0x.ts
# packages/contracts/package.json
# packages/contracts/test/multi_sig_with_time_lock.ts
# packages/contracts/test/multi_sig_with_time_lock_except_remove_auth_addr.ts
# packages/contracts/util/artifacts.ts
# packages/deployer/test/deployer_test.ts
# packages/migrations/package.json
2018-05-11 12:32:57 +02:00