Skip to content

EVM error #17

Closed Answered by heheboii11
heheboii11 asked this question in Q&A
Jan 21, 2025 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

This has been resolved, I forgot to transfer the WETH to the User

    function setUp() public {
        vm.deal(user, 10e18);
        WETH.deposit{value: 2e18}();
        WETH.transfer(user, 2e18);
    }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@EngrPips
Comment options

Answer selected by heheboii11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants