Skip to content

feat(corelib): add deploy_v2_syscall to syscalls.cairo - #10215

Draft
ron-starkware wants to merge 1 commit into
ron/deploy-v2/compilerfrom
ron/deploy-v2/corelib
Draft

feat(corelib): add deploy_v2_syscall to syscalls.cairo#10215
ron-starkware wants to merge 1 commit into
ron/deploy-v2/compilerfrom
ron/deploy-v2/corelib

Conversation

@ron-starkware

Copy link
Copy Markdown

Stack — part 2 of 3 (base: ron/deploy-v2/compiler).

Exposes the deploy_v2 syscall to Cairo contracts:

  • deploy_v2_syscall extern declaration in corelib/src/starknet/syscalls.cairo (identical request/response layout to deploy_syscall; Blake-escaped address derivation).
  • Re-export next to deploy_syscall in starknet.cairo.
  • Doc comment stating the Blake-escaped derivation and that deploy_syscall itself stays Pedersen.
  • The e2e libfunc golden's deploy_v2 block now calls the corelib function (casm/sierra output unchanged from PR 1).

🤖 Generated with Claude Code

Expose the `deploy_v2` syscall to Cairo contracts: the `deploy_v2_syscall`
extern declaration (identical request/response layout to `deploy_syscall`,
Blake-escaped address derivation) plus a re-export next to `deploy_syscall` in
starknet.cairo. The doc comment states the Blake-escaped derivation and that
`deploy_syscall` itself stays Pedersen-based.

The e2e libfunc golden's deploy_v2 block now calls the corelib function instead
of an inline extern (casm/sierra output unchanged).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

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