Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ERROR_INVALID_TREE_DEPTH

Error message for invalid Merkle tree depth.This error is thrown when attempting to create a Merkle tree with an invalid depth (too shallow or too deep). # When Thrown - Tree depth is 0 (too shallow) - Tree depth is >= 32 (too deep) - Invalid depth parameter during initialization # Resolution - Use a depth between 1 and 31 - Consider gas costs and storage requirements

Fully qualified path: obscura::errors::ERROR_INVALID_TREE_DEPTH

pub const ERROR_INVALID_TREE_DEPTH: felt252 = 'Invalid tree depth';