You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have downloaded the repo and set the infura key but I am getting this error where executing npx truffle test --network mainnet_fork test/test-uniswap.js:
Contract: TestUniswap
1) "before each" hook for"should pass"
0 passing (608ms)
1 failing
1) Contract: TestUniswap
"before each" hook for"should pass":
Error: Returned error: base fee exceeds gas limit
at Context.<anonymous> (test/test-uniswap.js:22:40)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
How do I solve it?
Thank you
The text was updated successfully, but these errors were encountered:
You can add the gas limit in the transaction call. In hardhat it's let tx = await compoundERC20.supply(8, {gasLimit: 500000}); Pretty sure Truffle does allows the same.
Hi,
I have downloaded the repo and set the infura key but I am getting this error where executing
npx truffle test --network mainnet_fork test/test-uniswap.js
:How do I solve it?
Thank you
The text was updated successfully, but these errors were encountered: