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

build: fix shadow linter in debug tools #5442

Merged
merged 1 commit into from
Jun 2, 2023

Conversation

algorandskiy
Copy link
Contributor

Summary

The PR #5420 introduced couple linter issues that were missed by CI because the new linter (shadowing) was enabled after that PR.

Test Plan

This is a debug tool build fix.

@algorandskiy algorandskiy self-assigned this Jun 2, 2023
@algorandskiy algorandskiy changed the title build: fix shadow linter build: fix shadow linter in debug tools Jun 2, 2023
Comment on lines -398 to +391
err := followerNode.SetSyncRound(syncRound)
err = followerNode.SetSyncRound(syncRound)
Copy link
Contributor

Choose a reason for hiding this comment

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

cool! This is using the follower to copy txns into a ledger?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

used to catchup node to a specific round, and then use raw ledger to add transactions from a file/directory

Copy link
Contributor

@tzaffi tzaffi left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov
Copy link

codecov bot commented Jun 2, 2023

Codecov Report

Merging #5442 (6820803) into master (76942c4) will decrease coverage by 15.56%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #5442       +/-   ##
===========================================
- Coverage   55.41%   39.86%   -15.56%     
===========================================
  Files         447      447               
  Lines       63313    63313               
===========================================
- Hits        35086    25239     -9847     
- Misses      25841    35675     +9834     
- Partials     2386     2399       +13     

see 261 files with indirect coverage changes

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

@algorandskiy algorandskiy merged commit e249905 into algorand:master Jun 2, 2023
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