0 votes
in BlockChain by
What happens if the execution of a smart contract costs more than the specified gas?

1 Answer

0 votes
by

What happens if the execution of a smart contract costs more than the specified gas?

Initially, your transaction will be executed, but if the execution of a smart contract costs more than the specified gas, then the miners will stop validating your contract. The Blockchain will record the transaction as failed, also the user doesn’t get a refund.

Related questions

+4 votes
asked Aug 14, 2019 in BlockChain by rahulsharma
+1 vote
asked Sep 16, 2019 in BlockChain by john ganales
...