Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Custom debug impl for LoadedPrograms cache #33808

Merged
merged 2 commits into from
Oct 22, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented Oct 21, 2023

Problem

LoadedPrograms currently clones Debug trait. But, not all information is useful for debugging. A custom impl will be more useful.

Summary of Changes

Implement debug for LoadedPrograms cache.

Fixes #

@pgarg66 pgarg66 marked this pull request as ready for review October 21, 2023 13:43
@pgarg66 pgarg66 requested a review from Lichtso October 21, 2023 13:57
@codecov
Copy link

codecov bot commented Oct 21, 2023

Codecov Report

Merging #33808 (4b0e2ff) into master (56ccffd) will decrease coverage by 0.1%.
Report is 2 commits behind head on master.
The diff coverage is 100.0%.

@@            Coverage Diff            @@
##           master   #33808     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         807      807             
  Lines      217414   217406      -8     
=========================================
- Hits       178031   178024      -7     
+ Misses      39383    39382      -1     

@pgarg66 pgarg66 requested a review from Lichtso October 21, 2023 20:49
@pgarg66 pgarg66 merged commit abf3b3e into solana-labs:master Oct 22, 2023
@pgarg66 pgarg66 deleted the debug-program-cache branch October 22, 2023 12:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants