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

Use BorrowedAccount in CPI syscall. #25905

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Jun 10, 2022

Problem

Spin-off from #25899.

Summary of Changes

Replace AccountSharedData by BorrowedAccount in CPI syscall.
As all methods in BorrowedAccount always succeed this should not make a difference (for now).

@Lichtso Lichtso requested a review from jackcmay June 10, 2022 20:22
@Lichtso Lichtso force-pushed the refactor/use_borrowed_account_in_cpi_syscall branch from 7ee5094 to 65595cf Compare June 13, 2022 16:36
@codecov
Copy link

codecov bot commented Jun 13, 2022

Codecov Report

Merging #25905 (65595cf) into master (8caced6) will decrease coverage by 0.1%.
The diff coverage is 76.5%.

@@            Coverage Diff            @@
##           master   #25905     +/-   ##
=========================================
- Coverage    82.1%    82.0%   -0.2%     
=========================================
  Files         628      631      +3     
  Lines      171471   172937   +1466     
=========================================
+ Hits       140878   141887   +1009     
- Misses      30593    31050    +457     

@Lichtso Lichtso merged commit 1315788 into solana-labs:master Jun 16, 2022
@Lichtso Lichtso deleted the refactor/use_borrowed_account_in_cpi_syscall branch June 16, 2022 11:28
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