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

[Merged by Bors] - Remove scan malfeasant flag #6229

Closed
wants to merge 2 commits into from

Conversation

fasmat
Copy link
Member

@fasmat fasmat commented Aug 8, 2024

Motivation

This command line option was added during the last release to allow a node to scan its state during startup for the then newly introduced InvalidPreviousATX malfeasance proof.

Since then all existing ATXs that are invalid have been marked as such and all nodes check newly incoming ATXs directly for their validity. So this isn't needed any more.

Description

Remove code and tests that allows node to scan its state for invalid ATXs during startup.

Test Plan

n/a

TODO

  • Explain motivation or link existing issue(s)
  • Test changes and document test plan
  • Update documentation as needed
  • Update changelog as needed

@fasmat fasmat self-assigned this Aug 8, 2024
Copy link

codecov bot commented Aug 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.1%. Comparing base (bdb32e2) to head (8da2510).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop   #6229     +/-   ##
=========================================
- Coverage     82.1%   82.1%   -0.1%     
=========================================
  Files          309     308      -1     
  Lines        34120   34065     -55     
=========================================
- Hits         28015   27968     -47     
+ Misses        4328    4325      -3     
+ Partials      1777    1772      -5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@fasmat
Copy link
Member Author

fasmat commented Aug 8, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 8, 2024
## Motivation

This command line option was added during the last release to allow a node to scan its state during startup for the then newly introduced InvalidPreviousATX malfeasance proof.

Since then all existing ATXs that are invalid have been marked as such and all nodes check newly incoming ATXs directly for their validity. So this isn't needed any more.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Aug 8, 2024

Build failed:

@fasmat
Copy link
Member Author

fasmat commented Aug 8, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 8, 2024
## Motivation

This command line option was added during the last release to allow a node to scan its state during startup for the then newly introduced InvalidPreviousATX malfeasance proof.

Since then all existing ATXs that are invalid have been marked as such and all nodes check newly incoming ATXs directly for their validity. So this isn't needed any more.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Aug 8, 2024

Build failed:

  • systest-status

@fasmat
Copy link
Member Author

fasmat commented Aug 8, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Aug 8, 2024
## Motivation

This command line option was added during the last release to allow a node to scan its state during startup for the then newly introduced InvalidPreviousATX malfeasance proof.

Since then all existing ATXs that are invalid have been marked as such and all nodes check newly incoming ATXs directly for their validity. So this isn't needed any more.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Aug 8, 2024

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Remove scan malfeasant flag [Merged by Bors] - Remove scan malfeasant flag Aug 8, 2024
@spacemesh-bors spacemesh-bors bot closed this Aug 8, 2024
@spacemesh-bors spacemesh-bors bot deleted the remove-scanmalfeasant-flag branch August 8, 2024 12:57
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.

2 participants