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 error: add InvalidAccountOwner #33766

Conversation

buffalojoec
Copy link
Contributor

Problem

The error variant InvalidAccountOwner exists in solana_sdk::instruction::InstructionError but does not have a counterpart for solana_program::program_error::ProgramError.

Summary of Changes

Add the error variant to solana_program::program_error::ProgramError.

@codecov
Copy link

codecov bot commented Oct 19, 2023

Codecov Report

Merging #33766 (f361270) into master (0fcc0a0) will increase coverage by 0.0%.
The diff coverage is 0.0%.

@@           Coverage Diff           @@
##           master   #33766   +/-   ##
=======================================
  Coverage    81.8%    81.8%           
=======================================
  Files         806      806           
  Lines      217905   217909    +4     
=======================================
+ Hits       178278   178300   +22     
+ Misses      39627    39609   -18     

@CriesofCarrots CriesofCarrots added the v1.17 PRs that should be backported to v1.17 label Oct 19, 2023
Copy link
Contributor

@t-nelson t-nelson left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@buffalojoec buffalojoec merged commit 4cb5065 into solana-labs:master Oct 19, 2023
41 checks passed
mergify bot pushed a commit that referenced this pull request Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v1.17 PRs that should be backported to v1.17
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants