Skip to content

Commit

Permalink
style: 🎨 format code
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmauro committed Mar 5, 2025
1 parent 51906a5 commit 54875ac
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion test/helpers/expect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ export async function expectSystemEvent(
return event;
}

export async function getAllBlockEvents(hash: string, context: DevModeContext): Promise<EventRecord[]> {
export async function getAllBlockEvents(
hash: string,
context: DevModeContext
): Promise<EventRecord[]> {
const apiAt = await context.polkadotJs().at(hash);
const events = await apiAt.query.system.events();
return events;
Expand Down
6 changes: 4 additions & 2 deletions test/suites/dev/moonbase/test-pov/test-max-pov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,13 +127,15 @@ describeSuite({
to: storageFillerAddress,
data: readData,
txnType: "eip1559",
gasLimit: gasEstimate * 120n / 100n,
gasLimit: (gasEstimate * 120n) / 100n,
});

const { result, block } = await context.createBlock(rawSigned);
const proofSize = block.proofSize ?? 0;

log(`Slots: ${count}, PoV size: ${proofSize} bytes(${(proofSize / (1024 * 1024)).toFixed(2)} MB), Success: ${result?.successful} `);
log(
`Slots: ${count}, PoV size: ${proofSize} bytes(${(proofSize / (1024 * 1024)).toFixed(2)} MB), Success: ${result?.successful} `
);
} catch (error) {
log(`Slots: ${count}, Error: ${error.message} `);
}
Expand Down

0 comments on commit 54875ac

Please sign in to comment.