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] - Syntactical validation of merged ATXs #6030

Closed
wants to merge 29 commits into from

Conversation

poszu
Copy link
Contributor

@poszu poszu commented Jun 11, 2024

Motivation

Closes #5997

Support handling merged ATXs. Only syntactical validation.

Description

Test Plan

  • unit tests
  • an E2E test that:
    • marries 2 IDs
    • publishes a merged ATX signed by ID0
    • publishes a merged ATX signed by ID1
    • executes emergency split and publishes 2 ATX, each ID seperately

TODO

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

@poszu poszu force-pushed the atx-handler-v2/syntactical-validation-merged branch from 38d3bd4 to 9d08779 Compare June 11, 2024 14:25
Copy link

codecov bot commented Jun 11, 2024

Codecov Report

Attention: Patch coverage is 84.36658% with 58 lines in your changes missing coverage. Please review.

Project coverage is 81.6%. Comparing base (9a01a6c) to head (ec6e1d5).
Report is 2 commits behind head on develop.

Files Patch % Lines
sql/migrations/state_0021_migration.go 67.7% 18 Missing and 11 partials ⚠️
activation/handler_v2.go 91.3% 6 Missing and 5 partials ⚠️
sql/atxs/atxs.go 87.0% 4 Missing and 3 partials ⚠️
activation/handler_v1.go 50.0% 3 Missing and 3 partials ⚠️
sql/identities/identities.go 90.4% 2 Missing and 2 partials ⚠️
activation/wire/challenge_v2.go 0.0% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #6030    +/-   ##
========================================
  Coverage     81.6%   81.6%            
========================================
  Files          301     302     +1     
  Lines        32260   32454   +194     
========================================
+ Hits         26328   26488   +160     
- Misses        4214    4234    +20     
- Partials      1718    1732    +14     

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

@poszu
Copy link
Contributor Author

poszu commented Jun 13, 2024

bors try

spacemesh-bors bot added a commit that referenced this pull request Jun 13, 2024
@spacemesh-bors
Copy link

try

Build failed:

activation/wire/wire_v2.go Outdated Show resolved Hide resolved
activation/handler_v2.go Show resolved Hide resolved
@poszu poszu force-pushed the atx-handler-v2/syntactical-validation-merged branch from 0a220fe to ccb7552 Compare June 19, 2024 15:35
@poszu
Copy link
Contributor Author

poszu commented Jun 20, 2024

Bors try

spacemesh-bors bot added a commit that referenced this pull request Jun 20, 2024
@spacemesh-bors
Copy link

try

Build succeeded:

activation/handler_v2.go Show resolved Hide resolved
activation/handler_v2.go Outdated Show resolved Hide resolved
activation/handler_v2.go Outdated Show resolved Hide resolved
activation/handler_v2.go Outdated Show resolved Hide resolved
activation/wire/wire_v2.go Outdated Show resolved Hide resolved
@spacemesh-bors spacemesh-bors bot changed the base branch from atx-handler-v2/marriages to develop June 20, 2024 16:16
@spacemesh-bors spacemesh-bors bot requested a review from acud as a code owner June 20, 2024 16:16
@poszu poszu force-pushed the atx-handler-v2/syntactical-validation-merged branch from d203962 to 72f8ec3 Compare June 21, 2024 08:27
@poszu
Copy link
Contributor Author

poszu commented Jun 21, 2024

bors try

spacemesh-bors bot added a commit that referenced this pull request Jun 21, 2024
@spacemesh-bors
Copy link

try

Build failed:

@poszu
Copy link
Contributor Author

poszu commented Jun 21, 2024

grpc errors...

bors try

spacemesh-bors bot added a commit that referenced this pull request Jun 21, 2024
@spacemesh-bors
Copy link

try

Build failed:

activation/e2e/atx_merge_test.go Outdated Show resolved Hide resolved
activation/e2e/atx_merge_test.go Outdated Show resolved Hide resolved
activation/e2e/atx_merge_test.go Show resolved Hide resolved
activation/e2e/atx_merge_test.go Outdated Show resolved Hide resolved
activation/e2e/atx_merge_test.go Outdated Show resolved Hide resolved
sql/atxs/atxs.go Show resolved Hide resolved
activation/handler_v2.go Show resolved Hide resolved
activation/handler_v2.go Outdated Show resolved Hide resolved
activation/handler_v2_test.go Outdated Show resolved Hide resolved
sql/migrations/state_0021_migration.go Show resolved Hide resolved
@poszu poszu requested a review from fasmat July 2, 2024 12:58
@poszu poszu force-pushed the atx-handler-v2/syntactical-validation-merged branch from e12a15b to ec6e1d5 Compare July 4, 2024 07:40
@poszu
Copy link
Contributor Author

poszu commented Jul 4, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 4, 2024
## Motivation
Closes #5997

Support handling merged ATXs. Only syntactical validation.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Jul 4, 2024

Build failed:

@poszu
Copy link
Contributor Author

poszu commented Jul 4, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 4, 2024
## Motivation
Closes #5997

Support handling merged ATXs. Only syntactical validation.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Jul 4, 2024

Build failed:

@poszu
Copy link
Contributor Author

poszu commented Jul 4, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 4, 2024
## Motivation
Closes #5997

Support handling merged ATXs. Only syntactical validation.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Jul 4, 2024

Build failed:

@poszu
Copy link
Contributor Author

poszu commented Jul 4, 2024

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Jul 4, 2024
## Motivation
Closes #5997

Support handling merged ATXs. Only syntactical validation.
@spacemesh-bors
Copy link

spacemesh-bors bot commented Jul 4, 2024

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title Syntactical validation of merged ATXs [Merged by Bors] - Syntactical validation of merged ATXs Jul 4, 2024
@spacemesh-bors spacemesh-bors bot closed this Jul 4, 2024
@spacemesh-bors spacemesh-bors bot deleted the atx-handler-v2/syntactical-validation-merged branch July 4, 2024 14:50
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.

syntactical validation of merged ATX V2
2 participants