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

CB-5369. Added API for transaction log for commits #3183

Merged
merged 27 commits into from
Jan 14, 2025

Conversation

DenisSinelnikov
Copy link
Contributor

No description provided.

Comment on lines 45 to 46
this.promise = payload.transaction.getLogs();
const logs = await this.promise;
Copy link
Member

Choose a reason for hiding this comment

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

Promise is used by useAutoLoad with suspense. Current implementation may not work in some cases (because there is a chance that load will be called every re-render because of losing the state and will return a new promise every time)

@devnaumov devnaumov requested a review from Wroud January 13, 2025 16:08
@yagudin10 yagudin10 merged commit 7a83252 into devel Jan 14, 2025
5 of 9 checks passed
@yagudin10 yagudin10 deleted the CB-5369-transaction-log-for-commits branch January 14, 2025 18:12
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.

6 participants