Module constants

Module constants 

Source
Expand description

Constants

Constantsยง

ALLOWED_FIELDS ๐Ÿ”’
Allowed fields for proofs
MAX_ARGS_PER_OPCODE ๐Ÿ”’
Maximum number of arguments per opcode
MAX_BIN_SIZE ๐Ÿ”’
Maximum allowed binary size (1M)
MAX_CONSTANTS ๐Ÿ”’
Maximum number of constants allowed
MAX_HEAP_SIZE ๐Ÿ”’
Maximum total heap size (constants + witnesses + assigned variables)
MAX_K ๐Ÿ”’
Maximum allowed k param (circuit rows = 2^k)
MAX_LITERALS ๐Ÿ”’
Maximum number of literals allowed
MAX_NS_LEN ๐Ÿ”’
Maximum allowed namespace length in bytes
MAX_OPCODES ๐Ÿ”’
Maximum number of opcodes allowed
MAX_RECURSION_DEPTH ๐Ÿ”’
Maximum recursion depth for nested function calls
MAX_STRING_LEN ๐Ÿ”’
Maximum string length for names
MAX_WITNESSES ๐Ÿ”’
Maximum number of witnesses allowed
MIN_BIN_SIZE ๐Ÿ”’
Minimum size allowed for a syntactically valid ZkBinary MAGIC_BYTES.length = 4; k = ##; = 6 (because the current upper-limit for k is a two-digit number Therefore 4 + 6 = 10 is the minimum size
SECTION_CIRCUIT ๐Ÿ”’
SECTION_CONSTANT ๐Ÿ”’
SECTION_DEBUG ๐Ÿ”’
SECTION_LITERAL ๐Ÿ”’
SECTION_WITNESS ๐Ÿ”’