Skip to content

feat: periodic recovery after WS failure#225

Merged
kss-t1 merged 1 commit into
canaryfrom
feat/sealed-bid-auction/periodical-ws-catchup
Jan 7, 2026
Merged

feat: periodic recovery after WS failure#225
kss-t1 merged 1 commit into
canaryfrom
feat/sealed-bid-auction/periodical-ws-catchup

Conversation

@kss-t1

@kss-t1 kss-t1 commented Jan 3, 2026

Copy link
Copy Markdown
Member

Description

After WebSocket hangs up, tries to reconnect and process missed blocks every 5 seconds. This replaces processing of missed blocks which was triggered in onLogs binding - and required waiting for next intent do be opened.

Motivation and Context

Needed for missed intents to be processed ASAP after WebSocket reconnects. That prevents them from hitting their fillDeadline and also improves UX.

How Has This Been Tested?

Tested on a local instance of sealed-bid-auction with solverBot.ts , against mainnet v09 contracts.

Types of changes (remove all unchecked types)

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Style (style only changes)
  • Docs
  • Refactor (code that does not add new functionality nor fixes a bug)

Checklist:

  • If my change requires a change to the documentation, I have updated the documentation accordingly, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.
  • If my change requires additions or updates to any deployment scripts to ensure that the protocol is functional (Makefile, Dockerfile, Forge Script, etc.), I have made these changes, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.
  • If my change requires additional test coverage, I have created those tests accordingly, and in either case, have checked this box to attest to my assessment of this requirement with regard to my change.

Comment thread tee-apps/sealed-bid-auction/src/blockchain/ViemIntentObserver.ts

@evchip evchip left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean code! thanks

@kss-t1 kss-t1 merged commit 029e30f into canary Jan 7, 2026
4 checks passed
@kss-t1 kss-t1 deleted the feat/sealed-bid-auction/periodical-ws-catchup branch January 7, 2026 12:17
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