-
https://preethikasireddy.medium.com/how-does-ethereum-work-anyway-22d1df506369
If the parent doesn't revert but an internal tx ran out of gas, doesn't that mean the parent gets reverted as well? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
A child execution is not passed all of the parent's gas, 1/64 is held back. This helps prevent a fork bomb from too many nested calls. But that also means the parent execution should have some gas remaining. |
Beta Was this translation helpful? Give feedback.
A child execution is not passed all of the parent's gas, 1/64 is held back. This helps prevent a fork bomb from too many nested calls. But that also means the parent execution should have some gas remaining.
https://ethereum.github.io/execution-specs/autoapi/ethereum/berlin/vm/gas/index.html#calculate-message-call-gas-stipend