mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-22 11:08:33 +00:00
gulp
This commit is contained in:
parent
50a42ab839
commit
0e17ec7595
4
dist/web3-light.js
vendored
4
dist/web3-light.js
vendored
@ -704,7 +704,9 @@ SolidityCoder.prototype.encodeParams = function (types, params) {
|
||||
});
|
||||
|
||||
var dynamicOffset = solidityTypes.reduce(function (acc, solidityType, index) {
|
||||
return acc + solidityType.staticPartLength(types[index]);
|
||||
var staticPartLength = solidityType.staticPartLength(types[index]);
|
||||
var roundedStaticPartLength = Math.floor((staticPartLength + 31) / 32) * 32;
|
||||
return acc + roundedStaticPartLength;
|
||||
}, 0);
|
||||
|
||||
var result = this.encodeMultiWithOffset(types, solidityTypes, encodeds, dynamicOffset);
|
||||
|
8
dist/web3-light.min.js
vendored
8
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/web3.js
vendored
4
dist/web3.js
vendored
@ -704,7 +704,9 @@ SolidityCoder.prototype.encodeParams = function (types, params) {
|
||||
});
|
||||
|
||||
var dynamicOffset = solidityTypes.reduce(function (acc, solidityType, index) {
|
||||
return acc + solidityType.staticPartLength(types[index]);
|
||||
var staticPartLength = solidityType.staticPartLength(types[index]);
|
||||
var roundedStaticPartLength = Math.floor((staticPartLength + 31) / 32) * 32;
|
||||
return acc + roundedStaticPartLength;
|
||||
}, 0);
|
||||
|
||||
var result = this.encodeMultiWithOffset(types, solidityTypes, encodeds, dynamicOffset);
|
||||
|
4
dist/web3.js.map
vendored
4
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
10
dist/web3.min.js
vendored
10
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user