I've been testing my dapp and I noticed when I updated my contracts Metamask started to throw an error for one of the contracts we made a slight change to.
Metamask says the tx will fail and the contract will throw an error - but it doesn't. There is no error on the contract and everything works smoothly.
Metamask shows this: "ALERT: Transaction Error. Exception thrown in contract code."
A few times we've been able to remove the message by restarting our dev environment and metamask. But its not working this time.
Again - the submitted transaction is going through fine without any reverts or errors.
So... why is metamask showing this error message and how do we fix it?
edit: I've submitted multiple tx's when metamask shows this error and none of them have errored out. Basically just ignoring its message, but why is it happening.
Also testing the same contract with same input as our dapp uses in remix throws no errors. So...something is screwed up somewhere but not sure what