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

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 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