From cf08aeee046c142a660f7979a67f2f67486ec5b1 Mon Sep 17 00:00:00 2001 From: Hans Svensson Date: Fri, 10 Dec 2021 11:29:04 +0100 Subject: [PATCH] Clarify documentation on protected calls --- docs/sophia_features.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/sophia_features.md b/docs/sophia_features.md index 9697c6e..8ef1481 100644 --- a/docs/sophia_features.md +++ b/docs/sophia_features.md @@ -99,6 +99,9 @@ running out of gas it is necessary to set a gas limit using the `gas` argument. However, note that errors that would normally consume all the gas in the transaction still only uses up the gas spent running the contract. +Any side effects (state change, token transfers, etc.) made by a failing +protected call is rolled back, just like they would be in the unprotected case. + ### Contract factories and child contracts