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

▼ Show 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.

BlockChain
Learn More with Madanswer

Related questions

0 votes
asked Nov 16, 2020 in BlockChain by rajeshsharma
...