Skip to content

Commit

Permalink
feat: batch simulate (#6599)
Browse files Browse the repository at this point in the history
Closes: AztecProtocol/aztec-packages#6549

Also removes `FunctionData` from `TxExecutionRequest` and a bunch of
other places, in favor of just the `FunctionSelector`(which is actually
what's needed). This was missed from #3417 and was driving me crazy when
trying to add a few more things to `FunctionCall`. It had also leaked
somehow into the AVM enqueued calls.
  • Loading branch information
Thunkar authored and AztecBot committed May 24, 2024
1 parent 8fa05c9 commit e6cff35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aztec/src/oracle/enqueue_public_function_call.nr
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ pub fn parse_public_call_stack_item_from_oracle(fields: [Field; ENQUEUE_PUBLIC_F
// there is no more data in fields because there is only ENQUEUE_PUBLIC_FUNCTION_CALL_RETURN_SIZE fields!
let item = PublicCallStackItem {
contract_address: AztecAddress::from_field(reader.read()),
function_data: reader.read_struct(FunctionData::deserialize),
function_data: FunctionData { selector: FunctionSelector::from_field(reader.read()), is_private: false },
public_inputs: PublicCircuitPublicInputs {
call_context: reader.read_struct(CallContext::deserialize),
args_hash: reader.read(),
Expand Down

0 comments on commit e6cff35

Please sign in to comment.