Merge branch 'development' into patch-1

This commit is contained in:
Bryan Stitt
2018-11-12 09:10:40 -08:00
committed by GitHub
125 changed files with 869 additions and 443 deletions

View File

@@ -1,4 +1,13 @@
[
{
"timestamp": 1542028948,
"version": "3.1.2",
"changes": [
{
"note": "Dependencies updated"
}
]
},
{
"version": "3.1.1",
"changes": [

View File

@@ -5,6 +5,10 @@ Edit the package's CHANGELOG.json file only.
CHANGELOG
## v3.1.2 - _November 12, 2018_
* Dependencies updated
## v3.1.1 - _November 9, 2018_
* Fix bug in `getTransactionByHashAsync` which was causing the return value to have the wrong type (raw fields instead of unmarshalled fields). (#1177)

View File

@@ -1,6 +1,6 @@
{
"name": "@0x/web3-wrapper",
"version": "3.1.1",
"version": "3.1.2",
"engines": {
"node": ">=6.12"
},
@@ -53,8 +53,8 @@
"typescript": "3.0.1"
},
"dependencies": {
"@0x/assert": "^1.0.15",
"@0x/json-schemas": "^2.0.1",
"@0x/assert": "^1.0.16",
"@0x/json-schemas": "^2.1.0",
"@0x/typescript-typings": "^3.0.4",
"@0x/utils": "^2.0.4",
"ethereum-types": "^1.1.2",

View File

@@ -533,9 +533,6 @@ export class Web3Wrapper {
method: 'eth_call',
params: [callDataHex, marshalledDefaultBlock],
});
if (rawCallResult === '0x') {
throw new Error('Contract call failed (returned null)');
}
return rawCallResult;
}
/**