Fix storage array abi encoding

Fix incorrect abi encoding of storage array of data type that occupy multiple storage slots
This commit is contained in:
mingchuan
2019-06-19 10:46:05 +08:00
parent 7187a3e5ca
commit bfe074b2b1
4 changed files with 26 additions and 11 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ private:
EncodingOptions const& _options
);
/// Part of @a abiEncodingFunction for array target type and given memory array or
/// a given storage array with one item per slot.
/// a given storage array with every item occupies one or multiple full slots.
std::string abiEncodingFunctionSimpleArray(
ArrayType const& _givenType,
ArrayType const& _targetType,