Skip to content

Conversation

@faisal-chainlink
Copy link
Collaborator

What's in the PR?

Adds a field is_synthetic to the sui.events table which is used to separate synthetic ExecuteStateChanged events when querying for the latest offset in the Events Indexer.

Why?

Sui RPCs return inconsistent results when using a txDigest of a function call that aborted. This can cause resending a CCIP message that has actually succeeded as the success event never gets inserted.

@faisal-chainlink faisal-chainlink requested a review from a team as a code owner January 8, 2026 01:18
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

👋 faisal-chainlink, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

@stackman27 stackman27 merged commit 2e58711 into develop Jan 8, 2026
29 checks passed
@stackman27 stackman27 deleted the fix/use-synth-events-flag branch January 8, 2026 15:23
faisal-chainlink added a commit that referenced this pull request Jan 8, 2026
…est for offsets (#312)

* add a field is_synthetic to events table to avoid using incorrect digests for offsets

* minor refactoring
faisal-chainlink added a commit that referenced this pull request Jan 8, 2026
…est for offsets (#312)

* add a field is_synthetic to events table to avoid using incorrect digests for offsets

* minor refactoring
stackman27 added a commit that referenced this pull request Jan 8, 2026
* snake to camel case (#313)

* Add a field is_synthetic to events table to avoid using incorrect digest for offsets (#312)

* add a field is_synthetic to events table to avoid using incorrect digests for offsets

* minor refactoring

---------

Co-authored-by: Faisal <[email protected]>
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