4 Commits
Author SHA1 Message Date
David Braun 864071fd30 Fix staticPartLength calculation for multidimensional arrays. (#527)
* Remove extraneous whitespace.

* Fix dynamicOffset calculation when encoding params.

Dynamic types should contribute only one word, not their staticPartLength.

* Fix staticPartLength calculation for multidimensional arrays.

Previously it was accounting for only one of the dimensions.

* Define default behavior for SolidityType.staticPartLength.

The default behavior was defined redundantly for every type.
2017-01-05 15:55:55 +01:00
debris 492f0e224f fixed some of the jshint issues 2015-07-29 18:02:34 +02:00
debris 55240b2ca1 fixed order of nested arrays encoding/decoding 2015-07-29 17:31:51 +02:00
debris cf4817e785 fixed bug in getOffsets 2015-07-28 15:04:33 +02:00