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

Move RewardInterval to runtime #34146

Merged
merged 1 commit into from
Nov 20, 2023
Merged

Move RewardInterval to runtime #34146

merged 1 commit into from
Nov 20, 2023

Conversation

LucasSte
Copy link
Contributor

Problem

enum RewardInterval is only used in runtime, but it is declared in accounts-db.

Summary of Changes

I moved the enum to runtime/src/bank.rs, closer to its usage.

Copy link

codecov bot commented Nov 17, 2023

Codecov Report

Merging #34146 (d27f5d2) into master (4cbd57e) will increase coverage by 0.0%.
Report is 4 commits behind head on master.
The diff coverage is 100.0%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #34146   +/-   ##
=======================================
  Coverage    81.9%    81.9%           
=======================================
  Files         818      818           
  Lines      219945   219945           
=======================================
+ Hits       180199   180204    +5     
+ Misses      39746    39741    -5     

@LucasSte LucasSte marked this pull request as ready for review November 17, 2023 16:48
@LucasSte LucasSte merged commit a367005 into solana-labs:master Nov 20, 2023
32 checks passed
@LucasSte LucasSte deleted the reward-interval branch November 20, 2023 13:17
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