Commit Graph

3 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 55240b2ca1 fixed order of nested arrays encoding/decoding 2015-07-29 17:31:51 +02:00
debris 3f8ec7ed13 real && ureal types 2015-07-28 15:56:18 +02:00