Use correct lot sizes in tests
requestNewKeep reverts the transaction if lot size it not supported and
although those tests are passing without a valid lot size - they revert
TX before lot size is validated - it's better to use a valid lot size
for clarity.
@@ -95,7 +95,7 @@ describe("TBTCSystem", async function() {
it("reverts if caller does not match a valid TDT", async () => {
await expectRevert(
- tbtcSystem.requestNewKeep(1, maxSecuredLifetime, {
+ tbtcSystem.requestNewKeep(10 ** 8, maxSecuredLifetime, {
value: openKeepFee,
from: accounts[0],
}),
@@ -105,7 +105,7 @@ describe("TBTCSystem", async function() {
it("reverts if caller is the owner of a valid TDT", async () => {
await expectRevert(
- tbtcSystem.requestNewKeep(1, maxSecuredLifetime, {
+ tbtcSystem.requestNewKeep(10 ** 8, maxSecuredLifetime, {
value: openKeepFee,
from: tdtOwner,
}),
