-
Notifications
You must be signed in to change notification settings - Fork 471
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
ledger: rename "internal" package to "eval" #4272
Conversation
I think I like this, I never understood the reasoning behind the I don't care if the meaning is perfect now, I like the simplicity of a simple package rename PR (or re-absorption into Perhaps this is the |
Hrmm ... well, |
Codecov Report
@@ Coverage Diff @@
## master #4272 +/- ##
=======================================
Coverage 55.24% 55.25%
=======================================
Files 395 395
Lines 50219 50219
=======================================
+ Hits 27744 27749 +5
Misses 20093 20093
+ Partials 2382 2377 -5
Help us with your feedback. Take ten seconds to tell us how you rate us. |
I don't feel strongly. Getting it out of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to get it off my pending list. We should definitely get this out of internal
@winder please confirm that the Indexer does not need to import and call any go-algorand package. |
@algorandskiy this is less important for Indexer today as it was in July. I think there are still good reasons to open it up. Tools like algojig might want to call these functions. |
Thanks Will. Then maybe interested parties could refresh it. |
Closing in favor of #4777 |
Summary
This will let third-party programs like indexer directly call StartEvaluator and EvaluatorOptions rather than have to place code in go-algorand to call by proxy, and should make it possible to remove evalindexer.go, as well as the
indexerLedgerForEval
andindexerLedgerConnector
implementations (some of it will move to indexer).Test Plan
Existing tests should pass — just a quick package rename.