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
We want to create an avm context that will enable the transpiler to insert the correct opcodes for fetching environment getters etc.
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
We want to create an avm context that will enable the transpiler to insert the correct opcodes for fetching environment getters etc.