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

core/validatorapi: check proposal data against consensus one #3292

Merged
merged 6 commits into from
Oct 8, 2024

Conversation

gsora
Copy link
Collaborator

@gsora gsora commented Sep 18, 2024

Instead of blindly accepting VC proposal data, check it for integrity against what we have in DutyDB: if they differ, stop the process.

category: refactor
ticket: none

Instead of blindly accepting VC proposal data, check it for integrity against what we have in DutyDB: if they differ, stop the process.
Copy link

codecov bot commented Sep 18, 2024

Codecov Report

Attention: Patch coverage is 53.77358% with 49 lines in your changes missing coverage. Please review.

Project coverage is 57.70%. Comparing base (c835711) to head (b5ef635).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
core/validatorapi/validatorapi.go 52.42% 39 Missing and 10 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3292      +/-   ##
==========================================
+ Coverage   57.63%   57.70%   +0.06%     
==========================================
  Files         211      211              
  Lines       30480    30718     +238     
==========================================
+ Hits        17568    17726     +158     
- Misses      11016    11077      +61     
- Partials     1896     1915      +19     

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

@gsora
Copy link
Collaborator Author

gsora commented Sep 23, 2024

Tested in kurtosis, seems to be working well.

Copy link

sonarcloud bot commented Oct 3, 2024

@boulder225 boulder225 added the protocol Protocol Team tickets label Oct 8, 2024
@gsora gsora added the merge when ready Indicates bulldozer bot may merge when all checks pass label Oct 8, 2024
@obol-bulldozer obol-bulldozer bot merged commit 1bd4a56 into main Oct 8, 2024
11 of 12 checks passed
@obol-bulldozer obol-bulldozer bot deleted the gsora/vapi-check-prop-data branch October 8, 2024 13:54
pinebit pushed a commit that referenced this pull request Oct 18, 2024
Instead of blindly accepting VC proposal data, check it for integrity against what we have in DutyDB: if they differ, stop the process.

category: refactor
ticket: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass protocol Protocol Team tickets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants