-
Notifications
You must be signed in to change notification settings - Fork 289
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
feat: added getInflationReward method #317
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #317 +/- ##
==========================================
- Coverage 90.37% 90.20% -0.17%
==========================================
Files 34 34
Lines 2555 2562 +7
==========================================
+ Hits 2309 2311 +2
- Misses 246 251 +5 |
Can you add tests to |
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
@kevinheavey, I've added the test code but I'm unable to make it pass. Could you have a look? |
@kadern0 maybe try it with Processed commitment? |
@kevinheavey, using
And with
|
@kadern0 does it work if you sleep for a few seconds? I think the local validator perhaps hasn't confirmed any blocks by the time we call the method https://docs.rs/solana-rpc/latest/src/solana_rpc/rpc.rs.html#551 |
superseded by #413 |
Fixes #316
Signed-off-by: Pablo Caderno kaderno@gmail.com