Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pLabarta committed Oct 7, 2024
1 parent 3f743d9 commit 8d72941
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/helpers/block.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ export const verifyBlockFees = async (
"refTime" in fee.weight
? fee.weight
: {
refTime: fee.weight,
proofSize: 0n,
}
refTime: fee.weight,
proofSize: 0n,
}
)
).toBigInt();
const multiplier = await apiAt.query.transactionPayment.nextFeeMultiplier();
Expand Down Expand Up @@ -302,7 +302,7 @@ export const verifyLatestBlockFees = async (

export async function jumpToRound(context: DevModeContext, round: number): Promise<string | null> {
let lastBlockHash = "";
for (; ;) {
for (;;) {
const currentRound = (
await context.polkadotJs().query.parachainStaking.round()
).current.toNumber();
Expand Down Expand Up @@ -335,14 +335,14 @@ export function extractPreimageDeposit(
request:
| Option<ITuple<[AccountId20, u128]>>
| {
readonly deposit: ITuple<[AccountId20, u128]>;
readonly len: u32;
}
readonly deposit: ITuple<[AccountId20, u128]>;
readonly len: u32;
}
| {
readonly deposit: Option<ITuple<[AccountId20, u128]>>;
readonly count: u32;
readonly len: Option<u32>;
}
readonly deposit: Option<ITuple<[AccountId20, u128]>>;
readonly count: u32;
readonly len: Option<u32>;
}
) {
const deposit = "deposit" in request ? request.deposit : request;
if ("isSome" in deposit && deposit.isSome) {
Expand Down

0 comments on commit 8d72941

Please sign in to comment.