Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(relayer): wait for confirmations before saving event when indexing #15603

Merged
merged 3 commits into from
Jan 29, 2024

Conversation

cyberhorsey
Copy link
Contributor

@cyberhorsey cyberhorsey commented Jan 29, 2024

We are experiencing some very rare (2-4 in 1 million) message ID comparison issues in the relayer indexing, this is most likely due to a re-org on the source chain due to not waiting for confirmations before indexing the event to the database.

As well, due to the removal of the .Raw.Removed flag check, we have some entries that got Removed due to reorg, but were still being indexed and stored.

Copy link

vercel bot commented Jan 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
bridge-ui-v2-a6 ✅ Ready (Inspect) Visit Preview Jan 29, 2024 8:34pm

Copy link

codecov bot commented Jan 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (alpha-6@7c9f5a8). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             alpha-6   #15603   +/-   ##
==========================================
  Coverage           ?   27.01%           
==========================================
  Files              ?      102           
  Lines              ?     6078           
  Branches           ?        0           
==========================================
  Hits               ?     1642           
  Misses             ?     4256           
  Partials           ?      180           
Flag Coverage Δ *Carryforward flag
eventindexer 17.28% <0.00%> (?) Carriedforward from 17e32b7
guardian-prover-health-check 36.13% <0.00%> (?) Carriedforward from 17e32b7
relayer 37.95% <0.00%> (?)

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidtaikocha davidtaikocha added this pull request to the merge queue Jan 29, 2024
Merged via the queue into alpha-6 with commit ad5f5e1 Jan 29, 2024
19 checks passed
@davidtaikocha davidtaikocha deleted the relayer_incorrect_msg_fix branch January 29, 2024 23:48
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.

3 participants