Skip to content

fix in progress logs request - #800

Open
Unheilbar wants to merge 4 commits into
mainfrom
solcap_fix-ordering-in-progress-logs
Open

Unheilbar wants to merge 4 commits into
mainfrom
solcap_fix-ordering-in-progress-logs

Conversation

@Unheilbar

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown
Contributor

👋 Unheilbar, 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!

return nil
}

const inProgressLogsLimit = 20

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this supposed to be 20 or 2? From Dmytro's comment in the original thread

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

basically we need to ensure we deterministically handle the case when more than 1 transmission revert happened in 1 block. Since previously we had limit 1, it wasn't clear if we get the same transaction on all the nodes in the don. This number is arbitrary, since the chance of even 2 transmission in 1 block is quite low

silaslenihan
silaslenihan previously approved these changes Sep 24, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the first transaction reverts and the second succeeds, won't we return here success and sig of a reverted tx?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, updated to retreive signature from ReportProcessed log

@cl-sonarqube-production

Copy link
Copy Markdown

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