Add support for prank cheatcodes with delegate call and tx origin #831
Labels
cheatcode 🎮
Issue with a cheat code against zksync
feature ➕
Feature item
Internal ⚙️
p2 🟡
Indicates moderately high priority item
upstream-parity 🟰
Needed for upstream feature parity
Component
Forge
Describe the feature you would like
Recently introduced prank and startPrank cheatcodes with delegate call and tx.origin assertion are failing on zksync.
Normal use of delegateCall work but when pair with tx.origin fails.
Cheatcodes
vm.prank(address msgSender, address txOrigin, bool delegateCall)
vm.startPrank(address msgSender, address txOrigin, bool delegateCall)
Tests
Additional context
No response
The text was updated successfully, but these errors were encountered: