Fujicracy / fuji-v1

0 stars 0 forks source link

Fuzzing tests fail in SimpleRouter #464

Open 0xdcota opened 1 year ago

0xdcota commented 1 year ago

I have identified to fuzzing tests that do not pass 100% of the time.

I am sure the issue has to do with the settings of the test, however, it will be good that we address this so that the CI doesn't spit failed every so often.

The tests that I identified that require review are:

forge test --mp test/mocking/routers/SimpleRouter.t.sol --mt test_tryFoeSweepETH

forge test --mp test/mocking/routers/SimpleRouter.t.sol --mt test_tryFoeSweepToken

In both, there is an address impersonation that is still able to sweep the stucked tokens.