51 if (!maybe_instance.has_value()) {
56 .current_class_id =
FF(0),
57 .nullifier_root = tree_states.nullifier_tree.tree.root,
58 .public_data_tree_root = tree_states.public_data_tree.tree.root,
59 .retrieved_bytecodes_snapshot_before = before_snapshot,
60 .retrieved_bytecodes_snapshot_after = before_snapshot,
81 .nullifier_root = tree_states.nullifier_tree.tree.root,
82 .public_data_tree_root = tree_states.public_data_tree.tree.root,
83 .retrieved_bytecodes_snapshot_before = before_snapshot,
84 .retrieved_bytecodes_snapshot_after = before_snapshot,
85 .is_new_class = is_new_class,
105 BB_ASSERT(maybe_klass.has_value(),
"Contract class not found");
106 auto& klass = maybe_klass.value();
112 BB_ASSERT(maybe_bytecode_commitment.has_value(),
"Bytecode commitment not found");
113 BytecodeId bytecode_id = maybe_bytecode_commitment.value();
114 debug(
"Bytecode for ",
address,
" successfully retrieved!");
117 .bytecode_id = bytecode_id,
120 .contract_class = klass,
121 .nullifier_root = tree_states.nullifier_tree.tree.root,
122 .public_data_tree_root = tree_states.public_data_tree.tree.root,
123 .retrieved_bytecodes_snapshot_before = before_snapshot,
124 .retrieved_bytecodes_snapshot_after = snapshot_after,
125 .is_new_class = is_new_class,
138 bytecode_id, klass.packed_bytecode, bytecode_id);