pub fn prepare_smt_proof(key: &BigInt, max_levels: usize) -> SMTProofExpand description
Prepare an SMT proof after pre-populating the tree with values 0..100
Creates a new sparse Merkle tree, inserts values from 0 to 100 (or up to 2^max_levels), and generates a proof for the specified key. The proof includes siblings padded to max_levels with zeros.
§Arguments
key- Key to generate a proof formax_levels- Maximum number of tree levels (siblings will be padded to this length)
§Returns
Returns an SMTProof containing the proof data for the specified key.