Skip to content

Commit

Permalink
little touch up
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed Dec 2, 2024
1 parent 58aa154 commit 8a9dee8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion yarn-project/circuit-types/src/tx_execution_request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,6 @@ export class TxExecutionRequest {
}

[inspect.custom]() {
return `TxExecutionRequest(${this.functionSelector}(${this.argsOfCalls.map(arg => arg.toString()).join(', ')}))`;
return `TxExecutionRequest(${this.origin} called ${this.functionSelector})`;
}
}
4 changes: 2 additions & 2 deletions yarn-project/end-to-end/src/spartan/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ export async function awaitL2BlockNumber(
await sleep(1000);
tips = await rollupCheatCodes.getTips();
}
if (Date.now() >= endTime) {
throw new Error(`Timeout waiting for L2 Block ${blockNumber}`);
if (tips.pending < blockNumber) {
throw new Error(`Timeout waiting for L2 Block ${blockNumber}, only reached ${tips.pending}`);
} else {
logger.info(`Reached L2 Block ${tips.pending}`);
}
Expand Down

0 comments on commit 8a9dee8

Please sign in to comment.