Skip to content

Commit

Permalink
docs: added comment pointing to the created issue
Browse files Browse the repository at this point in the history
  • Loading branch information
sirasistant committed Aug 29, 2023
1 parent ff46ce9 commit 204386f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions yarn-project/aztec-node/src/aztec-node/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@ export class AztecNodeService implements AztecNode {
const prevGlobalVariables = (await this.blockSource.getL2Block(-1))?.globalVariables ?? GlobalVariables.empty();

// Instantiate merkle trees so uncommited updates by this simulation are local to it.
// TODO we should be able to remove this after https://github.com/AztecProtocol/aztec-packages/issues/1869
// So simulation of public functions doesn't affect the merkle trees.
const merkleTrees = new MerkleTrees(this.merkleTreesDb, this.log);
await merkleTrees.init(await CircuitsWasm.get(), {
globalVariables: prevGlobalVariables,
Expand Down

0 comments on commit 204386f

Please sign in to comment.