From c30f42bb5fbbbc6fa6cec51e14f4850cfc74a727 Mon Sep 17 00:00:00 2001 From: Hannes Karppila Date: Wed, 22 May 2024 22:01:32 +0200 Subject: [PATCH] Clarify that non-zero reserved part causes vm panic --- src/fuel-vm/instruction-set.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fuel-vm/instruction-set.md b/src/fuel-vm/instruction-set.md index e9089e10..a96896d1 100644 --- a/src/fuel-vm/instruction-set.md +++ b/src/fuel-vm/instruction-set.md @@ -127,7 +127,7 @@ This page provides a description of all instructions for the FuelVM. Encoding is ### Panics -Some instructions may _panic_, i.e. enter an unrecoverable state. Additionally, attempting to execute an instruction not in this list causes a panic and consumes no gas. How a panic is handled depends on [context](./index.md#contexts): +Some instructions may _panic_, i.e. enter an unrecoverable state. Additionally, attempting to execute an instruction not in this list causes a panic and consumes no gas. Instructions with unspecified (reserved) part having a non-zero value will likewise panic. How a panic is handled depends on [context](./index.md#contexts): - In a predicate context, cease VM execution and return `false`. - In other contexts, revert (described below).