"Hubble Hub Rescued from the Brink: Critical Crash Fix Unveiled!"
"New Update Enhances Error Handling and Boosts Stability in Contract Event Processing for Ethereum Networks, Ensuring a Smooth User Experience."
Commit Details:
fix: hub crash on contract events (#1759) ## Motivation - There are edge cases where hubs will panic when viem contract event calls fail ## Change Summary - Bubble errors from stop and restart for watch contract events - Add neverthrow wrapper around calls to sync historical events ## Merge Checklist _Choose all relevant options below by adding an `x` now or at any time before submitting for review_ - [x] PR title adheres to the [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/) standard - [ ] PR has a [changeset](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#35-adding-changesets) - [x] PR has been tagged with a change label(s) (i.e. documentation, feature, bugfix, or chore) - [ ] PR includes [documentation](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#32-writing-docs) if necessary. - [x] All [commits have been signed](https://github.com/farcasterxyz/hub-monorepo/blob/main/CONTRIBUTING.md#22-signing-commits) ## Additional Context If this is a relatively large or complex change, provide more details here that will help reviewers <!-- start pr-codex --> --- ## PR-Codex overview The focus of this PR is to enhance error handling and retry logic in the Hubble application for Ethereum and Optimism networks. ### Detailed summary - Increased retry count and added retry delay for RPC calls - Improved error handling with `HubError` and `HubResult` - Enhanced restart and stop methods with error handling and logging > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->