Skip to content

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

Open
Thunkar wants to merge 1 commit into
gj/deploy-frameworkfrom
gj/deploy-universal
Open

feat(aztec): universal deploys in the deployment framework#16
Thunkar wants to merge 1 commit into
gj/deploy-frameworkfrom
gj/deploy-universal

Conversation

@Thunkar

@Thunkar Thunkar commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

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

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 self-assigned this Aug 18, 2026
@Thunkar
Thunkar marked this pull request as ready for review August 18, 2026 17:56
@Thunkar
Thunkar requested a review from nventuro August 18, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants