Closed aionbot closed 5 years ago
Comment by aionick (on Friday Oct 05, 2018 at 17:50 GMT)
The plan is to remove the 32 byte key-value support altogether and replace it with an arbitrary-length storage unit and then to have any data of 16 bytes or less become DataWord
s (the 16 byte units) and all other data to become arbitrary length units.
It may be possible to also drop the 16 byte DataWord
but we need integ tests with the fast vm to really be sure of that, so that change will not be included here.
Issue created by aionick (on Friday Oct 05, 2018 at 17:46 GMT)
The kernel currently only has the ability to store key-value data units as 16 bytes (a fast vm requirement) and 32 bytes (used by precompiled contracts), but the avm needs to be able to submit value pairs of arbitrary length (it can probably live with 16 byte keys, though by providing arbitrary length support for the values the keys get this same support for free).
The changes to this will all be on the kernel side, this is just here as part of the book-keeping.