Skip to content

Commit 9ebc05d

Browse files
committed
post rebase wip
1 parent 0e7750c commit 9ebc05d

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/test/unit/payments.compute.test.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,15 +163,9 @@ describe('computeAdjustmentForExactDaysWithPiece', () => {
163163
it('adds file requirements to existing usage', () => {
164164
// Scenario: Existing storage, adding another file
165165
const rateUsed = 1_000_000_000_000_000_000n // 1 USDFC/epoch
166-
<<<<<<< HEAD
167-
const lockupUsed = rateUsed * BigInt(10) * TIME_CONSTANTS.EPOCHS_PER_DAY // 10 days worth
166+
const lockupUsed = rateUsed * BigInt(30) * TIME_CONSTANTS.EPOCHS_PER_DAY // 30 days worth
168167
const filecoinPayBalance = (lockupUsed * 12n) / 10n // 20% buffer
169168
const status = makeStatus({ filecoinPayBalance, lockupUsed, rateUsed })
170-
=======
171-
const lockupUsed = rateUsed * BigInt(30) * TIME_CONSTANTS.EPOCHS_PER_DAY // 30 days worth
172-
const depositedAmount = (lockupUsed * 12n) / 10n // 20% buffer
173-
const status = makeStatus({ depositedAmount, lockupUsed, rateUsed })
174-
>>>>>>> 1b0898e (10 day grace period => 30 day grace period)
175169

176170
const pieceSizeBytes = 1024 * 1024 * 1024 // 1 GiB
177171
const pricePerTiBPerEpoch = 1_000_000_000_000_000n // 0.001 USDFC per TiB per epoch

0 commit comments

Comments
 (0)