1

Basically my question is, let's say a smart contract requires 50k of gas and I set my gas limit to 25k, is it an atomic operation or does it execute part of the contract until gas runs out?

Pedro
  • 55
  • 6

1 Answers1

1

If you run out of gas, all the changes to the state get reversed.