We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7d704f commit caee3f4Copy full SHA for caee3f4
src/frontend/mod.rs
@@ -826,10 +826,14 @@ impl MainPodCompiler {
826
fn compile_op(&self, op: &Operation) -> Result<middleware::Operation> {
827
// TODO
828
let mop_code: OperationType = op.0.clone();
829
+ // TODO: Take Merkle proof into account.
830
let mop_args =
831
op.1.iter()
- .flat_map(|arg| self.compile_op_arg(arg).map(|s| Ok(s.try_into()?)))
832
- .collect::<Result<Vec<middleware::Statement>>>()?;
+ .flat_map(|arg| {
833
+ self.compile_op_arg(arg)
834
+ .map(|s| Ok(middleware::OperationArg::Statement(s.try_into()?)))
835
+ })
836
+ .collect::<Result<Vec<_>>>()?;
837
middleware::Operation::op(mop_code, &mop_args)
838
}
839
0 commit comments