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

Adds test for programs which read from a program account #30803

Merged

Conversation

Lichtso
Copy link
Contributor

@Lichtso Lichtso commented Mar 20, 2023

Problem

We are currently missing a test to check the following use case:
A program reads data from a program account.
E.g. to verify the version or some sort of signature.

Summary of Changes

Adds test_program_reads_from_program_account().

@Lichtso Lichtso requested a review from pgarg66 March 20, 2023 19:24
@Lichtso Lichtso force-pushed the test/program_reads_from_program_account branch from 43a1f79 to df19acd Compare March 21, 2023 10:16
@codecov
Copy link

codecov bot commented Mar 21, 2023

Codecov Report

Merging #30803 (df19acd) into master (20223b2) will increase coverage by 0.0%.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #30803   +/-   ##
=======================================
  Coverage    81.3%    81.3%           
=======================================
  Files         724      724           
  Lines      202941   202941           
=======================================
+ Hits       165087   165137   +50     
+ Misses      37854    37804   -50     

@Lichtso Lichtso merged commit 473534f into solana-labs:master Mar 21, 2023
@Lichtso Lichtso deleted the test/program_reads_from_program_account branch March 21, 2023 17:12
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.

None yet

2 participants