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

Deprecate is_sysvar_id function #789

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

jstarry
Copy link

@jstarry jstarry commented Apr 13, 2024

Problem

The public is_sysvar_id function uses static lists of sysvar keys and should be removed in favor of using the new ReservedAccountKeys struct.

Summary of Changes

  • Deprecated is_sysvar_id
  • Removed all uses of is_sysvar_id in ledger tool and the bigtable client

Fixes #

@jstarry jstarry force-pushed the deprecate-is-sysvar branch from b203d73 to 9683d5b Compare April 13, 2024 04:32
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 33.33333% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (09241ae) to head (9683d5b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #789   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         851      851           
  Lines      231504   231505    +1     
=======================================
+ Hits       189731   189736    +5     
+ Misses      41773    41769    -4     

Copy link

@CriesofCarrots CriesofCarrots left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jstarry jstarry merged commit 056bfce into anza-xyz:master Apr 15, 2024
48 checks passed
@jstarry jstarry deleted the deprecate-is-sysvar branch April 15, 2024 22:22
michaelschem pushed a commit to michaelschem/agave that referenced this pull request Apr 20, 2024
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.

3 participants