Skip to content

Commit

Permalink
fix rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
undercover-cactus committed Oct 15, 2024
1 parent f947226 commit 17fca66
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/suites/integration/bsp/storage-capacity.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,12 +215,11 @@ describeBspNet("BSPNet: Validating max storage", ({ before, it, createUserApi, c

// Assert that the capacity has changed.
await bspApi.assert.eventPresent("providers", "CapacityChanged");
});

const updatedCapacity = BigInt(bspApi.shConsts.JUMP_CAPACITY_BSP + newCapacity);
const bspCapacityAfter = await bspApi.query.providers.backupStorageProviders(
bspApi.shConsts.DUMMY_BSP_ID
);
assert.strictEqual(bspCapacityAfter.unwrap().capacity.toBigInt(), updatedCapacity);
});
});
});

0 comments on commit 17fca66

Please sign in to comment.