I am trying to impersonate my contract using forked mainnet on ganache whenever the account send a transaction I dryrun the transaction first on forked mainnet but it always give me Error: Returned error: VM Exception while processing transaction: revert UniswapV2Library: INSUFFICIENT_INPUT_AMOUNT error even the transaction is success on mainnet, the account impersonated is already unlocked through evm_unlocked_accounts Why is this happening and how do I resolve this issue?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.