Skip to content

Commit

Permalink
fix broken build
Browse files Browse the repository at this point in the history
  • Loading branch information
William Cory authored and William Cory committed May 7, 2024
1 parent a2165bf commit f2cb9a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/vm/src/vm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class VM {
* set to public due to implementation internals
* @hidden
*/
public readonly _emit(topic: keyof VMEvents, data: any): Promise<void> {
public _emit(topic: keyof VMEvents, data: any): Promise<void> {
return new Promise((resolve) => this.events.emit(topic, data, resolve))
}

Expand Down Expand Up @@ -104,7 +104,7 @@ export class VM {
const profilerOpts = opts.profilerOpts
if (profilerOpts.reportAfterBlock === true && profilerOpts.reportAfterTx === true) {
throw new Error(
'Cannot have `reportProfilerAfterBlock` and `reportProfilerAfterTx` set to `true` at the same time'
'Cannot have `reportProfilerAfterBlock` and `reportProfilerAfterTx` set to `true` at the same time',
)
}
}
Expand Down Expand Up @@ -381,7 +381,7 @@ export class VM {
console.log(
`+== Calls: ${calls}, Total time: ${
Math.round(totalMs * 1e3) / 1e3
}ms, Total gas: ${totalGas}, MGas/s: ${mGasSAvg}, Blocks per Slot (BpS): ${bpSAvg} ==+`
}ms, Total gas: ${totalGas}, MGas/s: ${mGasSAvg}, Blocks per Slot (BpS): ${bpSAvg} ==+`,
)

// Generate and write the header
Expand Down

0 comments on commit f2cb9a8

Please sign in to comment.