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
Tracking our modification requirements from the CairoVM:
DictTrackers dictionaries:
a. They only accept MaybeRelocatable as keys. As our keys don't necessarily fit in felts (hashdicts), we want to accept compound types as dictionary keys. action taken: a enum DictKey {Simple(MaybeRelocatable, Compound(Vec<MaybeRelocatable>)} as key type.
b. dict.get, when used on a default dict, inserts that key in the dict. We don't want this happening: getting a default value should not create an entry in the tracker, but should simply log this in cairo.
The text was updated successfully, but these errors were encountered:
Tracking our modification requirements from the CairoVM:
a. They only accept
MaybeRelocatable
as keys. As our keys don't necessarily fit in felts (hashdicts), we want to accept compound types as dictionary keys. action taken: aenum DictKey {Simple(MaybeRelocatable, Compound(Vec<MaybeRelocatable>)}
as key type.b.
dict.get
, when used on a default dict, inserts that key in the dict. We don't want this happening: getting a default value should not create an entry in the tracker, but should simply log this in cairo.The text was updated successfully, but these errors were encountered: