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: handle potential concurrent system contracts insertion #378

Merged
merged 3 commits into from
Jan 22, 2025

Conversation

Romsters
Copy link
Collaborator

If indexer finds a contract deployment event for a system contract at the same time as system contracts service inserts it - there will be a collision. It can very likely happen especially after these events are added on the blockchain side for initial deployments of system contracts.

Copy link

github-actions bot commented Jan 22, 2025

API E2E Test Results

207 tests   207 ✅  19s ⏱️
 14 suites    0 💤
  1 files      0 ❌

Results for commit 6885e91.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Jan 22, 2025

Unit Test Results

    4 files    264 suites   12m 20s ⏱️
2 147 tests 2 146 ✅ 1 💤 0 ❌
2 361 runs  2 360 ✅ 1 💤 0 ❌

Results for commit 6885e91.

♻️ This comment has been updated with latest results.

Copy link

Visit the preview URL for this PR:
https://staging-scan-v2--pr-378-p9rb2wrq.web.app

@Romsters Romsters merged commit 24aecc3 into main Jan 22, 2025
23 checks passed
@Romsters Romsters deleted the fix-system-contracts-insert branch January 22, 2025 11:20
Copy link

🎉 This PR is included in version 2.60.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants