Skip to content

Commit

Permalink
feat: Allow nested arrays and vectors in Brillig foreign calls (#4478)
Browse files Browse the repository at this point in the history
This PR mirrors the changes of
#4404 to make them
easier to merge

---------

Co-authored-by: Gustavo Giráldez <ggiraldez@manas.tech>
  • Loading branch information
sirasistant and ggiraldez committed Feb 7, 2024
1 parent b4acc8c commit bbfa337
Show file tree
Hide file tree
Showing 27 changed files with 2,031 additions and 1,225 deletions.
2 changes: 1 addition & 1 deletion avm-transpiler/src/transpile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ pub fn brillig_to_avm(brillig: &Brillig) -> Vec<u8> {
..Default::default()
});
},
BrilligOpcode::ForeignCall { function, destinations, inputs } => {
BrilligOpcode::ForeignCall { function, destinations, inputs, destination_value_types:_, input_value_types:_ } => {
handle_foreign_call(&mut avm_instrs, function, destinations, inputs);
},
_ => panic!(
Expand Down
Loading

0 comments on commit bbfa337

Please sign in to comment.