Skip to content

feat(aztec): universal deploys in the deployment framework - #25263

Open
Thunkar wants to merge 1 commit into
merge-train/fairies-v5from
gj/deploy-universal-flag
Open

feat(aztec): universal deploys in the deployment framework#25263
Thunkar wants to merge 1 commit into
merge-train/fairies-v5from
gj/deploy-universal-flag

Conversation

@Thunkar

@Thunkar Thunkar commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Contract steps had no way to publish at a deployer-independent address: resolveContract always builds a deployer-bound DeployMethod, which rejects universal shapes. Some contracts need exactly that — an address agreed on and shared before anyone commits to deploying it (e.g. an FPC that receives deposits at a pre-published address).

A contract step now declares either deployer (bound: salts + sends, the address commits to it) or universal: true + from (the address is the same whoever sends it; from sends and pays) — mutually exclusive in the type, mirroring DeployMethod.create. Register mode derives accordingly, keeping the register/publish same-address invariant. Covered in deploy.test.ts.

🤖 Generated with Claude Code

@github-actions github-actions Bot added the port-to-next Forward-port this merged PR into next label Aug 18, 2026
Contract steps declare either deployer (bound: salts + sends, the address
commits to it) or universal + from (the address is the same whoever sends
it; from sends and pays) — mutually exclusive in the type, mirroring
DeployMethod.create.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@Thunkar
Thunkar force-pushed the gj/deploy-universal-flag branch from 519338a to 57b482d Compare August 18, 2026 17:17
@Thunkar Thunkar self-assigned this Aug 18, 2026
@Thunkar
Thunkar requested a review from nventuro August 18, 2026 17:27
@Thunkar
Thunkar marked this pull request as ready for review August 18, 2026 17:27
@Thunkar Thunkar closed this Aug 18, 2026
@Thunkar Thunkar reopened this Aug 19, 2026
@AztecBot

Copy link
Copy Markdown
Collaborator

Flakey Tests

🤖 says: This CI run detected 1 tests that failed, but were tolerated due to a .test_patterns.yml entry.

\033FLAKED\033 (8;;http://ci.aztec-labs.com/a13d4567a9749ab4�a13d4567a9749ab48;;�): yarn-project/kv-store/scripts/run_test.sh src/bench/sqlite-opfs-encrypted/map_bench.test.ts (1s) (code: 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

port-to-next Forward-port this merged PR into next

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants