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

ledger: rename "internal" to "eval" #5236

Merged
merged 3 commits into from
Mar 29, 2023
Merged

ledger: rename "internal" to "eval" #5236

merged 3 commits into from
Mar 29, 2023

Conversation

cce
Copy link
Contributor

@cce cce commented Mar 28, 2023

Summary

Picking up from #4272 and #4777, this makes the block evaluator importable by external tools and programs.

Test Plan

Rename only, existing tests should pass.

@codecov
Copy link

codecov bot commented Mar 28, 2023

Codecov Report

Merging #5236 (b3baec0) into master (9a0f374) will decrease coverage by 0.02%.
The diff coverage is 87.50%.

@@            Coverage Diff             @@
##           master    #5236      +/-   ##
==========================================
- Coverage   53.56%   53.54%   -0.02%     
==========================================
  Files         441      441              
  Lines       55137    55137              
==========================================
- Hits        29534    29524      -10     
- Misses      23320    23326       +6     
- Partials     2283     2287       +4     
Impacted Files Coverage Δ
ledger/eval/appcow.go 74.92% <ø> (ø)
ledger/eval/applications.go 13.54% <ø> (ø)
ledger/eval/assetcow.go 0.00% <ø> (ø)
ledger/eval/cow.go 67.44% <ø> (ø)
ledger/eval/cow_creatables.go 10.86% <ø> (ø)
ledger/eval/eval.go 49.67% <ø> (ø)
ledger/eval/evalindexer.go 0.00% <ø> (ø)
ledger/eval/prefetcher/error.go 33.33% <ø> (ø)
ledger/eval/prefetcher/prefetcher.go 95.52% <ø> (ø)
ledger/tracker.go 73.75% <ø> (ø)
... and 2 more

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

winder
winder previously approved these changes Mar 28, 2023
Copy link
Contributor

@winder winder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -29,7 +29,7 @@ import (
"github.com/algorand/go-algorand/protocol"
)

//msgp: ignore storageAction
// msgp: ignore storageAction
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this space an accident?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think Goland must have done some format-before-save changes when I used the package rename refactor tool ... I can fix

Copy link
Contributor Author

@cce cce Mar 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also there was an issue that this should have been //msgp:ignore instead of //msgp: ignore even before this PR..

Eric-Warehime
Eric-Warehime previously approved these changes Mar 29, 2023
Copy link
Contributor

@Eric-Warehime Eric-Warehime left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I support this change being made.

@cce cce dismissed stale reviews from Eric-Warehime and winder via b3baec0 March 29, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants