Skip to content

What happens when an internal transaction reverts but the parent execution does not? #23

Answered by siladu
siladu asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

siladu
Aug 16, 2022
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by siladu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant