As part of the new message boxes as described in the yellow-paper: https://yp-aztec.netlify.app/docs/l1-smart-contracts/ consumption needs to provide a merkle membership proof.
Since each of the trees are dependent only on transactions within the same block, we should add an api to the node that given a specific block number and message, can create the outgoing message tree (of l2 to l1 messages) and use it to build the membership proof.
As part of the new message boxes as described in the yellow-paper: https://yp-aztec.netlify.app/docs/l1-smart-contracts/ consumption needs to provide a merkle membership proof.
Since each of the trees are dependent only on transactions within the same block, we should add an api to the node that given a specific block number and message, can create the outgoing message tree (of l2 to l1 messages) and use it to build the membership proof.