Skip to content

feat: add salt and secret params to env.deploy (backport #21183)#21602

Merged
nventuro merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21183-deploy-salt-secret
Mar 16, 2026
Merged

feat: add salt and secret params to env.deploy (backport #21183)#21602
nventuro merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-21183-deploy-salt-secret

Conversation

@AztecBot
Copy link
Collaborator

@AztecBot AztecBot commented Mar 16, 2026

Summary

Backport of #21183 to v4-next.

  • Adds DeployOptions struct with with_salt and with_secret methods for TestEnvironment
  • Adds deploy_opts method to TestEnvironment for custom salt/secret deployment
  • Updates TXE deploy oracle to accept salt, deployer params and passes them through to contract instantiation
  • Bumps ORACLE_VERSION from 16 to 17
  • Adds tests for deploy with custom salt/secret combinations

Conflict Resolution

Rebased onto latest backport-to-v4-next-staging. Conflicts were in:

  • ORACLE_VERSION files (16→17 bump)
  • txe_oracles.nr and txe/index.ts had oracle naming divergence (aztec_txe_* on v4-next vs txe* on the old branch) — applied only the salt/deployer parameter changes on top of the current v4-next naming.

Original PR

#21183 by @nventuro

@AztecBot AztecBot added the claudebox Owned by claudebox. it can push to this PR. label Mar 16, 2026
Backport of #21183 to v4-next. Adds DeployOptions struct with with_salt and
with_secret methods for TestEnvironment. Updates TXE deploy oracle to accept
salt and deployer params. Bumps ORACLE_VERSION from 16 to 17.
@AztecBot AztecBot force-pushed the claudebox/backport-21183-deploy-salt-secret branch from 0c412cd to cda6302 Compare March 16, 2026 14:14
@nventuro nventuro marked this pull request as ready for review March 16, 2026 15:34
@nventuro nventuro enabled auto-merge (squash) March 16, 2026 15:34
@nventuro nventuro merged commit 7f78728 into backport-to-v4-next-staging Mar 16, 2026
15 checks passed
@nventuro nventuro deleted the claudebox/backport-21183-deploy-salt-secret branch March 16, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants