Skip to content

fix in progress logs request - #800

Merged
Unheilbar merged 5 commits into
mainfrom
solcap_fix-ordering-in-progress-logs
Oct 5, 2026
Merged

Unheilbar merged 5 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

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.

Seems like with the processed event handling we no longer need to fetch multiple events. It's enough to get 1, no?

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.

what if eventProcessed never reached? e.g. Receiver execution contract reverted. We still want to return reverted TxHash deterministically

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.

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

Comment thread chain_capabilities/solana/actions/transmission_info_provider.go
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.

Seems like with the processed event handling we no longer need to fetch multiple events. It's enough to get 1, no?

dhaidashenko
dhaidashenko previously approved these changes Oct 5, 2026
@cl-sonarqube-production

Copy link
Copy Markdown

@Unheilbar
Unheilbar added this pull request to the merge queue Oct 5, 2026
Merged via the queue into main with commit 1255981 Oct 5, 2026
20 checks passed
@Unheilbar
Unheilbar deleted the solcap_fix-ordering-in-progress-logs branch October 5, 2026 17:28
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