You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A smart contract call can generate new receipts which can generate new receipts and so on. The maximum depth of such tree of receipts is currently dictated by the gas costs and equals around ~60 for mainnet. After the decrease in the function call base cost (#10943), this depth will increase to at least 100.
It would be a useful safety feature to limit this depth to some fixed value (e.g. current 60) regardless of the gas costs to make it easier to reason about the system and avoid unwanted infinite-depth recursion.
The text was updated successfully, but these errors were encountered:
A smart contract call can generate new receipts which can generate new receipts and so on. The maximum depth of such tree of receipts is currently dictated by the gas costs and equals around ~60 for mainnet. After the decrease in the function call base cost (#10943), this depth will increase to at least 100.
It would be a useful safety feature to limit this depth to some fixed value (e.g. current 60) regardless of the gas costs to make it easier to reason about the system and avoid unwanted infinite-depth recursion.
The text was updated successfully, but these errors were encountered: