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

martini/Update SYSVAR Constants to match JS repo #105

Merged
merged 1 commit into from
Sep 19, 2022

Conversation

Funkatronics
Copy link
Collaborator

Description

  • Update the Sysvar object to add all the Sysvar public keys

Work Completed

  • Update the Sysvar object to add all the Sysvar public keys from the JS Repo

API Changes

  • Deprecated SYSVAR_RENT_ADDRESS and replaced with SYSVAR_RENT_PUBKEY (to match JS SDK)
  • Added the following Sysvar keys:
    • SYSVAR_CLOCK_PUBKEY
    • SYSVAR_EPOCH_SCHEDULE_PUBKEY
    • SYSVAR_INSTRUCTIONS_PUBKE
    • SYSVAR_RECENT_BLOCKHASHES_PUBKEY
    • SYSVAR_RENT_PUBKEY
    • SYSVAR_REWARDS_PUBKEY
    • SYSVAR_SLOT_HASHES_PUBKEY
    • SYSVAR_SLOT_HISTORY_PUBKEY
    • SYSVAR_STAKE_HISTORY_PUBKEY

Testing

  • ran all unit tests and ensured library builds properly

@Funkatronics Funkatronics merged commit c69e54a into master Sep 19, 2022
@Funkatronics Funkatronics deleted the martini/update-sysvar-match-js branch September 19, 2022 16:20
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