Problem Statement
TestEnvironment.call_private(from, call) currently scopes private state access exclusively to the from address. There is no way to grant visibility to additional addresses' notes during execution, unlike the JS/TS SDK which supports additionalScopes in send() options.
This makes it impossible to test flows where a contract accesses another contract's private notes, such as escrow contracts that hold token notes.
Proposed Solution
No response
Example Use Case
No response
Alternative Solutions
No response
Additional Context
v4.2.0-aztecnr-rc.2
Problem Statement
TestEnvironment.call_private(from, call)currently scopes private state access exclusively to thefromaddress. There is no way to grant visibility to additional addresses' notes during execution, unlike the JS/TS SDK which supportsadditionalScopesinsend()options.This makes it impossible to test flows where a contract accesses another contract's private notes, such as escrow contracts that hold token notes.
Proposed Solution
No response
Example Use Case
No response
Alternative Solutions
No response
Additional Context
v4.2.0-aztecnr-rc.2