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

Remove circular dep between InstructionError and SystemError #11427

Merged
merged 1 commit into from
Aug 6, 2020

Conversation

garious
Copy link
Contributor

@garious garious commented Aug 6, 2020

Problem

Like all programs, the system program depends on the instruction module. Awkwardly, the instruction module depends back on the system instruction module for just one error code.

Summary of Changes

Inline and remove InstructionError::new_result_with_negative_lamports().

@garious garious added the automerge Merge this Pull Request automatically once CI passes label Aug 6, 2020
@codecov
Copy link

codecov bot commented Aug 6, 2020

Codecov Report

Merging #11427 into master will increase coverage by 0.0%.
The diff coverage is 100.0%.

@@           Coverage Diff           @@
##           master   #11427   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         320      320           
  Lines       75017    75013    -4     
=======================================
+ Hits        61451    61462   +11     
+ Misses      13566    13551   -15     

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant