Skip to content

Commit 9f97dee

Browse files
committed
fix
1 parent 82e6e59 commit 9f97dee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

yarn-project/pxe/src/contract_function_simulator/oracle/private_execution_oracle.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@ export class PrivateExecutionOracle extends UtilityExecutionOracle implements IP
209209
);
210210

211211
const index = await this.#getIndexToUseForSecret(secret);
212+
this.log.debug(
213+
`Incrementing tagging index for sender: ${sender}, recipient: ${recipient}, contract: ${this.contractAddress} to ${index}`,
214+
);
215+
this.taggingIndexCache.setLastUsedIndex(secret, index);
216+
212217
return Tag.compute({ secret, index });
213218
}
214219

0 commit comments

Comments
 (0)