Skip to content

Commit

Permalink
remove some as anys
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Nov 22, 2022
1 parent 250e615 commit 5c9294a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/tests/test-xcm/test-mock-dmp-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describeDevMoonbeam("Mock XCMP - test XCMP execution", (context) => {

// xcmp reserved is BLOCK/4
const totalDmpWeight =
(context.polkadotApi.consts.system.blockWeights as any).maxBlock.refTime.toBigInt() /
context.polkadotApi.consts.system.blockWeights.maxBlock.refTime.toBigInt() /
BigInt(4);

// we want half of numParaMsgs to be executed. That give us how much each message weights
Expand Down
4 changes: 2 additions & 2 deletions tests/tests/test-xcm/test-mock-hrmp-queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describeDevMoonbeam("Mock XCMP - test XCMP execution", (context) => {

// xcmp reserved is BLOCK/4
const totalXcmpWeight =
(context.polkadotApi.consts.system.blockWeights as any).maxBlock.refTime.toBigInt() /
context.polkadotApi.consts.system.blockWeights.maxBlock.refTime.toBigInt() /
BigInt(4);

// we want half of numParaMsgs to be executed. That give us how much each message weights
Expand Down Expand Up @@ -254,7 +254,7 @@ describeDevMoonbeam("Mock XCMP - test XCMP execution", (context) => {

// xcmp reserved is BLOCK/4
const totalXcmpWeight =
(context.polkadotApi.consts.system.blockWeights as any).maxBlock.refTime.toBigInt() /
context.polkadotApi.consts.system.blockWeights.maxBlock.refTime.toBigInt() /
BigInt(4);

// we want half of numParaMsgs to be executed. That give us how much each message weights
Expand Down

0 comments on commit 5c9294a

Please sign in to comment.