From 42422e5844fb3ea523fbe997b0f98a1a3aefc4b4 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Mon, 7 Jul 2025 12:30:41 +0200 Subject: [PATCH] Reduce the colleral for the first availability --- tests/integration/30_minutes/testslotrepair.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/30_minutes/testslotrepair.nim b/tests/integration/30_minutes/testslotrepair.nim index 32a95959..9e1949d8 100644 --- a/tests/integration/30_minutes/testslotrepair.nim +++ b/tests/integration/30_minutes/testslotrepair.nim @@ -90,7 +90,7 @@ marketplacesuite(name = "SP Slot Repair"): totalSize = 2 * size.truncate(uint64), duration = duration, minPricePerBytePerSecond = minPricePerBytePerSecond, - totalCollateral = 3 * size * collateralPerByte, + totalCollateral = 2 * size * collateralPerByte, ) ).get let availability1 = ( @@ -128,6 +128,7 @@ marketplacesuite(name = "SP Slot Repair"): await provider0.client.patchAvailability( availabilityId = availability0.id, totalSize = (3 * size.truncate(uint64)).uint64.some, + totalCollateral = (3.u256 * size * collateralPerByte).some, ) await marketplaceSubscribe(SlotFilled, onSlotFilled)