You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we serialize notes instead of packing them. This results in a large DA cost for logs (e.g. value represented as U128 in UintNote gets serialized as 2 fields).
Instead we should create a copy of the flatten_to_fields function that uses the Packable trait and tightly packs the note content.
The text was updated successfully, but these errors were encountered:
Currently we serialize notes instead of packing them. This results in a large DA cost for logs (e.g. value represented as
U128
inUintNote
gets serialized as 2 fields).Instead we should create a copy of the
flatten_to_fields
function that uses thePackable
trait and tightly packs the note content.The text was updated successfully, but these errors were encountered: