Skip to content

fix(svm): validate fill-status event ownership#1489

Draft
md0x wants to merge 1 commit into
masterfrom
pablo/fix-derived-event-filter
Draft

fix(svm): validate fill-status event ownership#1489
md0x wants to merge 1 commit into
masterfrom
pablo/fix-derived-event-filter

Conversation

@md0x

@md0x md0x commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

Recompute the fill-status PDA from each candidate FilledRelay and RequestedSlowFill event before using it for fill lookup or status reconstruction. This prevents an unrelated event from a transaction that merely mentions the queried PDA from being attributed to that relay.

Test plan

  • yarn hardhat test test/Solana.SvmFillStatusEvents.unit.test.ts test/Solana.SvmCpiEventsClient.ForgedEvent.unit.test.ts
  • yarn build:types
  • Targeted ESLint and Prettier checks

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