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
Following #20 we have tightly coupled an account to a holding type at runtime.
An upgrade scenario for holdings would look as follows:
introduce V2 holding
for each V1 holding factory, introduce V2 holding Factory
for each account referencing the V1 factory, create new account referencing V2 factory
replace each V1 holding with a V2 holding at the new account
In the above scenario, we end up with two accounts (referencing factory V1 and V2, resp.). Because of the key uniqueness constraint, we are forced to use a different label for each account.
To make it less confusing, we might need to introduce account versioning.
An alternative is to have multiple holding factories per account and
always Credit using the latest one
in a Transfer, use Daml exceptions to make sure the correct factory is used (not necessarily the latest)
The text was updated successfully, but these errors were encountered:
Following #20 we have tightly coupled an account to a holding type at runtime.
An upgrade scenario for holdings would look as follows:
In the above scenario, we end up with two accounts (referencing factory V1 and V2, resp.). Because of the key uniqueness constraint, we are forced to use a different label for each account.
To make it less confusing, we might need to introduce account versioning.
An alternative is to have multiple holding factories per account and
Credit
using the latest oneTransfer
, use Daml exceptions to make sure the correct factory is used (not necessarily the latest)The text was updated successfully, but these errors were encountered: