prysm icon indicating copy to clipboard operation
prysm copied to clipboard

Run StructFieldOrder linter & fix ExecutionPayload findings

Open jtraglia opened this issue 1 year ago • 4 comments

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

jtraglia avatar Jan 11 '24 17:01 jtraglia