-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
Hi compound-js team.
I'm very happy about your library and so far everything worked as documented and expected. One thing seems unclear to me:
I triggered a supply transaction with a gasLimit set to 250000 - however the gas price paid according to etherscan.io... was higher than 250000 GWEI --> 0.00025 Ether (if I understood things correctly):
const trxOptions = { gasLimit, mantissa: false }
try {
const trx = await compound.supply(Compound.ETH, amountOfEtherToBeDeposited, trxOptions)
console.log(`You can check the deposit to compound transaction at https://etherscan.io/tx/${trx.hash}`)
} catch (error) {
console.log(`Something went wrong while depositing Ether to compound.finance: ${error.message}`)
}
So my inquiry is: Is it possible that the gasLimit is not taken into consideration properly by the implementation?
Metadata
Metadata
Assignees
Labels
No labels