Skip to content

[FEATURE] TXE: Support additional scopes in TestEnvironment::call_private #22292

@ilpepepig

Description

@ilpepepig

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-feature-requestType: Adding a brand new feature (not to be confused with improving an existing feature).from-communityThis originated from the community :)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions