From b9bbd16cef652820031b8e66c596e9867e9d201d Mon Sep 17 00:00:00 2001 From: Simon Perriard Date: Mon, 24 Feb 2025 17:30:27 +0100 Subject: [PATCH] chore: Add more details for reverting STATICCALL sub context --- docs/opcodes/FA.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/opcodes/FA.mdx b/docs/opcodes/FA.mdx index 21d1c8d1..49ce9686 100644 --- a/docs/opcodes/FA.mdx +++ b/docs/opcodes/FA.mdx @@ -35,3 +35,5 @@ Not allowed in EOFv1 code, code containing this instruction will fail validation The state changes done by the current context are [reverted](#FD) in those cases: - Not enough gas. - Not enough values on the stack. + +The state changes done by the sub context are [reverted](#FD) and all the remaining gas in the sub context is consumed if any of the disallowed state modifying instructions (see list above) is used by the sub context. \ No newline at end of file