Skip to content

Commit

Permalink
fixed ABICoder decodeParameters
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Furter committed Jul 3, 2018
1 parent 43828bc commit a6692fd
Show file tree
Hide file tree
Showing 11 changed files with 26,514 additions and 11,007 deletions.
25,877 changes: 14,871 additions & 11,006 deletions dist/web3.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/web3.min.js

Large diffs are not rendered by default.

8,575 changes: 8,575 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

1,780 changes: 1,780 additions & 0 deletions packages/web3-bzz/package-lock.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions packages/web3-core-promievent/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions packages/web3-eth-contract/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,8 @@ Contract.prototype._decodeMethodReturn = function (outputs, returnValues) {
returnValues = returnValues.length >= 2 ? returnValues.slice(2) : returnValues;
var result = abi.decodeParameters(outputs, returnValues);

console.log('CONTRACT_OBJECT_RESULT: ', result);

if (result.__length__ === 1) {
return result[0];
} else {
Expand Down
11 changes: 11 additions & 0 deletions packages/web3-eth/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions packages/web3-providers-http/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions packages/web3-providers-ipc/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

57 changes: 57 additions & 0 deletions packages/web3-providers-ws/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6692fd

Please sign in to comment.