Skip to content

fix(sdk): fall back to V3.5 logs when the V3 query returns an empty array - #278

Open
AnkitSingh411 wants to merge 1 commit into
across-protocol:masterfrom
AnkitSingh411:fix/v3-logs-fallback
Open

AnkitSingh411 wants to merge 1 commit into
across-protocol:masterfrom
AnkitSingh411:fix/v3-logs-fallback

Conversation

@AnkitSingh411

Copy link
Copy Markdown

getDepositLogs and getFillLogs returned 'v3Logs ?? v3_5Logs'. viem
getLogs returns [] (not null) when nothing matches, and [] is not
nullish, so the V3.5 result was discarded whenever the V3 query was
empty. SpokePool no longer emits V3FundsDeposited or FilledV3Relay, so
this broke the by-id deposit lookup and the fill-log fallback for every
current deposit and fill. Check the array length instead.

…rray

getDepositLogs and getFillLogs returned 'v3Logs ?? v3_5Logs'. viem
getLogs returns [] (not null) when nothing matches, and [] is not
nullish, so the V3.5 result was discarded whenever the V3 query was
empty. SpokePool no longer emits V3FundsDeposited or FilledV3Relay, so
this broke the by-id deposit lookup and the fill-log fallback for every
current deposit and fill. Check the array length instead.
@vercel

vercel Bot commented Nov 7, 2026

Copy link
Copy Markdown

@AnkitSingh411 is attempting to deploy a commit to the UMA Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot

changeset-bot Bot commented Nov 7, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 31dda20

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@across-protocol/app-sdk Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

This branch has not been deployed

No deployments
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.

1 participant