Enhance Market Data Caching and Error Handling Infrastructure - #115
Closed
denduro wants to merge 20 commits into
Closed
Enhance Market Data Caching and Error Handling Infrastructure#115denduro wants to merge 20 commits into
denduro wants to merge 20 commits into
Conversation
denduro
marked this pull request as ready for review
June 6, 2025 23:58
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.
Enhance Market Data Caching and Error Handling Infrastructure
Description
Summary of Work
This pull request consolidates and improves the market data service infrastructure, focusing on robust caching mechanisms, comprehensive error handling, and improved type safety.
Key Objectives:
By standardizing our approach to caching and error management, we've created a more maintainable and scalable architecture that supports better performance and debugging capabilities.
Changes Made
Architectural Improvements:
Core Components Updated:
Market Data Cache:
Error Handling Middleware:
Testing Infrastructure:
Tests and Verification
Test Verification Steps:
Implemented comprehensive unit tests for MarketDataCache
Created thorough tests for custom error handling
Migrated existing tests to Jest framework
Coverage Highlights:
PRs Merged
The following pull requests have been merged:
Signatures
Staking Key
7wQHiBZZf7omN4tSiLnKF1HLWzRj8B9aE3TWL2yo5UaC: 2Sby9WKCZYcNE9adKvFeziRZZ9RWiciXqKsetJRz1rKCjBw9UMHYyeS3VLMij9QWrrpE29X11X1Ew4jncBcbVi9u9ZE1VnQB9R4W85ffeD3SBpRta6SFrz2pmRmGsaiwnMzHPAocecgMwEtn4pPzExpgB2anKnmT5C5DhtDAUSF3BrNu2LpPTFz5UZ4ZVowHymzMsMN2XsEVBXutRzMhYXs5vNXPPB7pVnp3e7xk4xzRn1P1ZpqwDmStAvQ134ypZPM34SLibqVFX8ixQXcfD5pfCon4Q5j3ys4BDViEg5afKhfz69MpPTLtWbQzghjGHNbdpHFSrST35YkGRJU7HcEWuaqFfRFkpV42mWUWVK9MBbKMNh3gyXj8S5Euy7JRawkVe4fmzKcBTc9adD8Dkcs8bK3df97J
Public Key
9VrgnmF4YSFEixpDbASNVab7GLDHtYT3SZuF65Vp8mCd: 26ZyfJspANMM5P5DDiVK7hD81nuZqDNhBZ1RrrePT4ZM4FnYTw4EmHAUnVBVfZ3R9eoqY5mjH6HEMJ41BxtnkcWkAXJ4bdXT1TuXZujnP9bWLp6TpaksUhdwJFXxFYFhcSbKNbcLzV36awHwiEnQ9okFBGQgu23ZFMpytL48JECiUvqeQrTuDbuWBv4mTiqy7bAoRuPKzFVJnWqNddkQ3i41jZvbX9sTwSZSqwAfW2u8UxB9Ru4xJLwGvpvQvPeXYZ8aCWZq8xRf6gmjPrkPgbEMJezZk2krgVVE3MoZkgWsTePJt53FBVxqxmbhLrsjtq8JHNqUxBkxpdw6BQiEjxP9FbhN4QfvjeJ3zFRvuwBWansUyz9CooAxRnUrJtfS8NHoJdzHimrLhGRiQY7GPYCyaSvtggg4