CryptoFly.us | CRYPTOCURRENCY BITCOIN SHIRTS CLOTHING APPAREL HATS

CRYPTO NEWS

Polkadot [DOT] inches closer to ATH of $49 as network preps for Parachain auctions

PolkadotPolkadot [DOT] was undoubtedly the star of today’s market. By bagging the most daily gains, DOT was at the top of its game as the network gears up for the forthcoming parachain auction. The crypto-verse has been home to numerous coins. The market has witnessed the arrival and departure of several assets. While some of […]

Metamask shows "ALERT: Transaction Error. Exception thrown in contract code" but transaction succeeds without error

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::Listen

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

Polkadot [DOT] inches closer to ATH of $49 as network preps for Parachain auctions

Shopping cart
There are no products in the cart!
Continue shopping
0