Description
Fixes smoddit so that it'll work for bytesN keys. Underlying bug was that all values were being treated like uint and were being right-aligned (padding the start with zeros). Solidity handles bytesN where N < 32 by padding the end with zeros (left-aligned). Also adds a regression test.
Description Fixes
smoddit
so that it'll work forbytesN
keys. Underlying bug was that all values were being treated likeuint
and were being right-aligned (padding the start with zeros). Solidity handlesbytesN
whereN < 32
by padding the end with zeros (left-aligned). Also adds a regression test.Metadata