For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::test::helpers::test_environment

Struct TestEnvironmentOptions

pub struct TestEnvironmentOptions
{ /* private fields */ }

Configuration values for TestEnvironment::new_opts. Meant to be used by calling new and then chaining methods setting each value, e.g.:

let env = TestEnvironment::new_opts(
    TestEnvironmentOptions::new().with_tagging_secret_strategy(TaggingSecretStrategy::non_interactive_handshake()),
);

Implementations

impl TestEnvironmentOptions

pub fn new() -> Self

Creates a new TestEnvironmentOptions with default values.

pub fn with_tagging_secret_strategy(&mut self, strategy: TaggingSecretStrategy) -> Self

Sets the TaggingSecretStrategy the wallet reports through the resolve_tagging_strategy oracle, affecting message delivery in private executions.

If not set, the wallet hook is left unconfigured and the private execution environment applies its own default.