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

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant