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 current stable release of singularity treats wallets and actors as equivalent. This caused issues when offline wallet creation was added, because those wallets did not have ActorIDs (used as PK on the wallets table) until they hit the chain, which was resolved using a complex migration to change to SERIAL PKs and rebuild the join tables/FKs etc.
A more conceptually sound treament would be to re-position the current wallets table as actors (entities associated with a deal) and separate the private keys and related fields (i.e. credentials for signing) into a separate wallets type.
The current stable release of singularity treats wallets and actors as equivalent. This caused issues when offline wallet creation was added, because those wallets did not have ActorIDs (used as PK on the wallets table) until they hit the chain, which was resolved using a complex migration to change to SERIAL PKs and rebuild the join tables/FKs etc.
A more conceptually sound treament would be to re-position the current
walletstable asactors(entities associated with a deal) and separate the private keys and related fields (i.e. credentials for signing) into a separatewalletstype.This has a number of advantages:
I would propose making this schema change first, then re-implementing the functionality in 2ba6325 on top