neotheprogramist / era-contracts

Smart Contract Submodule For zkSync Era
MIT License
0 stars 0 forks source link

Call succeeds after expected revert #44

Open Yberjon opened 3 months ago

Yberjon commented 3 months ago

🐛 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".

kelemeno commented 2 months ago

It worked for me:

image