web3-eth-abi
Advanced tools
Comparing version 1.0.0-beta.24 to 1.0.0-beta.25
{ | ||
"name": "web3-eth-abi", | ||
"namespace": "ethereum", | ||
"version": "1.0.0-beta.24", | ||
"version": "1.0.0-beta.25", | ||
"description": "Web3 module encode and decode EVM in/output.", | ||
@@ -12,5 +12,5 @@ "repository": "https://github.com/ethereum/web3.js/tree/master/packages/web3-eth-abi", | ||
"underscore": "1.8.3", | ||
"web3-core-helpers": "^1.0.0-beta.24", | ||
"web3-utils": "^1.0.0-beta.24" | ||
"web3-core-helpers": "^1.0.0-beta.25", | ||
"web3-utils": "^1.0.0-beta.25" | ||
} | ||
} |
@@ -65,2 +65,6 @@ /* | ||
if (result.length > 64) { | ||
throw new Error('Given parameter bytes is too long: "' + value + '"'); | ||
} | ||
var l = Math.floor((result.length + 63) / 64); | ||
@@ -162,3 +166,3 @@ result = utils.padRight(result, l * 64); | ||
if(!value) { | ||
if(!value && param.rawValue) { | ||
throw new Error('Couldn\'t decode '+ name +' from ABI: 0x'+ param.rawValue); | ||
@@ -165,0 +169,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37898
1068