We have a Rinkeby contract for minting NFTs. Occasionally, when it's in public-sale mode, if a person attempts to mint an NFT, the transaction fails and on the tx's etherscan it says:
Warning! Error encountered during contract execution [out of gas]
It says this even though there is definitely enough ETH in their wallet and they've set their gas max fee to 'high' on metamask. The confusing thing is that it only happens about 75% of the time. Sometimes it mints with no problems...
Is there anything you can see in our contract that would be causing issues with gas like this?