chore(fallback): migrate to fallback rpc endpoint for log data#124
Merged
chore(fallback): migrate to fallback rpc endpoint for log data#124
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Author
|
Prod deployed and smoke testing looks good: The only error is a 429 on Corn: |
1d0baba to
18d6866
Compare
jonator
approved these changes
Mar 2, 2026
haydenshively
approved these changes
Mar 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
eth_getLogstransport from the Marble/Ponder indexer (v1-indexer.marble.live) to the new fallback-rpc caching proxy (fallback-rpc.vercel.app)createPonderHttptocreateFallbackRpcHttpto reflect the new backing serviceDetails
The fallback app previously relied on
https://v1-indexer.marble.live/rpc/{chainId}as a prioritizedeth_getLogstransport. This PR swaps it tohttps://fallback-rpc.vercel.app/{chainId}, a new caching proxy that serves the same role -- accepting onlyeth_getLogsrequests and caching results. The transport config (batch: false,methods: { include: ["eth_getLogs"] }) and all call sites remain unchanged.Comments were added to
earn-subpage.tsxandborrow-subpage.tsxto document which event names (CreateMetaMorpho,SupplyCollateral) are explicitly whitelisted by the private RPC log service.Test plan
eth_getLogsrequests route tofallback-rpc.vercel.appon chains with full support (Mainnet, Base, Polygon, Unichain, Katana, Arbitrum, HyperEVM, Monad, Stable, Sei, TAC)