The test for test_cannotCallExec had an expanded scope that leveraged an integrated EntryPoint. In order to work as an integration test, the call incorporated gas costs which could fluctuate during testing. This ended up making it flaky.
This PR spoofs the entry point and calls the method directly then tests whether we see the expected revert case.
The test for
test_cannotCallExec
had an expanded scope that leveraged an integratedEntryPoint
. In order to work as an integration test, the call incorporated gas costs which could fluctuate during testing. This ended up making it flaky.This PR spoofs the entry point and calls the method directly then tests whether we see the expected revert case.