prysm
prysm copied to clipboard
Run StructFieldOrder linter & fix ExecutionPayload findings
What type of PR is this?
Feature
What does this PR do? Why is it needed?
In #13372 I mentioned wanting to make a simple static analyzer for enforcing struct field order. Well this PR adds this to the CI linter checks. Currently, it only looks at ExecutionPayload*
structs. In the future, after all the findings have been fixed (in separate PRs) we can remove the -i
(include) arguments.
- https://github.com/prysmaticlabs/prysm/pull/13372