feat: starknet 0.14.0 provide RECEIVED status from cache#2950
Merged
feat: starknet 0.14.0 provide RECEIVED status from cache#2950
RECEIVED status from cache#2950Conversation
Closed
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2950 +/- ##
==========================================
+ Coverage 72.19% 72.26% +0.07%
==========================================
Files 262 263 +1
Lines 28368 28496 +128
==========================================
+ Hits 20479 20593 +114
- Misses 6496 6511 +15
+ Partials 1393 1392 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
rodrodros
reviewed
Jul 3, 2025
rodrodros
approved these changes
Jul 3, 2025
rianhughes
reviewed
Jul 3, 2025
rianhughes
reviewed
Jul 3, 2025
rianhughes
reviewed
Jul 3, 2025
rianhughes
reviewed
Jul 3, 2025
Contributor
rianhughes
left a comment
There was a problem hiding this comment.
Up to my small comments the PR LGTM
158dfa8 to
9fc907e
Compare
rianhughes
approved these changes
Jul 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
As of Starknet version 0.14.0, the Feeder Gateway no longer returns the RECEIVED status.
This PR introduces an LRU cache with time-based expiration to support tracking the RECEIVED status.
Cache entries expire after their time-to-live (TTL) elapses and are considered invalid.
Expired entries are evicted first.
If all entries are still valid, eviction is based on the least-recently-used (LRU) policy.