newbie here so please bear with me.
I am using EthersJS latest v5 in order to interact with our contracts, which works great so far. However, I spotted that for a certain period of time (around 1st March) a lot of our transactions failed due to running out of gas.
You can see a list of transactions here
As far as I understood, EthersJS will calculate the amount of fees via the estimateGas
correct internally via the contract. At least on our end we don't do any manual gas calculation.
So I am wondering why at a certain period of time many of the transactions failed. Maybe this has to do with a certain RPC url used?
I would like to get some insight. One of the contract methods redeemAuto
we call like so:
const contract = new ethers.Contract(
contracts[contractName].address,
contracts[contractName].abi,
library.getSigner()
);
await contract.redeemAuto(etherToWei(amount))
So nothing fancy going on here.
Thanks