We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dca5b35 commit 07e0218Copy full SHA for 07e0218
yarn-project/aztec.js/src/utils/cheat_codes.ts
@@ -319,7 +319,16 @@ export class RollupCheatCodes {
319
return await this.rollup.read.getEpochAtSlot([slotNumber]);
320
}
321
322
- public async getTips(): Promise<{ pending: bigint; proven: bigint }> {
+ /**
323
+ * Returns the pending and proven chain tips
324
+ * @returns The pending and proven chain tips
325
+ */
326
+ public async getTips(): Promise<{
327
+ /** The pending chain tip */
328
+ pending: bigint;
329
+ /** The proven chain tip */
330
+ proven: bigint;
331
+ }> {
332
const [pending, proven] = await this.rollup.read.tips();
333
return { pending, proven };
334
0 commit comments