Skip to content

feat: optimize nonce retrieval in NearClient#85

Merged
aleksuss merged 4 commits intomainfrom
add-nonce-cache
Apr 15, 2025
Merged

feat: optimize nonce retrieval in NearClient#85
aleksuss merged 4 commits intomainfrom
add-nonce-cache

Conversation

@Qjawko
Copy link
Copy Markdown
Contributor

@Qjawko Qjawko commented Apr 15, 2025

This PR adds nonce cache to near::Client.
Internally caches the nonce as to not need to query for it every time, and ending up having to run into contention with others.

@aleksuss aleksuss force-pushed the add-nonce-cache branch 2 times, most recently from 3266579 to 848c512 Compare April 15, 2025 19:57
@aleksuss aleksuss self-requested a review April 15, 2025 20:07
Copy link
Copy Markdown
Member

@aleksuss aleksuss left a comment

Choose a reason for hiding this comment

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

Nice workaround 👍🏻

@aleksuss aleksuss merged commit 8926362 into main Apr 15, 2025
11 checks passed
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.

2 participants