28 for (
const auto&
event : events) {
29 bool exists =
event.leaf_value ==
event.msg_hash;
30 FF leaf_value_msg_hash_diff =
event.leaf_value -
event.msg_hash;
33 { { { C::l1_to_l2_message_tree_check_sel, 1 },
34 { C::l1_to_l2_message_tree_check_exists,
exists },
35 { C::l1_to_l2_message_tree_check_msg_hash,
event.msg_hash },
36 { C::l1_to_l2_message_tree_check_leaf_index,
event.leaf_index },
37 { C::l1_to_l2_message_tree_check_root,
event.snapshot.root },
38 { C::l1_to_l2_message_tree_check_leaf_value,
event.leaf_value },
39 { C::l1_to_l2_message_tree_check_leaf_value_msg_hash_diff_inv,
40 leaf_value_msg_hash_diff },
46 trace.invert_columns({ { C::l1_to_l2_message_tree_check_leaf_value_msg_hash_diff_inv } });