Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Rc and RefCell to carry program cache in invoke_context #31684

Merged
merged 3 commits into from
May 17, 2023

Conversation

pgarg66
Copy link
Contributor

@pgarg66 pgarg66 commented May 16, 2023

Problem

InvokeContext should not require Rc and RefCell to carry program cache references.

Summary of Changes

Clean up the cache references in InvokeContext and update surrounding code.

Fixes #

@codecov
Copy link

codecov bot commented May 17, 2023

Codecov Report

Merging #31684 (042ad73) into master (d40212c) will decrease coverage by 0.1%.
The diff coverage is 98.0%.

@@            Coverage Diff            @@
##           master   #31684     +/-   ##
=========================================
- Coverage    81.9%    81.8%   -0.1%     
=========================================
  Files         737      737             
  Lines      205972   205954     -18     
=========================================
- Hits       168739   168650     -89     
- Misses      37233    37304     +71     

@pgarg66 pgarg66 marked this pull request as ready for review May 17, 2023 00:15
@pgarg66 pgarg66 requested a review from Lichtso May 17, 2023 00:15
@pgarg66 pgarg66 merged commit b034229 into solana-labs:master May 17, 2023
@pgarg66 pgarg66 deleted the simplify-cache-container branch May 17, 2023 13:11
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