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
The fungible token state uses ActorIDs directly as keys in the HAMTs in its state. This is not spec compliant because ActorIDs serialize as cbor ints. This is something that the HAMT library should have caught with type checking but unfortunately this is not yet the case (filecoin-project/ref-fvm#900).
For now the right way to handle this is to wrap integer serializing keys in a byte serializing type here's an example in the power actor.
The text was updated successfully, but these errors were encountered:
The fungible token state uses ActorIDs directly as keys in the HAMTs in its state. This is not spec compliant because ActorIDs serialize as cbor ints. This is something that the HAMT library should have caught with type checking but unfortunately this is not yet the case (filecoin-project/ref-fvm#900).
For now the right way to handle this is to wrap integer serializing keys in a byte serializing type here's an example in the power actor.
The text was updated successfully, but these errors were encountered: