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?
Asked
Active
Viewed 40 times
1 Answers
1
If you run out of gas, all the changes to the state get reversed.
Kostiantyn Kurbatskyi
- 994
- 3
- 10
-
Except transaction's used gas. – Rouhollah Joveini Jan 22 '22 at 15:34