Package
@celo/celocli
Have you ensured that all of these are up to date?
What version of the package are you on?
4.2.0
What command or function is the bug in?
npx celocli exchange:dollars --from 0x0--value 10000000000000000000
Operating System
Linux
Describe the bug
Network: Baklava
Output:
Running Checks:
✔ Account has at least 10 cUSD
✔ Compliant Address
All checks passed
Fetching Quote... done
Quoted Price: 1.19903439 per token
SendTransaction: increaseAllowance
txHash: 0x0
Sending Transaction: increaseAllowance... done
Swapping 10000000000000000000 cUSD for estimated 11990343892539984991 CELO
Sending Transaction: exchange... failed: max priority fee per gas higher than max fee per gas
Error: max priority fee per gas higher than max fee per gas
^ It seems the gas price settings originating from @celo/cli are incorrect (fetched from node?)
Ideally allow overriding of gas settings in such cases through flags such as:
--gasLimit 500000 --gasPrice 10000000000 --priorityGasPrice 10