Can't retrieve Corda account from another node via it's PublicKey
Description
I'm trying to retrieve a corda account (i.e., the AccountInfo) of node A from inside the checkTransaction of node B via the signers PublicKey.
I tried all the share methods I could find shareAccountInfoWithParty, shareStateAndSyncAccounts, SyncKeyMappingInitiator, but nothing worked.
I do manage to retrieve the AccountInfo by its name in the same place, but not by the PublicKey in signers.
Here is the minimum code I could think of to reproduce the issue: https://github.com/ruizbbchain/test-cordapp
The single test in workflows should pass, but it doesn't.
I am running the latest version of everything (I just cloned the project from https://github.com/corda/cordapp-template-kotlin).
So Corda 4.6 with Accounts SDK 1.0.2.
Created by github action.
Activity
Hi . Accounts sit with AFAIK unless something has changed.
Hi - Can you please review the bug raised by Open Source community and confirm if this is a bug, or expected behaviour.