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

program-test consumes some units as native #34714

Merged
merged 2 commits into from
Jan 10, 2024

Conversation

tao-stones
Copy link
Contributor

@tao-stones tao-stones commented Jan 9, 2024

Problem

All builtin programs must consume some units. Program-test should too when it is in "native" mode.

Summary of Changes

  • Program-test consume 1 unit when in native mode
  • harden a unit test wrt if builtin consumes units.

Fixes #

harden a unit test wrt if builtin consumes units;
@tao-stones tao-stones requested a review from Lichtso January 9, 2024 18:19
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (abe699b) 81.8% compared to head (e86be20) 81.8%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master   #34714     +/-   ##
=========================================
- Coverage    81.8%    81.8%   -0.1%     
=========================================
  Files         824      824             
  Lines      222715   222730     +15     
=========================================
- Hits       182311   182246     -65     
- Misses      40404    40484     +80     

@tao-stones tao-stones merged commit 88f8d11 into solana-labs:master Jan 10, 2024
34 of 35 checks passed
@tao-stones tao-stones deleted the program-test-update branch January 10, 2024 15:05
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