Very weird [FAIL. Reason: EvmError: Revert], only when test with USDT ERC20. #6459
Closed
2 tasks done
Labels
T-bug
Type: bug
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge 0.2.0 (d7d2901 2023-11-29T00:16:36.235049762Z)
What command(s) is the bug in?
forge test --rpc-url ${MAINNET_URL}
Operating System
macOS (Intel)
Describe the bug
Here is the code I have tested. If the token address is USDT, the test will fail with:
[FAIL. Reason: EvmError: Revert]
. I have tested with DAI and WETH, it will pass. It's the same on Linux and on Intel Mac. I don't know if there are other ERC20 contracts that will trigger the revert.But since USDT is kinda important, I issue this here.
The error:
The text was updated successfully, but these errors were encountered: