Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
fcarreiro committed Apr 2, 2024
1 parent c49c23d commit c5fb078
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
L2ToL1Message,
type ReadRequest,
SideEffect,
type SideEffectLinkedToNoteHash,
SideEffectLinkedToNoteHash,
} from '@aztec/circuits.js';
import { Fr } from '@aztec/foundation/fields';

Expand Down Expand Up @@ -95,7 +95,9 @@ export function temporaryConvertAvmResults(
const nestedExecutions: PublicExecutionResult[] = [];
const nullifierReadRequests: ReadRequest[] = [];
const nullifierNonExistentReadRequests: ReadRequest[] = [];
const newNullifiers: SideEffectLinkedToNoteHash[] = [];
const newNullifiers: SideEffectLinkedToNoteHash[] = newWorldState.newNullifiers.map(
(nullifier, i) => new SideEffectLinkedToNoteHash(nullifier.toField(), Fr.zero(), new Fr(i + 1)),
);
const unencryptedLogs = UnencryptedFunctionL2Logs.empty();
const newL2ToL1Messages = newWorldState.newL1Messages.map(() => L2ToL1Message.empty());
// TODO keep track of side effect counters
Expand Down

0 comments on commit c5fb078

Please sign in to comment.