Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzing tests fail in SimpleRouter #464

Open
0xdcota opened this issue Jan 17, 2023 · 0 comments
Open

Fuzzing tests fail in SimpleRouter #464

0xdcota opened this issue Jan 17, 2023 · 0 comments

Comments

@0xdcota
Copy link
Contributor

0xdcota commented Jan 17, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant