5 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
ae34877774 encoding/decoding all tests passing 2015-07-28 16:47:56 +02:00
debris
1a3d7e821a refactored dynamic bytes and uint encoding 2015-07-28 14:39:26 +02:00