mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-08 00:13:08 +00:00
Reduce the colleral for the first availability
This commit is contained in:
parent
5f8a6a9817
commit
42422e5844
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user