Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lib/handlers/check-order-status/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,10 @@ export class CheckOrderStatusService {
case OrderType.Dutch_V2: // Approximation
fillTimeBlocks = fillBlock - timestampToBlockNumber(block, order.cosignerData.decayStartTime, chainId);
break;
case OrderType.Dutch_V3: // Exact
// Exact. NOTE: fillTimeBlocks for V3 is consumed by the RFQ circuit breaker
// in x-parameterization-api, which treats fillTimeBlocks >= 0 (filled on/after
// decayStartBlock) as a fade. Changing this calculation affects filler fade scoring.
case OrderType.Dutch_V3:
fillTimeBlocks = fillBlock - order.cosignerData.decayStartBlock;
break;
case OrderType.Priority: { // Approximation
Expand Down
Loading