Skip to content

public-vm(aztec-nr): Add oracles and context for AVM opcodes #4313

Description

@Maddiaa0

Overview

The avm transpiler converts instances of brillig bytecode into avm bytecode, oracle calls in brillig are represented as foreign_call("oracle_name"). These are then swapped out for the avm opcode that gets the particular value.

Public calls have their own context for reading in such values, reading in global variables, or getting note externally

struct AvmContext {

}

We want to create an avm context that will enable the transpiler to insert the correct opcodes for fetching environment getters etc.

Activity

  1. changed the title [-]public-vm(aztec-nr): Add oracles for AVM opcodes[/-] [+]public-vm(aztec-nr): Add oracles and context for AVM opcodes[/+] on Jan 30, 2024
  2. self-assigned this
    on Jan 30, 2024
  3. added
    C-avmComponent: AVM related tickets (aka public VM)
    on Jan 30, 2024
  4. moved this from Todo to Done in A3on Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

C-avmComponent: AVM related tickets (aka public VM)

Type

No type

Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions