Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use CallData and ReturnData for params/returns instead of memory #4159

Closed
Tracked by #4033
sirasistant opened this issue Jan 25, 2024 · 1 comment
Closed
Tracked by #4033
Assignees
Labels
brillig Unconstrained functions / brillig IR enhancement New feature or request

Comments

@sirasistant
Copy link
Contributor

sirasistant commented Jan 25, 2024

Introduce the calldatacopy instruction and include return data address in the stop opcode.

@sirasistant sirasistant mentioned this issue Jan 25, 2024
12 tasks
@sirasistant sirasistant self-assigned this Jan 25, 2024
@sirasistant sirasistant added enhancement New feature or request brillig Unconstrained functions / brillig IR labels Jan 25, 2024
sirasistant added a commit to AztecProtocol/aztec-packages that referenced this issue Jan 30, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
AztecBot pushed a commit to AztecProtocol/barretenberg that referenced this issue Jan 31, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
@sirasistant
Copy link
Contributor Author

Merged on aztec-packages, will come to the noir repo in #4216

michaelelliot pushed a commit to Swoir/noir_rs that referenced this issue Feb 28, 2024
This PR adds:
 - Memory only brillig noir-lang/noir#4158
 - Calldata and returndata noir-lang/noir#4159

We reserve some memory slots at the start of the memory space. We
reserve 1024 items for the stack frame, the calldata size and the
returndata size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
brillig Unconstrained functions / brillig IR enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants