Skip to main content

UNDECODABLE_INSTRUCTION

Constant UNDECODABLE_INSTRUCTION 

Source
pub const UNDECODABLE_INSTRUCTION: ContractInstruction;
Expand description

Instruction stored by BasicEagerInstructions::decode() in slots whose bytes do not decode into a valid instruction.

Contract code is only expected to contain legal instructions, so this is only reachable by jumping into the middle of one.