Skip to content

fix prank in Stylus#63

Draft
bbyalcinkaya wants to merge 2 commits intomasterfrom
fix-prank
Draft

fix prank in Stylus#63
bbyalcinkaya wants to merge 2 commits intomasterfrom
fix-prank

Conversation

@bbyalcinkaya
Copy link
Copy Markdown
Member

Fixed prank support in Stylus, aligned with Kontrol semantics.

  • Introduced an intermediate step #callStylus for contract-to-contract calls. This step delegates the call through host functions.
  • Added a cheatcode rule that intercepts #callStylus and injects #injectPrank / #endPrank markers. The behavior mirrors the semantics of the foundry.prank rule in Kontrol.

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