Hot answers tagged

3

Sets are serialized by first ordering the elements, and then packing them as a sequence which is also how lists are represented when PACK is called. This means that these two expressions evaluate to the same, since they are first sorted, and then serialized. ligo interpret -s pascaligo 'Bytes.pack(set [ 1; 2; 3; 4 ])' ligo interpret -s pascaligo 'Bytes.pack(...


1

The address data type is ordered lexicographically, so that tz2... comes before tz3... and tz2a... comes before tz2b... etc. But originated accounts, addresses that start with KT1, come after any implicit accounts, those that start with tz. So all addresses starting with KT1 are ordered lexicographically but they come after all tz addresses. This ordering is ...


Only top voted, non community-wiki answers of a minimum length are eligible