-
Notifications
You must be signed in to change notification settings - Fork 533
Description
When testing the anoncreds upgrade for indy credentials in a traction instance. This involves multi-tenancy, multi-ledger and endorsement there was an issue where the tenant profile switched to the root profile after upgrading. The issue was happening in this function https://github.com/openwallet-foundation/acapy/blob/main/acapy_agent/anoncreds/default/legacy_indy/registry.py#L810 related to the IndyLedgerRequestsExecutor.
What this class does exactly and why it's switching profile isn't exactly clear. Perhaps this process shouldn't be happening and was an implementer mistake.
We should figure out exactly what this class does and why this problem is happening.
This PR was opened long ago and I think it could be related. https://github.com/openwallet-foundation/acapy/pull/3649/changes
It was ultimately left stale because maintainers at the time thought it had a bit of and anti pattern but may be helpful for reference.