We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff46ce9 commit 204386fCopy full SHA for 204386f
yarn-project/aztec-node/src/aztec-node/server.ts
@@ -390,6 +390,8 @@ export class AztecNodeService implements AztecNode {
390
const prevGlobalVariables = (await this.blockSource.getL2Block(-1))?.globalVariables ?? GlobalVariables.empty();
391
392
// Instantiate merkle trees so uncommited updates by this simulation are local to it.
393
+ // TODO we should be able to remove this after https://github.com/AztecProtocol/aztec-packages/issues/1869
394
+ // So simulation of public functions doesn't affect the merkle trees.
395
const merkleTrees = new MerkleTrees(this.merkleTreesDb, this.log);
396
await merkleTrees.init(await CircuitsWasm.get(), {
397
globalVariables: prevGlobalVariables,
0 commit comments