I’ve got a smart contract that writes a value into local state:
App.localPut(Txn.accounts[2], Bytes("AppTag"), Txn.application_args[1]),
(for an account that is supplied but not the caller)
I then call (Java):
connectToIndexer().searchForAccounts().applicationId(appId).execute()
to retrieve the local state. The key/value isn’t there - if I back off 5s and call searchForAccounts
again, it is.
Is this expected behaviour?