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

Remove components.NodeContext, node.nodeContext and unused test implementations #2679

Merged
merged 1 commit into from
Aug 2, 2021

Conversation

cce
Copy link
Contributor

@cce cce commented Aug 2, 2021

Summary

Spotted this dead code, and after discussing with @tsachiherman and @zeldovich, it should be fine to remove.

Test Plan

Existing tests should pass.

@tsachiherman
Copy link
Contributor

I was under the impression that it's being used by some of the rest endpoint testing, but maybe it was used in the past and no longer needed.

@cce cce requested a review from tsachiherman August 2, 2021 19:53
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.

Looks like it was used by some agreement tests at one point: https://github.com/algorand/go-algorand-archive/commit/1414aa952804858bf5a9500ac1fdffccb791deb7#

Looking at simulate.go, I wasn't able to find where this code stopped being used... it seems to have disappeared somewhere between go-algorand-archive and go-algorand... but if deleting it doesn't break any tests, lets delete it.

@tsachiherman tsachiherman merged commit 5fd3fcb into algorand:master Aug 2, 2021
@cce cce deleted the remove-node-context branch August 3, 2021 13:48
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.

3 participants