noir
noir copied to clipboard
Please implement deflating heap arrays from foregin calls
Aim
I want to receive a two dimensional array from an oracle.
Expected Behavior
It works
Bug
The application panicked (crashed).
Message: not implemented: deflattening heap arrays from foreign calls
Location: /Users/runner/work/noir/noir/acvm-repo/brillig_vm/src/lib.rs:295
To Reproduce
- Create an oracle that returns a 2d array
- Try to compile
Project Impact
Nice-to-have
Impact Context
Without this - I need to linearise arrays and have serde logic in Noir
Workaround
Yes
Workaround Description
custom serde
Additional Context
No response
Installation Method
Binary (noirup
default)
Nargo Version
nargo version = 0.25.0 noirc version = 0.25.0+3ad88696ab63d8b1838b4ca7e9a3a97f823ca976
NoirJS Version
No response
Would you like to submit a PR for this Issue?
None
Support Needs
No response