Open Yberjon opened 3 months ago
I encountered an issue where the .call() would succeed after expected revert. Here is the part of code im referring to: https://github.com/neotheprogramist/era-contracts/blob/983c4586b93eefa93c078a6a20fb7c424c526310/l1-contracts/test/foundry/unit/DeployProxy.t.sol#L197-L208
Run tests on this branch: https://github.com/neotheprogramist/era-contracts/tree/test/proxy-tests
To run tests use "yarn test:foundry --match-contract ProxyTest --ffi -vvv".
It worked for me:
🐛 Script Bug Report
📝 Description
I encountered an issue where the .call() would succeed after expected revert. Here is the part of code im referring to: https://github.com/neotheprogramist/era-contracts/blob/983c4586b93eefa93c078a6a20fb7c424c526310/l1-contracts/test/foundry/unit/DeployProxy.t.sol#L197-L208
🔄 Reproduction Steps
Run tests on this branch: https://github.com/neotheprogramist/era-contracts/tree/test/proxy-tests
To run tests use "yarn test:foundry --match-contract ProxyTest --ffi -vvv".