-
Notifications
You must be signed in to change notification settings - Fork 324
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
[state] validate system action layout #3838
Conversation
state/factory/workingset.go
Outdated
@@ -404,6 +404,40 @@ func (ws *workingSet) process(ctx context.Context, actions []action.SealedEnvelo | |||
return ws.finalize() | |||
} | |||
|
|||
func (ws *workingSet) validateSystemActionLayout(ctx context.Context, actions []action.SealedEnvelope) error { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add the purpose as the comment for the func
Codecov Report
@@ Coverage Diff @@
## master #3838 +/- ##
==========================================
+ Coverage 75.38% 75.44% +0.06%
==========================================
Files 303 303
Lines 25923 26038 +115
==========================================
+ Hits 19541 19645 +104
- Misses 5360 5371 +11
Partials 1022 1022
... and 3 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
SonarCloud Quality Gate failed. 0 Bugs No Coverage information |
Description
To avoid missing system actions in block generation, add validation of system actions when verifying received blocks.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: