Skip to content

fix(sdk): auction-based bid collection & blockTime fix#750

Merged
seunlanlege merged 1 commit intomainfrom
fix/auction-time-blocktime
Apr 3, 2026
Merged

fix(sdk): auction-based bid collection & blockTime fix#750
seunlanlege merged 1 commit intomainfrom
fix/auction-time-blocktime

Conversation

@seunlanlege
Copy link
Copy Markdown
Member

Summary

  • Replace minBids with required auctionTimeMs — waits for the auction duration to collect bids before selecting the best one, rather than proceeding as soon as a minimum count is reached
  • Fix blockTime sleep calculation in deadlineStreamchain.blockTime from viem is already in milliseconds, so the * 1_000 multiplier was making the sleep 1000x too long
  • Patch bump SDK to 1.9.1

Test plan

  • Verify auction timer collects bids for the full duration before selecting
  • Verify deadline stream sleeps for correct duration per block
  • Confirm execute and resume require auctionTimeMs

Replace minBids with required auctionTimeMs to collect bids for a
fixed duration before selecting the best one. Fix blockTime sleep
calculation — viem's chain.blockTime is already in milliseconds,
removing the redundant * 1_000 multiplier.
@seunlanlege seunlanlege merged commit cefdb19 into main Apr 3, 2026
1 check passed
@seunlanlege seunlanlege deleted the fix/auction-time-blocktime branch April 3, 2026 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants