Skip to content

fix: Removed object provider DeepCopy when we the cache is enabled #2115

Merged
nimrod-teich merged 2 commits into
mainfrom
fix/deepcopy_issue
Nov 26, 2025
Merged

fix: Removed object provider DeepCopy when we the cache is enabled #2115
nimrod-teich merged 2 commits into
mainfrom
fix/deepcopy_issue

Conversation

@avitenzer

Copy link
Copy Markdown
Collaborator
  • Updated the caching logic in trySetRelayReplyInCache to create a snapshot of the reply data, ensuring that only necessary fields are cached and improving clarity in the code.
  • Enhanced error handling for hashing cache requests, ensuring robustness in the caching mechanism.

…e relay reply caching

- Removed the unused protocopy package from rpcprovider_server.go.
- Updated the caching logic in trySetRelayReplyInCache to create a snapshot of the reply data, ensuring that only necessary fields are cached and improving clarity in the code.
- Enhanced error handling for hashing cache requests, ensuring robustness in the caching mechanism.
@github-actions

github-actions Bot commented Nov 25, 2025

Copy link
Copy Markdown

Test Results

3 067 tests  ±0   3 066 ✅ ±0   34m 27s ⏱️ -32s
  126 suites ±0       1 💤 ±0 
    7 files   ±0       0 ❌ ±0 

Results for commit 4a20fb5. ± Comparison against base commit 048cf05.

♻️ This comment has been updated with latest results.

@nimrod-teich nimrod-teich merged commit 1bf05bc into main Nov 26, 2025
30 checks passed
@nimrod-teich nimrod-teich deleted the fix/deepcopy_issue branch November 26, 2025 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants